Dagger
Search

redhat

No long description provided.

Installation

dagger install github.com/camptocamp/daggerverse/redhat@fe405b734b42c18543b3e22f4dc11ced1dd23896

Entrypoint

Return Type
Redhat
Example
func (m *myModule) example() *Redhat  {
	return dag.
			Redhat()
}
@function
def example() -> dag.Redhat:
	return (
		dag.redhat()
	)
@func()
example(): Redhat {
	return dag
		.redhat()
}

Types

Redhat 🔗

container() 🔗

Return Type
Container !
Example
dagger -m github.com/camptocamp/daggerverse/redhat@fe405b734b42c18543b3e22f4dc11ced1dd23896 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Redhat().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.redhat()
		.container()
	)
@func()
example(): Container {
	return dag
		.redhat()
		.container()
}

module() 🔗

Return Type
RedHatModule !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
Example
dagger -m github.com/camptocamp/daggerverse/redhat@fe405b734b42c18543b3e22f4dc11ced1dd23896 call \
 module --name string \
 enabled --container IMAGE:TAG
func (m *myModule) example(name string) *RedhatRedHatModule  {
	return dag.
			Redhat().
			Module(name)
}
@function
def example(name: str) -> dag.RedhatRedHatModule:
	return (
		dag.redhat()
		.module(name)
	)
@func()
example(name: string): RedhatRedHatModule {
	return dag
		.redhat()
		.module(name)
}

packages() 🔗

Return Type
RedHatPackages !
Arguments
NameTypeDefault ValueDescription
names[String ! ] !-No description provided
Example
dagger -m github.com/camptocamp/daggerverse/redhat@fe405b734b42c18543b3e22f4dc11ced1dd23896 call \
 packages --names string1 --names string2 \
 installed --container IMAGE:TAG
func (m *myModule) example(names []string) *RedhatRedHatPackages  {
	return dag.
			Redhat().
			Packages(names)
}
@function
def example(names: List[str]) -> dag.RedhatRedHatPackages:
	return (
		dag.redhat()
		.packages(names)
	)
@func()
example(names: string[]): RedhatRedHatPackages {
	return dag
		.redhat()
		.packages(names)
}

RedHatModule 🔗

name() 🔗

Return Type
String !
Example
dagger -m github.com/camptocamp/daggerverse/redhat@fe405b734b42c18543b3e22f4dc11ced1dd23896 call \
 module --name string \
 name
func (m *myModule) example(ctx context.Context, name string) string  {
	return dag.
			Redhat().
			Module(name).
			Name(ctx)
}
@function
async def example(name: str) -> str:
	return await (
		dag.redhat()
		.module(name)
		.name()
	)
@func()
async example(name: string): Promise<string> {
	return dag
		.redhat()
		.module(name)
		.name()
}

enabled() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/camptocamp/daggerverse/redhat@fe405b734b42c18543b3e22f4dc11ced1dd23896 call \
 module --name string \
 enabled --container IMAGE:TAG
func (m *myModule) example(name string, container *Container) *Container  {
	return dag.
			Redhat().
			Module(name).
			Enabled(container)
}
@function
def example(name: str, container: dagger.Container) -> dagger.Container:
	return (
		dag.redhat()
		.module(name)
		.enabled(container)
	)
@func()
example(name: string, container: Container): Container {
	return dag
		.redhat()
		.module(name)
		.enabled(container)
}

RedHatPackages 🔗

names() 🔗

Return Type
[String ! ] !
Example
dagger -m github.com/camptocamp/daggerverse/redhat@fe405b734b42c18543b3e22f4dc11ced1dd23896 call \
 packages --names string1 --names string2 \
 names
func (m *myModule) example(ctx context.Context, names []string) []string  {
	return dag.
			Redhat().
			Packages(names).
			Names(ctx)
}
@function
async def example(names: List[str]) -> List[str]:
	return await (
		dag.redhat()
		.packages(names)
		.names()
	)
@func()
async example(names: string[]): Promise<string[]> {
	return dag
		.redhat()
		.packages(names)
		.names()
}

installed() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/camptocamp/daggerverse/redhat@fe405b734b42c18543b3e22f4dc11ced1dd23896 call \
 packages --names string1 --names string2 \
 installed --container IMAGE:TAG
func (m *myModule) example(names []string, container *Container) *Container  {
	return dag.
			Redhat().
			Packages(names).
			Installed(container)
}
@function
def example(names: List[str], container: dagger.Container) -> dagger.Container:
	return (
		dag.redhat()
		.packages(names)
		.installed(container)
	)
@func()
example(names: string[], container: Container): Container {
	return dag
		.redhat()
		.packages(names)
		.installed(container)
}