system

package
v1.100.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 26 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)
}

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
	// 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
}

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