handover

package
v0.2.1-0...-90e585d Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericClusterHandover

type GenericClusterHandover struct {
	coordinationv1alpha1.ClusterHandover
}

func (*GenericClusterHandover) ClientObject

func (a *GenericClusterHandover) ClientObject() client.Object

func (*GenericClusterHandover) GetConditions

func (a *GenericClusterHandover) GetConditions() *[]metav1.Condition

func (*GenericClusterHandover) GetProbes

func (*GenericClusterHandover) GetProcessing

func (*GenericClusterHandover) GetRelabelSpec

func (*GenericClusterHandover) GetStrategyType

func (a *GenericClusterHandover) GetStrategyType() genericStrategyType

func (*GenericClusterHandover) GetTargetAPI

func (*GenericClusterHandover) SetProcessing

func (a *GenericClusterHandover) SetProcessing(processing []coordinationv1alpha1.HandoverRef)

func (*GenericClusterHandover) SetStats

func (*GenericClusterHandover) UpdatePhase

func (a *GenericClusterHandover) UpdatePhase()

type GenericHandover

type GenericHandover struct {
	coordinationv1alpha1.Handover
}

func (*GenericHandover) ClientObject

func (a *GenericHandover) ClientObject() client.Object

func (*GenericHandover) GetConditions

func (a *GenericHandover) GetConditions() *[]metav1.Condition

func (*GenericHandover) GetProbes

func (a *GenericHandover) GetProbes() []packagesv1alpha1.Probe

func (*GenericHandover) GetProcessing

func (a *GenericHandover) GetProcessing() []coordinationv1alpha1.HandoverRef

func (*GenericHandover) GetRelabelSpec

func (*GenericHandover) GetStrategyType

func (a *GenericHandover) GetStrategyType() genericStrategyType

func (*GenericHandover) GetTargetAPI

func (*GenericHandover) SetProcessing

func (a *GenericHandover) SetProcessing(processing []coordinationv1alpha1.HandoverRef)

func (*GenericHandover) SetStats

func (*GenericHandover) UpdatePhase

func (a *GenericHandover) UpdatePhase()

type GenericHandoverController

type GenericHandoverController struct {
	// contains filtered or unexported fields
}

Generic reconciler for both Handover and ClusterHandover objects.

func NewClusterHandoverController

func NewClusterHandoverController(
	c client.Client, log logr.Logger,
	scheme *runtime.Scheme, dynamicClient dynamic.Interface,
	discoveryClient *discovery.DiscoveryClient,
) *GenericHandoverController

func NewGenericHandoverController

func NewGenericHandoverController(
	gvk schema.GroupVersionKind,
	c client.Client, log logr.Logger,
	scheme *runtime.Scheme, dynamicClient dynamic.Interface,
	discoveryClient *discovery.DiscoveryClient,
) *GenericHandoverController

func NewHandoverController

func NewHandoverController(
	c client.Client, log logr.Logger,
	scheme *runtime.Scheme, dynamicClient dynamic.Interface,
	discoveryClient *discovery.DiscoveryClient,
) *GenericHandoverController

func (*GenericHandoverController) Reconcile

func (*GenericHandoverController) SetupWithManager

func (c *GenericHandoverController) SetupWithManager(
	mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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