kind

package
v0.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinIOBucketName = "heimdallr"
)

Variables

View Source
var NodeImageHash = map[string]string{
	"v1.22.0":  "b8bda84bb3a190e6e028b1760d277454a72267a5454b57db34437c34a588d047",
	"v1.21.1":  "69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6",
	"v1.20.7":  "cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9",
	"v1.19.11": "07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729",
}

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