kubectl
No long description provided.
Installation
dagger install github.com/aweris/daggerverse/kubectl@a77e1a3398109f46a6d7d01cee33e59dd653a774Entrypoint
Return Type
KubectlExample
dagger -m github.com/aweris/daggerverse/kubectl@a77e1a3398109f46a6d7d01cee33e59dd653a774 call \
func (m *MyModule) Example() *dagger.Kubectl  {
	return dag.
			Kubectl()
}@function
def example() -> dagger.Kubectl:
	return (
		dag.kubectl()
	)@func()
example(): Kubectl {
	return dag
		.kubectl()
}Types
Kubectl 🔗
cli() 🔗
Cli returns a kubectl cli with the given config.
Return Type
Cli !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| config | File ! | - | No description provided | 
Example
dagger -m github.com/aweris/daggerverse/kubectl@a77e1a3398109f46a6d7d01cee33e59dd653a774 call \
 clifunc (m *MyModule) Example(config )   {
	return dag.
			Kubectl().
			Cli(config)
}@function
def example(config: ) -> :
	return (
		dag.kubectl()
		.cli(config)
	)@func()
example(config: ):  {
	return dag
		.kubectl()
		.cli(config)
}Cli 🔗
config() 🔗
Return Type
File !Example
Function KubectlCli.Config is not accessible from the kubectl moduleFunction KubectlCli.Config is not accessible from the kubectl moduleFunction KubectlCli.Config is not accessible from the kubectl moduleFunction KubectlCli.Config is not accessible from the kubectl moduleexec() 🔗
Exec executes the given kubectl command and returns the stdout.
Return Type
StringKind !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| args | [StringKind ! ] ! | - | No description provided | 
Example
Function KubectlCli.exec is not accessible from the kubectl moduleFunction KubectlCli.exec is not accessible from the kubectl moduleFunction KubectlCli.exec is not accessible from the kubectl moduleFunction KubectlCli.exec is not accessible from the kubectl modulecontainer() 🔗
Container returns a container with the kubectl image and given config. The entrypoint is set to kubectl.
Return Type
Container !Example
Function KubectlCli.container is not accessible from the kubectl moduleFunction KubectlCli.container is not accessible from the kubectl moduleFunction KubectlCli.container is not accessible from the kubectl moduleFunction KubectlCli.container is not accessible from the kubectl module