Documentation
¶
Index ¶
- type Cluster
- func (k *Cluster) Create() (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 NewCluster(name string) *Cluster
func (*Cluster) CreateWithConfig ¶ added in v0.0.4
func (k *Cluster) CreateWithConfig(imageName, kindConfigFile string) (string, error)
func (*Cluster) GetKubeCtlContext ¶
func (k *Cluster) GetKubeCtlContext() string
func (*Cluster) GetKubeconfig ¶
func (k *Cluster) GetKubeconfig() string
GetKubeconfig returns the path of the kubeconfig file associated with this kind cluster
func (*Cluster) LoadDockerImage ¶ added in v0.0.5
func (k *Cluster) LoadDockerImage(image string) error
LoadDockerImage loads a docker image from the host into the kind cluster
func (*Cluster) LoadImageArchive ¶ added in v0.0.5
func (k *Cluster) LoadImageArchive(imageArchive string) error
LoadImageArchive loads a docker image TAR archive from the host into the kind cluster
func (*Cluster) WithVersion ¶
func (k *Cluster) WithVersion(ver string) *Cluster
WithVersion set kind version
Click to show internal directories.
Click to hide internal directories.