clusteridentity

package
v1.85.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ManagedResourceControlName is the name of the ManagedResource containing the resource specifications.
	ManagedResourceControlName = "cluster-identity"
	// ShootManagedResourceName is the name of the ManagedResource containing the resource specifications.
	ShootManagedResourceName = "shoot-core-" + ManagedResourceControlName
)

Variables

View Source
var TimeoutWaitForManagedResource = 2 * time.Minute

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

Functions

func IsClusterIdentityEmptyOrFromOrigin

func IsClusterIdentityEmptyOrFromOrigin(ctx context.Context, c client.Client, origin string) (bool, error)

IsClusterIdentityEmptyOrFromOrigin checks if the cluster-identity config map does not exist or is from the same origin

Types

type Interface

type Interface interface {
	component.DeployWaiter
	SetIdentity(string)
}

Interface contains functions for managing cluster identities.

func NewForSeed

func NewForSeed(c client.Client, namespace, identity string) Interface

NewForSeed creates new instance of Deployer for the seed's cluster identity.

func NewForShoot

func NewForShoot(c client.Client, namespace, identity string) Interface

NewForShoot creates new instance of Deployer for the shoot's cluster identity.

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