clusters

package
v0.0.0-...-ac4ca57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLocalCluster

func CreateLocalCluster(
	provider *cluster.Provider,
	internalRegistryPort int,
	externalRegistryPort int,
) error

CreateLocalCluster creates a local kind cluster with the config from CreateLocalKindConfig.

func CreateLocalKindConfig

func CreateLocalKindConfig() bytes.Buffer

func DeleteLocalCluster

func DeleteLocalCluster(provider *cluster.Provider) error

DeleteLocalCluster removes a local kind cluster.

Types

type ExtraMount

type ExtraMount struct {
	HostPath      string
	ContainerPath string
	ReadOnly      bool
}

Define the ExtraMount struct.

type WorkerNodes

type WorkerNodes []struct {
	ExtraMounts []ExtraMount
}

Define the WorkerNode struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL