objectdeployments

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObjectSetHashAnnotation = "package-operator.run/hash"
	// Used to filter ObjectSets by their owning ObjectDeployment.
	ObjectSetObjectDeploymentLabel = "package-operator.run/object-deployment"
)

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) GetActivelyReconciledObjects

func (a *GenericClusterObjectSet) GetActivelyReconciledObjects() []objectIdentifier

func (*GenericClusterObjectSet) GetConditions

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

func (*GenericClusterObjectSet) GetGeneration

func (a *GenericClusterObjectSet) GetGeneration() int64

func (*GenericClusterObjectSet) GetObjects

func (a *GenericClusterObjectSet) GetObjects() ([]objectIdentifier, error)

func (*GenericClusterObjectSet) GetPhases

func (*GenericClusterObjectSet) GetRevision

func (a *GenericClusterObjectSet) GetRevision() int64

func (*GenericClusterObjectSet) GetTemplateSpec

func (*GenericClusterObjectSet) IsArchived

func (a *GenericClusterObjectSet) IsArchived() bool

func (*GenericClusterObjectSet) IsAvailable

func (a *GenericClusterObjectSet) IsAvailable() bool

func (*GenericClusterObjectSet) IsSpecPaused

func (a *GenericClusterObjectSet) IsSpecPaused() bool

func (*GenericClusterObjectSet) IsStatusPaused

func (a *GenericClusterObjectSet) IsStatusPaused() bool

func (*GenericClusterObjectSet) SetArchived

func (a *GenericClusterObjectSet) SetArchived()

func (*GenericClusterObjectSet) SetPaused

func (a *GenericClusterObjectSet) SetPaused()

func (*GenericClusterObjectSet) SetPreviousRevisions

func (a *GenericClusterObjectSet) SetPreviousRevisions(prevObjectSets []genericObjectSet)

func (*GenericClusterObjectSet) SetTemplateSpec

func (a *GenericClusterObjectSet) SetTemplateSpec(templateSpec corev1alpha1.ObjectSetTemplateSpec)

type GenericClusterObjectSetList

type GenericClusterObjectSetList struct {
	corev1alpha1.ClusterObjectSetList
}

func (*GenericClusterObjectSetList) ClientObjectList

func (a *GenericClusterObjectSetList) ClientObjectList() client.ObjectList

func (*GenericClusterObjectSetList) GetItems

func (a *GenericClusterObjectSetList) GetItems() []genericObjectSet

type GenericObjectDeploymentController

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

func NewClusterObjectDeploymentController

func NewClusterObjectDeploymentController(
	c client.Client, log logr.Logger, scheme *runtime.Scheme,
) *GenericObjectDeploymentController

func NewObjectDeploymentController

func NewObjectDeploymentController(
	c client.Client, log logr.Logger, scheme *runtime.Scheme,
) *GenericObjectDeploymentController

func (*GenericObjectDeploymentController) Reconcile

func (*GenericObjectDeploymentController) SetupWithManager

func (od *GenericObjectDeploymentController) SetupWithManager(mgr ctrl.Manager) error

type GenericObjectSet

type GenericObjectSet struct {
	corev1alpha1.ObjectSet
}

func (*GenericObjectSet) ClientObject

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

func (*GenericObjectSet) GetActivelyReconciledObjects

func (a *GenericObjectSet) GetActivelyReconciledObjects() []objectIdentifier

func (*GenericObjectSet) GetConditions

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

func (*GenericObjectSet) GetGeneration

func (a *GenericObjectSet) GetGeneration() int64

func (*GenericObjectSet) GetObjects

func (a *GenericObjectSet) GetObjects() ([]objectIdentifier, error)

func (*GenericObjectSet) GetPhases

func (*GenericObjectSet) GetRevision

func (a *GenericObjectSet) GetRevision() int64

func (*GenericObjectSet) GetTemplateSpec

func (*GenericObjectSet) IsArchived

func (a *GenericObjectSet) IsArchived() bool

func (*GenericObjectSet) IsAvailable

func (a *GenericObjectSet) IsAvailable() bool

func (*GenericObjectSet) IsSpecPaused

func (a *GenericObjectSet) IsSpecPaused() bool

func (*GenericObjectSet) IsStatusPaused

func (a *GenericObjectSet) IsStatusPaused() bool

func (*GenericObjectSet) SetArchived

func (a *GenericObjectSet) SetArchived()

func (*GenericObjectSet) SetPaused

func (a *GenericObjectSet) SetPaused()

func (*GenericObjectSet) SetPreviousRevisions

func (a *GenericObjectSet) SetPreviousRevisions(prevObjectSets []genericObjectSet)

func (*GenericObjectSet) SetTemplateSpec

func (a *GenericObjectSet) SetTemplateSpec(templateSpec corev1alpha1.ObjectSetTemplateSpec)

type GenericObjectSetList

type GenericObjectSetList struct {
	corev1alpha1.ObjectSetList
}

func (*GenericObjectSetList) ClientObjectList

func (a *GenericObjectSetList) ClientObjectList() client.ObjectList

func (*GenericObjectSetList) GetItems

func (a *GenericObjectSetList) GetItems() []genericObjectSet

Jump to

Keyboard shortcuts

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