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.26.0": "691e24bd2417609db7e589e1a479b902d2e209892a10ce375fab60a8407c7352",
"v1.25.3": "f52781bc0d7a19fb6c405c2af83abfeb311f130707a0e219175677e366cc45d1",
"v1.25.2": "9be91e9e9cdf116809841fc77ebdb8845443c4c72fe5218f3ae9eb57fdb4bace",
"v1.24.7": "577c630ce8e509131eab1aea12c022190978dd2f745aac5eb1fe65c0807eb315",
"v1.24.6": "97e8d00bc37a7598a0b32d1fabd155a96355c49fa0d4d4790aab0f161bf31be1",
"v1.23.13": "ef453bb7c79f0e3caba88d2067d4196f427794086a7d0df8df4f019d5e336b61",
"v1.23.12": "9402cf1330bbd3a0d097d2033fa489b2abe40d479cc5ef47d0b6a6960613148a",
"v1.22.15": "7d9708c4b0873f0fe2e171e2b1b7f45ae89482617778c1c875f1053d4cef2e41",
"v1.22.0": "b8bda84bb3a190e6e028b1760d277454a72267a5454b57db34437c34a588d047",
"v1.21.14": "9d9eb5fb26b4fbc0c6d95fa8c790414f9750dd583f5d7cee45d92e8c26670aa1",
"v1.21.1": "69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6",
"v1.20.15": "a32bf55309294120616886b5338f95dd98a2f7231519c7dedcec32ba29699394",
"v1.20.7": "cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9",
"v1.19.16": "476cb3269232888437b61deca013832fee41f9f074f9bed79f57e4280f7c48b7",
"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.