controlplane

package
v1.78.5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// GardenletManagesMCM specifies whether the machine-controller-manager should be managed.
	GardenletManagesMCM bool
)

Functions

func AddToManager

func AddToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error)

AddToManager creates a webhook and adds it to the manager.

func NewEnsurer

func NewEnsurer(logger logr.Logger, gardenletManagesMCM bool) genericmutator.Ensurer

NewEnsurer creates a new controlplane ensurer.

Types

type RegistryMirror added in v1.77.0

type RegistryMirror struct {
	UpstreamHost   string
	UpstreamServer string
	MirrorHost     string
}

RegistryMirror represents a registry mirror for containerd.

func (*RegistryMirror) HostsTOML added in v1.77.0

func (r *RegistryMirror) HostsTOML() string

HostsTOML returns hosts.toml configuration.

Jump to

Keyboard shortcuts

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