kind

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinIOBucketName = "heimdallr"
)

Variables

View Source
var KindNodeImageHash = map[string]string{
	"v1.20.2":  "8f7ea6e7642c0da54f04a7ee10431549c0257315b3a634f6ef2fecaaedb19bab",
	"v1.19.7":  "a70639454e97a4b733f9d9b67e12c01f6b0297449d5b9cbbef87473458e26dca",
	"v1.19.3":  "e1ac015e061da4b931cc4f693e22d7bc1110f031faf7b2af4c4fefac9e65565d",
	"v1.19.1":  "98cf5288864662e37115e362b23e4369c8c4a408f99cbc06e58ac30ddc721600",
	"v1.19.0":  "3b0289b2d1bab2cb9108645a006939d2f447a10ad2bb21919c332d06b548bbc6",
	"v1.18.15": "5c1b980c4d0e0e8e7eb9f36f7df525d079a96169c8a8f20d8bd108c0d0889cc4",
	"v1.18.8":  "f4bcc97a0ad6e7abaf3f643d890add7efe6ee4ab90baeb374b4f41a4c95567eb",
}

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