kubernetes

package
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrCreateNodePools is returned when an error occurs during the creation of the desired nodepools.
	ErrCreateNodePools = errors.New("failed to create desired nodepools")
)

Functions

This section is empty.

Types

type K8Scluster

type K8Scluster struct {
	ProjectName string

	DesiredState *spec.K8Scluster
	CurrentState *spec.K8Scluster

	// Signals whether to export port 6443 on the
	// control plane nodes of the cluster.
	// This value is passed down when generating
	// the terraform templates.
	ExportPort6443 bool

	// SpawnProcessLimit limits the number of spawned tofu processes.
	SpawnProcessLimit *semaphore.Weighted
}

func (*K8Scluster) Build

func (k *K8Scluster) Build(logger zerolog.Logger) error

func (*K8Scluster) Destroy

func (k *K8Scluster) Destroy(logger zerolog.Logger) error

func (*K8Scluster) Id

func (k *K8Scluster) Id() string

func (*K8Scluster) UpdateCurrentState added in v0.4.0

func (k *K8Scluster) UpdateCurrentState()

Jump to

Keyboard shortcuts

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