Documentation ¶
Index ¶
- Variables
- type Cluster
- func (c *Cluster) Apply(f, fieldManager string) error
- func (c *Cluster) Clientset() (kubernetes.Interface, error)
- func (c *Cluster) Create(ctx context.Context, clusterVersion string, workerNum int) error
- func (c *Cluster) Delete(ctx context.Context) error
- func (c *Cluster) IsExist(ctx context.Context, name string) (bool, error)
- func (c *Cluster) KubeConfig() string
- func (c *Cluster) LoadImageFiles(ctx context.Context, images ...*ContainerImageFile) error
- func (c *Cluster) RESTConfig() (*rest.Config, error)
- func (c *Cluster) WaitReady(ctx context.Context) error
- type ContainerImageFile
Constants ¶
This section is empty.
Variables ¶
View Source
var NodeImageHash = map[string]string{
"v1.31.0": "53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865",
"v1.30.4": "976ea815844d5fa93be213437e3ff5754cd599b040946b5cca43ca45c2047114",
"v1.30.3": "bf91e1ef2f7d92bb7734b2b896b3dddea98f0496b34d96e37dd5d7df331b7e56",
"v1.30.0": "047357ac0cfea04663786a612ba1eaba9702bef25227a794b52890dd8bcd692e",
"v1.29.8": "d46b7aa29567e93b27f7531d258c372e829d7224b25e3fc6ffdefed12476d3aa",
"v1.29.7": "f70ab5d833fca132a100c1f95490be25d76188b053f49a3c0047ff8812360baf",
"v1.29.4": "3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8",
"v1.29.2": "51a1434a5397193442f0be2a297b488b6c919ce8a3931be0ce822606ea5ca245",
"v1.29.1": "a0cc28af37cf39b019e2b448c54d1a3f789de32536cb5a5db61a49623e527144",
"v1.28.13": "45d319897776e11167e4698f6b14938eb4d52eb381d9e3d7a9086c16c69a8110",
"v1.28.12": "fa0e48b1e83bb8688a5724aa7eebffbd6337abd7909ad089a2700bf08c30c6ea",
"v1.28.9": "dca54bc6a6079dd34699d53d7d4ffa2e853e46a20cd12d619a09207e35300bd0",
"v1.28.7": "9bc6c451a289cf96ad0bbaf33d416901de6fd632415b076ab05f5fa7e4f65c58",
"v1.28.6": "b7e1cf6b2b729f604133c667a6be8aab6f4dde5bb042c1891ae248d9154f665b",
"v1.27.16": "3fd82731af34efe19cd54ea5c25e882985bafa2c9baefe14f8deab1737d9fabe",
"v1.27.13": "17439fa5b32290e3ead39ead1250dca1d822d94a10d26f1981756cd51b24b9d8",
"v1.27.11": "681253009e68069b8e01aad36a1e0fa8cf18bb0ab3e5c4069b2e65cafdd70843",
"v1.27.10": "3700c811144e24a6c6181065265f69b9bf0b437c45741017182d7c82b908918f",
"v1.27.3": "3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72",
"v1.27.1": "9915f5629ef4d29f35b478e819249e89cfaffcbfeebda4324e5c01d53d937b09",
"v1.27.0": "c6b22e613523b1af67d4bc8a0c38a4c3ea3a2b8fbc5b367ae36345c9cb844518",
"v1.26.15": "1cc15d7b1edd2126ef051e359bf864f37bbcf1568e61be4d2ed1df7a3e87b354",
"v1.26.14": "5d548739ddef37b9318c70cb977f57bf3e5015e4552be4e27e57280a8cbb8e4f",
"v1.26.13": "15ae92d507b7d4aec6e8920d358fc63d3b980493db191d7327541fbaaed1f789",
"v1.26.6": "6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb",
"v1.26.3": "61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f",
"v1.26.0": "691e24bd2417609db7e589e1a479b902d2e209892a10ce375fab60a8407c7352",
"v1.25.16": "6110314339b3b44d10da7d27881849a87e092124afab5956f2e10ecdb463b025",
"v1.25.11": "227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8",
"v1.25.8": "00d3f5314cc35327706776e95b2f8e504198ce59ac545d0200a89e69fce10b7f",
"v1.25.3": "f52781bc0d7a19fb6c405c2af83abfeb311f130707a0e219175677e366cc45d1",
"v1.25.2": "9be91e9e9cdf116809841fc77ebdb8845443c4c72fe5218f3ae9eb57fdb4bace",
"v1.24.17": "ea292d57ec5dd0e2f3f5a2d77efa246ac883c051ff80e887109fabefbd3125c7",
"v1.24.7": "577c630ce8e509131eab1aea12c022190978dd2f745aac5eb1fe65c0807eb315",
"v1.24.6": "97e8d00bc37a7598a0b32d1fabd155a96355c49fa0d4d4790aab0f161bf31be1",
"v1.24.0": "0866296e693efe1fed79d5e6c7af8df71fc73ae45e3679af05342239cdc5bc8e",
"v1.23.17": "fbb92ac580fce498473762419df27fa8664dbaa1c5a361b5957e123b4035bdcf",
"v1.23.13": "ef453bb7c79f0e3caba88d2067d4196f427794086a7d0df8df4f019d5e336b61",
"v1.23.12": "9402cf1330bbd3a0d097d2033fa489b2abe40d479cc5ef47d0b6a6960613148a",
"v1.23.6": "b1fa224cc6c7ff32455e0b1fd9cbfd3d3bc87ecaa8fcb06961ed1afb3db0f9ae",
"v1.23.4": "0e34f0d0fd448aa2f2819cfd74e99fe5793a6e4938b328f657c8e3f81ee0dfb9",
"v1.23.0": "49824ab1727c04e56a21a5d8372a402fcd32ea51ac96a2706a12af38934f81ac",
"v1.22.15": "7d9708c4b0873f0fe2e171e2b1b7f45ae89482617778c1c875f1053d4cef2e41",
"v1.22.9": "8135260b959dfe320206eb36b3aeda9cffcb262f4b44cda6b33f7bb73f453105",
"v1.22.7": "1dfd72d193bf7da64765fd2f2898f78663b9ba366c2aa74be1fd7498a1873166",
"v1.22.0": "b8bda84bb3a190e6e028b1760d277454a72267a5454b57db34437c34a588d047",
"v1.21.14": "9d9eb5fb26b4fbc0c6d95fa8c790414f9750dd583f5d7cee45d92e8c26670aa1",
"v1.21.10": "84709f09756ba4f863769bdcabe5edafc2ada72d3c8c44d6515fc581b66b029c",
"v1.21.1": "69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6",
"v1.20.15": "a32bf55309294120616886b5338f95dd98a2f7231519c7dedcec32ba29699394",
"v1.20.7": "cbeaf907fc78ac97ce7b625e4bf0de16e3ea725daf6b04f930bd14c67c671ff9",
"v1.20.2": "8f7ea6e7642c0da54f04a7ee10431549c0257315b3a634f6ef2fecaaedb19bab",
"v1.19.16": "476cb3269232888437b61deca013832fee41f9f074f9bed79f57e4280f7c48b7",
"v1.19.11": "07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729",
"v1.19.7": "a70639454e97a4b733f9d9b67e12c01f6b0297449d5b9cbbef87473458e26dca",
"v1.19.3": "e1ac015e061da4b931cc4f693e22d7bc1110f031faf7b2af4c4fefac9e65565d",
"v1.19.1": "98cf5288864662e37115e362b23e4369c8c4a408f99cbc06e58ac30ddc721600",
"v1.19.0": "3b0289b2d1bab2cb9108645a006939d2f447a10ad2bb21919c332d06b548bbc6",
"v1.18.20": "e3dca5e16116d11363e31639640042a9b1bd2c90f85717a7fc66be34089a8169",
"v1.18.19": "7af1492e19b3192a79f606e43c35fb741e520d195f96399284515f077b3b622c",
"v1.18.15": "5c1b980c4d0e0e8e7eb9f36f7df525d079a96169c8a8f20d8bd108c0d0889cc4",
"v1.18.8": "f4bcc97a0ad6e7abaf3f643d890add7efe6ee4ab90baeb374b4f41a4c95567eb",
}
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func NewCluster ¶
func (*Cluster) KubeConfig ¶
func (*Cluster) LoadImageFiles ¶
func (c *Cluster) LoadImageFiles(ctx context.Context, images ...*ContainerImageFile) error
type ContainerImageFile ¶
Click to show internal directories.
Click to hide internal directories.