kind

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterExists

func ClusterExists(clusterName string) bool

ClusterExists checks if a cluster with the given name exists

func CreateCluster

func CreateCluster(clusterName string, kindOptions string) error

CreateCluster creates a new kind cluster with the given name, optional kindOptions

func DeleteCluster

func DeleteCluster(clusterName string, wait bool)

DeleteCluster deletes the kind cluster with the given name

func IsInstalled

func IsInstalled() bool

IsInstalled checks if kind is installed on the system

Types

type Kind

type Kind struct {
	// contains filtered or unexported fields
}

func New

func New(clusterName string, kindOptions string) *Kind

func (*Kind) ClusterExists

func (k *Kind) ClusterExists() bool

func (*Kind) CreateCluster

func (k *Kind) CreateCluster() error

func (*Kind) DeleteCluster

func (k *Kind) DeleteCluster(wait bool)

func (*Kind) GetName

func (k *Kind) GetName() string

func (*Kind) IsInstalled

func (k *Kind) IsInstalled() bool

Implement cluster.Provider interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL