controlplane

package
v1.91.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// UseGardenerNodeAgent controls whether the UseGardenerNodeAgent feature gate of gardenlet is enabled.
	UseGardenerNodeAgent 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, useGardenerNodeAgent 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