Documentation ¶
Index ¶
- Constants
- Variables
- func InstallCertManager(cfg *rest.Config, fieldManager string) error
- func InstallMinIO(cfg *rest.Config, fieldManager string) error
- type Cluster
- func (c *Cluster) Apply(f, fieldManager string) error
- func (c *Cluster) Clientset() (kubernetes.Interface, error)
- func (c *Cluster) Create(clusterVersion string, workerNum int) error
- func (c *Cluster) Delete() error
- func (c *Cluster) IsExist(name string) (bool, error)
- func (c *Cluster) KubeConfig() string
- func (c *Cluster) LoadImageFiles(images ...*ContainerImageFile) error
- func (c *Cluster) RESTConfig() (*rest.Config, error)
- func (c *Cluster) WaitReady(ctx context.Context) error
- type ContainerImageFile
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 ¶
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func NewCluster ¶
func (*Cluster) KubeConfig ¶
func (*Cluster) LoadImageFiles ¶
func (c *Cluster) LoadImageFiles(images ...*ContainerImageFile) error
type ContainerImageFile ¶
Click to show internal directories.
Click to hide internal directories.