Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KindClusterType indicates that the Kubernetes cluster was provisioned by Kind. KindClusterType clusters.Type = "kind" // EnvKeepCluster is the environment variable that can be set to "true" in order // to circumvent teardown during cleanup of clusters in order to allow a user to inspect them instead. EnvKeepCluster = "KIND_KEEP_CLUSTER" // DefaultKindDockerNetwork is the Docker network that a kind cluster uses by default. DefaultKindDockerNetwork = "kind" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct { Name string // contains filtered or unexported fields }
Builder generates clusters.Cluster objects backed by Kind given provided configuration options.
func (*Builder) Build ¶
Build creates and configures clients for a Kind-based Kubernetes clusters.Cluster.
func (*Builder) WithClusterVersion ¶
WithClusterVersion configures the Kubernetes cluster version for the Builder to use when building the Kind cluster.
Click to show internal directories.
Click to hide internal directories.