kind
No long description provided.
Installation
dagger install github.com/aweris/daggerverse/kind@a77e1a3398109f46a6d7d01cee33e59dd653a774
Entrypoint
Return Type
Kind
Example
dagger -m github.com/aweris/daggerverse/kind@a77e1a3398109f46a6d7d01cee33e59dd653a774 call \
func (m *MyModule) Example() *dagger.Kind {
return dag.
Kind()
}
@function
def example() -> dagger.Kind:
return (
dag.kind()
)
@func()
example(): Kind {
return dag
.kind()
}
Types
Kind 🔗
cli() 🔗
Cli returns a container with the kind binary installed.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dockerHost | StringKind | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/kind@a77e1a3398109f46a6d7d01cee33e59dd653a774 call \
cli
func (m *MyModule) Example() {
return dag.
Kind().
Cli()
}
@function
def example() -> :
return (
dag.kind()
.cli()
)
@func()
example(): {
return dag
.kind()
.cli()
}
connect() 🔗
Connect returns a container with the kubeconfig file mounted to be able to access the given cluster. If the cluster doesn’t exist, it returns an error.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | StringKind | - | No description provided |
dockerHost | StringKind | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/kind@a77e1a3398109f46a6d7d01cee33e59dd653a774 call \
connect
func (m *MyModule) Example() {
return dag.
Kind().
Connect()
}
@function
def example() -> :
return (
dag.kind()
.connect()
)
@func()
example(): {
return dag
.kind()
.connect()
}
cluster() 🔗
Cluster returns the cluster with the given name. If no name is given, the default name, kind, is used. If a cluster already exists with the given name, it marks the cluster as existing to avoid creating it again.
Return Type
Cluster !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | StringKind | - | No description provided |
dockerHost | StringKind | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/kind@a77e1a3398109f46a6d7d01cee33e59dd653a774 call \
cluster
func (m *MyModule) Example() {
return dag.
Kind().
Cluster()
}
@function
def example() -> :
return (
dag.kind()
.cluster()
)
@func()
example(): {
return dag
.kind()
.cluster()
}
Cluster 🔗
name() 🔗
Return Type
StringKind !
Example
Function KindCluster.Name is not accessible from the kind module
Function KindCluster.Name is not accessible from the kind module
Function KindCluster.Name is not accessible from the kind module
Function KindCluster.Name is not accessible from the kind module
network() 🔗
Return Type
StringKind !
Example
Function KindCluster.Network is not accessible from the kind module
Function KindCluster.Network is not accessible from the kind module
Function KindCluster.Network is not accessible from the kind module
Function KindCluster.Network is not accessible from the kind module
exists() 🔗
Return Type
BooleanKind !
Example
Function KindCluster.Exists is not accessible from the kind module
Function KindCluster.Exists is not accessible from the kind module
Function KindCluster.Exists is not accessible from the kind module
Function KindCluster.Exists is not accessible from the kind module
dockerHost() 🔗
Return Type
StringKind !
Example
Function KindCluster.DockerHost is not accessible from the kind module
Function KindCluster.DockerHost is not accessible from the kind module
Function KindCluster.DockerHost is not accessible from the kind module
Function KindCluster.DockerHost is not accessible from the kind module
create() 🔗
Create creates the cluster if it doesn’t already exist.
Return Type
StringKind !
Example
Function KindCluster.create is not accessible from the kind module
Function KindCluster.create is not accessible from the kind module
Function KindCluster.create is not accessible from the kind module
Function KindCluster.create is not accessible from the kind module
kubeconfig() 🔗
Kubeconfig returns the kubeconfig file for the cluster. If internal is true, the internal address is used. Otherwise, the external address is used in the kubeconfig. Internal config is useful for running kubectl commands from within other containers.
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
internal | BooleanKind | - | No description provided |
Example
Function KindCluster.kubeconfig is not accessible from the kind module
Function KindCluster.kubeconfig is not accessible from the kind module
Function KindCluster.kubeconfig is not accessible from the kind module
Function KindCluster.kubeconfig is not accessible from the kind module
logs() 🔗
Logs returns the directory containing the cluster logs.
Return Type
Directory !
Example
Function KindCluster.logs is not accessible from the kind module
Function KindCluster.logs is not accessible from the kind module
Function KindCluster.logs is not accessible from the kind module
Function KindCluster.logs is not accessible from the kind module
delete() 🔗
Delete deletes the cluster if it exists.
Return Type
StringKind !
Example
Function KindCluster.delete is not accessible from the kind module
Function KindCluster.delete is not accessible from the kind module
Function KindCluster.delete is not accessible from the kind module
Function KindCluster.delete is not accessible from the kind module