packages

package
v1.0.0 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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

func (*GenericClusterObjectDeployment) GetPhases

func (*GenericClusterObjectDeployment) SetObjectMeta

func (a *GenericClusterObjectDeployment) SetObjectMeta(m metav1.ObjectMeta)

func (*GenericClusterObjectDeployment) SetPhases

type GenericClusterPackage

type GenericClusterPackage struct {
	corev1alpha1.ClusterPackage
}

func (*GenericClusterPackage) ClientObject

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

func (*GenericClusterPackage) GetConditions

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

func (*GenericClusterPackage) GetImage

func (a *GenericClusterPackage) GetImage() string

func (*GenericClusterPackage) GetSpecHash

func (a *GenericClusterPackage) GetSpecHash() string

func (*GenericClusterPackage) UpdatePhase

func (a *GenericClusterPackage) UpdatePhase()

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

func (a *GenericObjectDeployment) GetObjectMeta() metav1.ObjectMeta

func (*GenericObjectDeployment) GetPhases

func (*GenericObjectDeployment) SetObjectMeta

func (a *GenericObjectDeployment) SetObjectMeta(m metav1.ObjectMeta)

func (*GenericObjectDeployment) SetPhases

type GenericPackage

type GenericPackage struct {
	corev1alpha1.Package
}

func (*GenericPackage) ClientObject

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

func (*GenericPackage) GetConditions

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

func (*GenericPackage) GetImage

func (a *GenericPackage) GetImage() string

func (*GenericPackage) GetSpecHash

func (a *GenericPackage) GetSpecHash() string

func (*GenericPackage) UpdatePhase

func (a *GenericPackage) UpdatePhase()

type GenericPackageController

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

Generic reconciler for both Package and ClusterPackage objects.

func NewClusterPackageController

func NewClusterPackageController(
	c client.Client, log logr.Logger,
	scheme *runtime.Scheme,
	pkoNamespace, pkoImage string,
) *GenericPackageController

func NewPackageController

func NewPackageController(
	c client.Client, log logr.Logger,
	scheme *runtime.Scheme,
	pkoNamespace, pkoImage string,
) *GenericPackageController

func (*GenericPackageController) Reconcile

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

func (*GenericPackageController) SetupWithManager

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

Jump to

Keyboard shortcuts

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