placement

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "kcp-scheduling-placement"
)

Variables

This section is empty.

Functions

func NewController

func NewController(
	kcpClusterClient kcpclientset.ClusterInterface,
	namespaceInformer kcpcorev1informers.NamespaceClusterInformer,
	locationInformer schedulingv1alpha1informers.LocationClusterInformer,
	placementInformer schedulingv1alpha1informers.PlacementClusterInformer,
) (*controller, error)

NewController returns a new controller placing namespaces onto locations by create a placement annotation..

Types

type CommitFunc added in v0.11.0

type CommitFunc = func(context.Context, *Resource, *Resource) error

type Patcher added in v0.11.0

type Placement added in v0.11.0

type Placement = schedulingv1alpha1.Placement

type PlacementSpec added in v0.11.0

type PlacementSpec = schedulingv1alpha1.PlacementSpec

type PlacementStatus added in v0.11.0

type PlacementStatus = schedulingv1alpha1.PlacementStatus

type Resource added in v0.11.0

Jump to

Keyboard shortcuts

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