Documentation
¶
Index ¶
Constants ¶
View Source
const (
ImageLoadTimeout = 30 * time.Minute
)
Variables ¶
View Source
var ClusterConfigFile []byte
View Source
var NodeImagesByVersion = map[string]string{
"1.28": "kindest/node:v1.28.0@sha256:b7a4cad12c197af3ba43202d3efe03246b3f0793f162afb40a33c923952d5b31",
"1.27": "kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72",
"1.26": "kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb",
"1.25": "kindest/node:v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8",
"1.24": "kindest/node:v1.24.15@sha256:7db4f8bea3e14b82d12e044e25e34bd53754b7f2b0e9d56df21774e6f66a70ab",
"1.23": "kindest/node:v1.23.17@sha256:59c989ff8a517a93127d4a536e7014d28e235fb3529d9fba91b3951d461edfdb",
"1.22": "kindest/node:v1.22.17@sha256:f5b2e5698c6c9d6d0adc419c0deae21a425c07d81bbf3b6a6834042f25d4fba2",
"1.21": "kindest/node:v1.21.14@sha256:8a4e9bb3f415d2bb81629ce33ef9c76ba514c14d707f9797a01e3216376ba093",
}
NodeImagesByVersion contains the list of available node images in Kind v0.20.0.
Functions ¶
This section is empty.
Types ¶
type DockerImageLoader ¶
type DockerImageLoader struct {
// contains filtered or unexported fields
}
func (DockerImageLoader) String ¶
func (l DockerImageLoader) String() string
func (DockerImageLoader) Type ¶
func (l DockerImageLoader) Type() ImageLoaderType
type ImageLoader ¶
type ImageLoader interface { fmt.Stringer Load(ctx context.Context, nodes []nodes.Node) error Type() ImageLoaderType }
func NewDockerImageLoader ¶
func NewDockerImageLoader(images []string, timeout time.Duration) (ImageLoader, error)
type ImageLoaderType ¶
type ImageLoaderType string
const (
ImageLoaderTypeDocker ImageLoaderType = "docker"
)
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *k8senvtypes.ProviderConfig, opts ...ProviderOptFn) (*Provider, error)
func (*Provider) ClusterName ¶
func (*Provider) ExportKubeConfig ¶
type ProviderOptFn ¶
ProviderOptFn defines transformer function for Provider.
func WithKindLogger ¶
func WithKindLogger(logger *logrus.Entry) ProviderOptFn
func WithLoadingImages ¶
func WithLoadingImages(images []string) ProviderOptFn
Click to show internal directories.
Click to hide internal directories.