Help us shape the future of Go! Take the 2026 Go Developer Survey

system

package
v1.154.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const ManagedResourceName = "shoot-core-system"

ManagedResourceName is the name of the ManagedResource containing the resource specifications.

Variables

View Source
var TimeoutWaitForManagedResource = 2 * time.Minute

TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	component.DeployWaiter
	SetAPIResourceList([]*metav1.APIResourceList)
	SetPodNetworkCIDRs([]net.IPNet)
	SetServiceNetworkCIDRs([]net.IPNet)
	SetNodeNetworkCIDRs([]net.IPNet)
	SetEgressCIDRs([]net.IPNet)
}

Interface is an interface for managing shoot system resources.

func New

func New(
	client client.Client,
	namespace string,
	values Values,
) Interface

New creates a new instance of DeployWaiter for shoot system resources.

type Values

type Values struct {
	// APIResourceList is the list of available API resources in the shoot cluster.
	APIResourceList []*metav1.APIResourceList
	// Extensions is the list of the extension types.
	Extensions []string
	// ExternalClusterDomain is the external domain of the cluster.
	ExternalClusterDomain *string
	// IsWorkerless specifies whether the cluster has worker nodes.
	IsWorkerless bool
	// IsSelfHosted specifies whether the cluster is self-hosted.
	IsSelfHosted bool
	// KubernetesVersion is the version of the cluster.
	KubernetesVersion *semver.Version
	// EncryptedResources is the list of resources which are encrypted by the kube-apiserver.
	EncryptedResources []string
	// Object is the shoot object.
	Object *gardencorev1beta1.Shoot
	// PodNetworkCIDRs are the CIDRs of the pod network.
	PodNetworkCIDRs []net.IPNet
	// ProjectName is the name of the project of the cluster.
	ProjectName string
	// ServiceNetworkCIDRs are the CIDRs of the service network.
	ServiceNetworkCIDRs []net.IPNet
	// NodeNetworkCIDRs are the CIDRs of the node network.
	NodeNetworkCIDRs []net.IPNet
	// EgressCIDRs are the egress CIDRs of the cluster, actual presence of this field depends on the implementation of the provider extension.
	EgressCIDRs []net.IPNet
	// RegistryCABundle is the PEM-encoded CA bundle for the container image registry. When non-nil,
	// the system component creates a ConfigMap and RBAC in kube-system namespace so that bootstrap tokens can
	// fetch the CA before pulling the gardener-node-agent image.
	RegistryCABundle *string
}

Values is a set of configuration values for the system resources.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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