kind

package
v0.8.0-nightly.20241023 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	// contains filtered or unexported fields
}

func NewCluster

func NewCluster(name, kubeVersion, kubeConfigPath, kindConfigPath, extraPortsMapping string, cfg v1alpha1.BuildCustomizationSpec) (*Cluster, error)

func (*Cluster) Exists

func (c *Cluster) Exists() (bool, error)

func (*Cluster) ExportKubeConfig

func (c *Cluster) ExportKubeConfig(name string, internal bool) error

func (*Cluster) Reconcile

func (c *Cluster) Reconcile(ctx context.Context, recreate bool) error

func (*Cluster) RunsOnRightPort added in v0.3.0

func (c *Cluster) RunsOnRightPort(ctx context.Context) (bool, error)

type IProvider added in v0.3.0

type IProvider interface {
	List() ([]string, error)
	ListNodes(string) ([]nodes.Node, error)
	CollectLogs(string, string) error
	Delete(string, string) error
	Create(string, ...cluster.CreateOption) error
	ExportKubeConfig(string, string, bool) error
}

type PortMapping added in v0.1.0

type PortMapping struct {
	HostPort      string
	ContainerPort string
}

type TemplateConfig added in v0.3.0

type TemplateConfig struct {
	v1alpha1.BuildCustomizationSpec
	KubernetesVersion string
	ExtraPortsMapping []PortMapping
}

Jump to

Keyboard shortcuts

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