Documentation ¶
Index ¶
- type Cluster
- func (k *Cluster) Create(args ...string) (string, error)
- func (k *Cluster) CreateWithConfig(imageName, kindConfigFile string) (string, error)
- func (k *Cluster) Destroy() error
- func (k *Cluster) GetKubeCtlContext() string
- func (k *Cluster) GetKubeconfig() string
- func (k *Cluster) LoadDockerImage(image string) error
- func (k *Cluster) LoadImageArchive(imageArchive string) error
- func (k *Cluster) WithVersion(ver string) *Cluster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func NewCluster ¶
func (*Cluster) CreateWithConfig ¶ added in v0.0.4
func (*Cluster) GetKubeCtlContext ¶
func (*Cluster) GetKubeconfig ¶
GetKubeconfig returns the path of the kubeconfig file associated with this kind cluster
func (*Cluster) LoadDockerImage ¶ added in v0.0.5
LoadDockerImage loads a docker image from the host into the kind cluster
func (*Cluster) LoadImageArchive ¶ added in v0.0.5
LoadImageArchive loads a docker image TAR archive from the host into the kind cluster
func (*Cluster) WithVersion ¶
WithVersion set kind version
Click to show internal directories.
Click to hide internal directories.