kind
No long description provided.
Installation
dagger install github.com/aweris/daggerverse/kind@c8ade31d0efbdf2abc445183840dad267e467d7d
Entrypoint
Return Type
Kind
func (m *myModule) example() *Kind {
return dag.
Kind()
}
@function
def example() -> dag.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 |
Function Kind.cli is not accessible from the kind module
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 |
Function Kind.connect is not accessible from the kind module
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 |
Function Kind.cluster is not accessible from the kind module
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 !
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 !
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 !
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 !
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 !
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 |
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 !
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 !
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