core

package
v0.27.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// GardenerSeedLeaseNamespace is the namespace in which Gardenlet will report Seeds'
	// status using Lease resources for each Seed
	GardenerSeedLeaseNamespace = "gardener-system-seed-lease"
)

Variables

This section is empty.

Functions

func IsIPv4SingleStack

func IsIPv4SingleStack(ipFamilies []IPFamily) bool

IsIPv4SingleStack determines whether the given list of IP families specifies IPv4 single-stack networking.

func IsIPv6SingleStack

func IsIPv6SingleStack(ipFamilies []IPFamily) bool

IsIPv6SingleStack determines whether the given list of IP families specifies IPv6 single-stack networking.

Types

type AccessRestriction

type AccessRestriction struct {
	// Name is the name of the restriction.
	Name string
}

AccessRestriction describes an access restriction for a Kubernetes cluster (e.g., EU access-only).

type AccessRestrictionWithOptions

type AccessRestrictionWithOptions struct {
	AccessRestriction
	// Options is a map of additional options for the access restriction.
	// +optional
	Options map[string]string
}

AccessRestrictionWithOptions describes an access restriction for a Kubernetes cluster (e.g., EU access-only) and allows to specify additional options.

type IPFamily

type IPFamily string

IPFamily is a type for specifying an IP protocol version to use in Gardener clusters.

const (
	// IPFamilyIPv4 is the IPv4 IP family.
	IPFamilyIPv4 IPFamily = "IPv4"
	// IPFamilyIPv6 is the IPv6 IP family.
	IPFamilyIPv6 IPFamily = "IPv6"
)

type Object

type Object interface {
	metav1.Object
}

Object is a core object resource.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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