kind

package
v0.11.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinIOBucketName = "heimdallr"
)

Variables

View Source
var KindNodeImageHash = map[string]string{
	"v1.19.3":  "e1ac015e061da4b931cc4f693e22d7bc1110f031faf7b2af4c4fefac9e65565d",
	"v1.19.1":  "98cf5288864662e37115e362b23e4369c8c4a408f99cbc06e58ac30ddc721600",
	"v1.19.0":  "3b0289b2d1bab2cb9108645a006939d2f447a10ad2bb21919c332d06b548bbc6",
	"v1.18.8":  "f4bcc97a0ad6e7abaf3f643d890add7efe6ee4ab90baeb374b4f41a4c95567eb",
	"v1.17.11": "5240a7a2c34bf241afb54ac05669f8a46661912eab05705d660971eeb12f6555",
}

Functions

func InstallCertManager

func InstallCertManager(cfg *rest.Config, fieldManager string) error

func InstallMinIO

func InstallMinIO(cfg *rest.Config, fieldManager string) error

Types

type Cluster

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

func NewCluster

func NewCluster(kind, name, kubeConfig string) (*Cluster, error)

func (*Cluster) Apply

func (c *Cluster) Apply(f, fieldManager string) error

func (*Cluster) Clientset

func (c *Cluster) Clientset() (kubernetes.Interface, error)

func (*Cluster) Create

func (c *Cluster) Create(clusterVersion string, workerNum int) error

func (*Cluster) Delete

func (c *Cluster) Delete() error

func (*Cluster) IsExist

func (c *Cluster) IsExist(name string) (bool, error)

func (*Cluster) KubeConfig

func (c *Cluster) KubeConfig() string

func (*Cluster) LoadImageFiles

func (c *Cluster) LoadImageFiles(images ...*ContainerImageFile) error

func (*Cluster) RESTConfig

func (c *Cluster) RESTConfig() (*rest.Config, error)

func (*Cluster) WaitReady

func (c *Cluster) WaitReady(ctx context.Context) error

type ContainerImageFile

type ContainerImageFile struct {
	File       string
	Repository string
	Tag        string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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