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 NodeImageHash = map[string]string{
"v1.22.0": "b8bda84bb3a190e6e028b1760d277454a72267a5454b57db34437c34a588d047",
"v1.21.1": "69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6",
"v1.20.7": "cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9",
"v1.19.11": "07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729",
}
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.