Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KindK8sVersions map[string]kindK8SImages = map[string]kindK8SImages{
"v1.32": {"v0.27.0", "kindest/node:v1.32.2@sha256:f226345927d7e348497136874b6d207e0b32cc52154ad8323129352923a3142f"},
"v1.31": {"v0.27.0", "kindest/node:v1.31.6@sha256:28b7cbb993dfe093c76641a0c95807637213c9109b761f1d422c2400e22b8e87"},
"v1.30": {"v0.27.0", "kindest/node:v1.30.10@sha256:4de75d0e82481ea846c0ed1de86328d821c1e6a6a91ac37bf804e5313670e507"},
"v1.29": {"v0.27.0", "kindest/node:v1.29.14@sha256:8703bd94ee24e51b778d5556ae310c6c0fa67d761fae6379c8e0bb480e6fea29"},
}
Functions ¶
func Create ¶
func Create(ctx *maptContext.ContextArgs, args *KindArgs) error
Create orchestrate 3 stacks: If spot is enable it will run best spot option to get the best option to spin the machine Then it will run the stack for windows dedicated host
func Destroy ¶
func Destroy(ctx *maptContext.ContextArgs) (err error)
Will destroy resources related to machine
Types ¶
type KindArgs ¶
type KindArgs struct {
Prefix string
InstanceRequest instancetypes.InstanceRequest
Version string
Arch string
Spot bool
Timeout string
}
Click to show internal directories.
Click to hide internal directories.