Dagger
Search

redis

No long description provided.

Installation

dagger install github.com/quartz-technology/daggerverse/redis@v0.0.1

Entrypoint

Return Type
Redis
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
func (m *myModule) example() *Redis  {
	return dag.
			Redis()
}
@function
def example() -> dag.Redis:
	return (
		dag.redis()
	)
@func()
example(): Redis {
	return dag
		.redis()
}

Types

Redis 🔗

port() 🔗

Return Type
Integer !
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 port
func (m *myModule) example(ctx context.Context) int  {
	return dag.
			Redis().
			Port(ctx)
}
@function
async def example() -> int:
	return await (
		dag.redis()
		.port()
	)
@func()
async example(): Promise<number> {
	return dag
		.redis()
		.port()
}

version() 🔗

Return Type
String !
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 version
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Redis().
			Version(ctx)
}
@function
async def example() -> str:
	return await (
		dag.redis()
		.version()
	)
@func()
async example(): Promise<string> {
	return dag
		.redis()
		.version()
}

password() 🔗

Return Type
Secret !
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 password
func (m *myModule) example() *Secret  {
	return dag.
			Redis().
			Password()
}
@function
def example() -> dagger.Secret:
	return (
		dag.redis()
		.password()
	)
@func()
example(): Secret {
	return dag
		.redis()
		.password()
}

server() 🔗

Return Type
Container !
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 server
func (m *myModule) example() *Container  {
	return dag.
			Redis().
			Server()
}
@function
def example() -> dagger.Container:
	return (
		dag.redis()
		.server()
	)
@func()
example(): Container {
	return dag
		.redis()
		.server()
}

withPort() 🔗

Return Type
Redis !
Arguments
NameTypeDefault ValueDescription
portInteger !-No description provided
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 with-port --port integer
func (m *myModule) example(port int) *Redis  {
	return dag.
			Redis().
			WithPort(port)
}
@function
def example(port: int) -> dag.Redis:
	return (
		dag.redis()
		.with_port(port)
	)
@func()
example(port: number): Redis {
	return dag
		.redis()
		.withPort(port)
}

withVersion() 🔗

Return Type
Redis !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 with-version --version string
func (m *myModule) example(version string) *Redis  {
	return dag.
			Redis().
			WithVersion(version)
}
@function
def example(version: str) -> dag.Redis:
	return (
		dag.redis()
		.with_version(version)
	)
@func()
example(version: string): Redis {
	return dag
		.redis()
		.withVersion(version)
}

withPassword() 🔗

Return Type
Redis !
Arguments
NameTypeDefault ValueDescription
passwordSecret !-No description provided
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 with-password --password env:MYSECRET
func (m *myModule) example(password *Secret) *Redis  {
	return dag.
			Redis().
			WithPassword(password)
}
@function
def example(password: dagger.Secret) -> dag.Redis:
	return (
		dag.redis()
		.with_password(password)
	)
@func()
example(password: Secret): Redis {
	return dag
		.redis()
		.withPassword(password)
}

cli() 🔗

Return Type
Cli !
Arguments
NameTypeDefault ValueDescription
serverService !-No description provided
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 cli --server PROTOCOL://HOST:PORT
func (m *myModule) example(server *Service) *RedisCli  {
	return dag.
			Redis().
			Cli(server)
}
@function
def example(server: dagger.Service) -> dag.RedisCli:
	return (
		dag.redis()
		.cli(server)
	)
@func()
example(server: Service): RedisCli {
	return dag
		.redis()
		.cli(server)
}

Cli 🔗

ctr() 🔗

Return Type
Container !
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 cli --server PROTOCOL://HOST:PORT \
 ctr
func (m *myModule) example(server *Service) *Container  {
	return dag.
			Redis().
			Cli(server).
			Ctr()
}
@function
def example(server: dagger.Service) -> dagger.Container:
	return (
		dag.redis()
		.cli(server)
		.ctr()
	)
@func()
example(server: Service): Container {
	return dag
		.redis()
		.cli(server)
		.ctr()
}

container() 🔗

Return Type
Container !
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 cli --server PROTOCOL://HOST:PORT \
 container
func (m *myModule) example(server *Service) *Container  {
	return dag.
			Redis().
			Cli(server).
			Container()
}
@function
def example(server: dagger.Service) -> dagger.Container:
	return (
		dag.redis()
		.cli(server)
		.container()
	)
@func()
example(server: Service): Container {
	return dag
		.redis()
		.cli(server)
		.container()
}

set() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
keyString !-No description provided
valueString !-No description provided
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 cli --server PROTOCOL://HOST:PORT \
 set --key string --value string
func (m *myModule) example(server *Service, key string, value string) *Container  {
	return dag.
			Redis().
			Cli(server).
			Set(key, value)
}
@function
def example(server: dagger.Service, key: str, value: str) -> dagger.Container:
	return (
		dag.redis()
		.cli(server)
		.set(key, value)
	)
@func()
example(server: Service, key: string, value: string): Container {
	return dag
		.redis()
		.cli(server)
		.set(key, value)
}

get() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
keyString !-No description provided
Example
dagger -m github.com/quartz-technology/daggerverse/redis@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
 cli --server PROTOCOL://HOST:PORT \
 get --key string
func (m *myModule) example(ctx context.Context, server *Service, key string) string  {
	return dag.
			Redis().
			Cli(server).
			Get(ctx, key)
}
@function
async def example(server: dagger.Service, key: str) -> str:
	return await (
		dag.redis()
		.cli(server)
		.get(key)
	)
@func()
async example(server: Service, key: string): Promise<string> {
	return dag
		.redis()
		.cli(server)
		.get(key)
}