objectsets

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericClusterObjectSet

type GenericClusterObjectSet struct {
	corev1alpha1.ClusterObjectSet
}

func (*GenericClusterObjectSet) ClientObject

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

func (*GenericClusterObjectSet) GetAvailabilityProbes

func (a *GenericClusterObjectSet) GetAvailabilityProbes() []corev1alpha1.ObjectSetProbe

func (*GenericClusterObjectSet) GetConditions

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

func (*GenericClusterObjectSet) GetGeneration added in v1.5.0

func (a *GenericClusterObjectSet) GetGeneration() int64

func (*GenericClusterObjectSet) GetPhases

func (*GenericClusterObjectSet) GetPrevious

func (*GenericClusterObjectSet) GetRemotePhases

func (*GenericClusterObjectSet) GetRevision

func (a *GenericClusterObjectSet) GetRevision() int64

func (*GenericClusterObjectSet) GetSuccessDelaySeconds added in v1.5.0

func (a *GenericClusterObjectSet) GetSuccessDelaySeconds() int32

func (*GenericClusterObjectSet) IsArchived

func (a *GenericClusterObjectSet) IsArchived() bool

func (*GenericClusterObjectSet) IsPaused

func (a *GenericClusterObjectSet) IsPaused() bool

func (*GenericClusterObjectSet) SetPhases added in v1.1.0

func (*GenericClusterObjectSet) SetRemotePhases

func (a *GenericClusterObjectSet) SetRemotePhases(remotes []corev1alpha1.RemotePhaseReference)

func (*GenericClusterObjectSet) SetRevision

func (a *GenericClusterObjectSet) SetRevision(revision int64)

func (*GenericClusterObjectSet) SetStatusControllerOf

func (a *GenericClusterObjectSet) SetStatusControllerOf(controllerOf []corev1alpha1.ControlledObjectReference)

func (*GenericClusterObjectSet) UpdateStatusPhase

func (a *GenericClusterObjectSet) UpdateStatusPhase()

type GenericClusterObjectSetPhase

type GenericClusterObjectSetPhase struct {
	corev1alpha1.ClusterObjectSetPhase
}

func (*GenericClusterObjectSetPhase) ClientObject

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

func (*GenericClusterObjectSetPhase) GetConditions

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

func (*GenericClusterObjectSetPhase) GetStatusControllerOf

func (*GenericClusterObjectSetPhase) IsPaused

func (a *GenericClusterObjectSetPhase) IsPaused() bool

func (*GenericClusterObjectSetPhase) SetAvailabilityProbes

func (a *GenericClusterObjectSetPhase) SetAvailabilityProbes(probes []corev1alpha1.ObjectSetProbe)

func (*GenericClusterObjectSetPhase) SetPaused

func (a *GenericClusterObjectSetPhase) SetPaused(paused bool)

func (*GenericClusterObjectSetPhase) SetPhase

func (*GenericClusterObjectSetPhase) SetPrevious

func (*GenericClusterObjectSetPhase) SetRevision

func (a *GenericClusterObjectSetPhase) SetRevision(revision int64)

type GenericObjectSet

type GenericObjectSet struct {
	corev1alpha1.ObjectSet
}

func (*GenericObjectSet) ClientObject

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

func (*GenericObjectSet) GetAvailabilityProbes

func (a *GenericObjectSet) GetAvailabilityProbes() []corev1alpha1.ObjectSetProbe

func (*GenericObjectSet) GetConditions

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

func (*GenericObjectSet) GetGeneration added in v1.5.0

func (a *GenericObjectSet) GetGeneration() int64

func (*GenericObjectSet) GetPhases

func (*GenericObjectSet) GetPrevious

func (*GenericObjectSet) GetRemotePhases

func (a *GenericObjectSet) GetRemotePhases() []corev1alpha1.RemotePhaseReference

func (*GenericObjectSet) GetRevision

func (a *GenericObjectSet) GetRevision() int64

func (*GenericObjectSet) GetSuccessDelaySeconds added in v1.5.0

func (a *GenericObjectSet) GetSuccessDelaySeconds() int32

func (*GenericObjectSet) IsArchived

func (a *GenericObjectSet) IsArchived() bool

func (*GenericObjectSet) IsPaused

func (a *GenericObjectSet) IsPaused() bool

func (*GenericObjectSet) SetPhases added in v1.1.0

func (a *GenericObjectSet) SetPhases(phases []corev1alpha1.ObjectSetTemplatePhase)

func (*GenericObjectSet) SetRemotePhases

func (a *GenericObjectSet) SetRemotePhases(remotes []corev1alpha1.RemotePhaseReference)

func (*GenericObjectSet) SetRevision

func (a *GenericObjectSet) SetRevision(revision int64)

func (*GenericObjectSet) SetStatusControllerOf

func (a *GenericObjectSet) SetStatusControllerOf(controllerOf []corev1alpha1.ControlledObjectReference)

func (*GenericObjectSet) UpdateStatusPhase

func (a *GenericObjectSet) UpdateStatusPhase()

type GenericObjectSetController

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

Generic reconciler for both ObjectSet and ClusterObjectSet objects.

func NewClusterObjectSetController

func NewClusterObjectSetController(
	c client.Client, log logr.Logger,
	scheme *runtime.Scheme,
	dw dynamicCache, uc client.Reader,
	r metricsRecorder, restMapper meta.RESTMapper,
) *GenericObjectSetController

func NewObjectSetController

func NewObjectSetController(
	c client.Client, log logr.Logger,
	scheme *runtime.Scheme,
	dw dynamicCache, uc client.Reader,
	r metricsRecorder, restMapper meta.RESTMapper,
) *GenericObjectSetController

func (*GenericObjectSetController) Reconcile

func (c *GenericObjectSetController) Reconcile(
	ctx context.Context, req ctrl.Request,
) (res ctrl.Result, err error)

func (*GenericObjectSetController) SetupWithManager

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

type GenericObjectSetPhase

type GenericObjectSetPhase struct {
	corev1alpha1.ObjectSetPhase
}

func (*GenericObjectSetPhase) ClientObject

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

func (*GenericObjectSetPhase) GetConditions

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

func (*GenericObjectSetPhase) GetStatusControllerOf

func (a *GenericObjectSetPhase) GetStatusControllerOf() []corev1alpha1.ControlledObjectReference

func (*GenericObjectSetPhase) IsPaused

func (a *GenericObjectSetPhase) IsPaused() bool

func (*GenericObjectSetPhase) SetAvailabilityProbes

func (a *GenericObjectSetPhase) SetAvailabilityProbes(probes []corev1alpha1.ObjectSetProbe)

func (*GenericObjectSetPhase) SetPaused

func (a *GenericObjectSetPhase) SetPaused(paused bool)

func (*GenericObjectSetPhase) SetPhase

func (*GenericObjectSetPhase) SetPrevious

func (*GenericObjectSetPhase) SetRevision

func (a *GenericObjectSetPhase) SetRevision(revision int64)

Jump to

Keyboard shortcuts

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