Dagger
Search

flux

No long description provided.

Installation

dagger install github.com/Smana/daggerverse/flux@537109a4b30bea16ef78a98dc484865471a8e297

Entrypoint

Return Type
Flux !
Arguments
NameTypeDescription
basedirDirectory Base directory to walk through in order to validate Kubernetes manifests.
kubeconformVersionString Kubeconform version to use for validation.
Example
dagger -m github.com/Smana/daggerverse/flux@537109a4b30bea16ef78a98dc484865471a8e297 call \
func (m *myModule) example() *Flux  {
	return dag.
			Flux()
}
@function
def example() -> dag.Flux:
	return (
		dag.flux()
	)
@func()
example(): Flux {
	return dag
		.flux()
}

Types

Flux 🔗

basedir() 🔗

Base directory to walk through in order to validate Kubernetes manifests.

Return Type
Directory !
Example
dagger -m github.com/Smana/daggerverse/flux@537109a4b30bea16ef78a98dc484865471a8e297 call \
 basedir
func (m *myModule) example() *Directory  {
	return dag.
			Flux().
			Basedir()
}
@function
def example() -> dagger.Directory:
	return (
		dag.flux()
		.basedir()
	)
@func()
example(): Directory {
	return dag
		.flux()
		.basedir()
}

kubeconformVersion() 🔗

Kubeconform version to use for validation.

Return Type
String !
Example
dagger -m github.com/Smana/daggerverse/flux@537109a4b30bea16ef78a98dc484865471a8e297 call \
 kubeconform-version
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Flux().
			KubeconformVersion(ctx)
}
@function
async def example() -> str:
	return await (
		dag.flux()
		.kubeconform_version()
	)
@func()
async example(): Promise<string> {
	return dag
		.flux()
		.kubeconformVersion()
}

validate() 🔗

Walk through a given directory and check that the manifests are valid

Return Type
String !
Arguments
NameTypeDefault ValueDescription
kubeconformVersionString "v0.6.4"No description provided
basedirDirectory !-No description provided
Example
dagger -m github.com/Smana/daggerverse/flux@537109a4b30bea16ef78a98dc484865471a8e297 call \
 validate --basedir DIR_PATH
func (m *myModule) example(ctx context.Context, basedir *Directory) string  {
	return dag.
			Flux().
			Validate(ctxbasedir)
}
@function
async def example(basedir: dagger.Directory) -> str:
	return await (
		dag.flux()
		.validate(basedir)
	)
@func()
async example(basedir: Directory): Promise<string> {
	return dag
		.flux()
		.validate(basedir)
}