objectdeployments

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObjectSetHashAnnotation = "package-operator.run/hash"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericClusterObjectDeployment

type GenericClusterObjectDeployment struct {
	corev1alpha1.ClusterObjectDeployment
}

func (*GenericClusterObjectDeployment) ClientObject

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

func (*GenericClusterObjectDeployment) GetConditions

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

func (*GenericClusterObjectDeployment) GetObjectSetTemplate

func (*GenericClusterObjectDeployment) GetRevisionHistoryLimit

func (a *GenericClusterObjectDeployment) GetRevisionHistoryLimit() *int32

func (*GenericClusterObjectDeployment) GetSelector

func (*GenericClusterObjectDeployment) GetStatusCollisionCount

func (a *GenericClusterObjectDeployment) GetStatusCollisionCount() *int32

func (*GenericClusterObjectDeployment) GetStatusTemplateHash

func (a *GenericClusterObjectDeployment) GetStatusTemplateHash() string

func (*GenericClusterObjectDeployment) SetStatusCollisionCount

func (a *GenericClusterObjectDeployment) SetStatusCollisionCount(cc *int32)

func (*GenericClusterObjectDeployment) SetStatusTemplateHash

func (a *GenericClusterObjectDeployment) SetStatusTemplateHash(templateHash string)

func (*GenericClusterObjectDeployment) UpdatePhase

func (a *GenericClusterObjectDeployment) UpdatePhase()

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

type GenericObjectDeployment struct {
	corev1alpha1.ObjectDeployment
}

func (*GenericObjectDeployment) ClientObject

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

func (*GenericObjectDeployment) GetConditions

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

func (*GenericObjectDeployment) GetObjectSetTemplate

func (a *GenericObjectDeployment) GetObjectSetTemplate() corev1alpha1.ObjectSetTemplate

func (*GenericObjectDeployment) GetRevisionHistoryLimit

func (a *GenericObjectDeployment) GetRevisionHistoryLimit() *int32

func (*GenericObjectDeployment) GetSelector

func (a *GenericObjectDeployment) GetSelector() metav1.LabelSelector

func (*GenericObjectDeployment) GetStatusCollisionCount

func (a *GenericObjectDeployment) GetStatusCollisionCount() *int32

func (*GenericObjectDeployment) GetStatusTemplateHash

func (a *GenericObjectDeployment) GetStatusTemplateHash() string

func (*GenericObjectDeployment) SetStatusCollisionCount

func (a *GenericObjectDeployment) SetStatusCollisionCount(cc *int32)

func (*GenericObjectDeployment) SetStatusTemplateHash

func (a *GenericObjectDeployment) SetStatusTemplateHash(templateHash string)

func (*GenericObjectDeployment) UpdatePhase

func (a *GenericObjectDeployment) UpdatePhase()

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