Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstraintPolicyBindingReconciler ¶
type ConstraintPolicyBindingReconciler struct { client.Client Scheme *runtime.Scheme EvaluationErrorInterval time.Duration EvaluationInterval time.Duration RPCTimeout time.Duration }
ConstraintPolicyBindingReconciler reconciles a Binding object. nolint:revive
func (*ConstraintPolicyBindingReconciler) Reconcile ¶
func (r *ConstraintPolicyBindingReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. nolint:gocognit,funlen,cyclop
func (*ConstraintPolicyBindingReconciler) SetupWithManager ¶
func (r *ConstraintPolicyBindingReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ConstraintPolicyOfferReconciler ¶
type ConstraintPolicyOfferReconciler struct { client.Client Scheme *runtime.Scheme EvaluationErrorInterval time.Duration EvaluationInterval time.Duration }
ConstraintPolicyOfferReconciler reconciles a ConstraintPolicyOffer object. nolint:revive
func (*ConstraintPolicyOfferReconciler) Reconcile ¶
func (r *ConstraintPolicyOfferReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles updates to the offer resource instances. nolint:funlen,gocognit,cyclop
func (*ConstraintPolicyOfferReconciler) SetupWithManager ¶
func (r *ConstraintPolicyOfferReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ConstraintPolicyReconciler ¶
ConstraintPolicyReconciler reconciles a Policy object. nolint:revive
func (*ConstraintPolicyReconciler) Reconcile ¶
func (r *ConstraintPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile evaluates updates to the requested constraint policy and updates internal status if required.
func (*ConstraintPolicyReconciler) SetupWithManager ¶
func (r *ConstraintPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type VersionSpec ¶
type VersionSpec struct { Version string `json:"version,omitempty"` VcsURL string `json:"vcsUrl,omitempty"` VcsRef string `json:"vcsRef,omitempty"` VcsCommitDate string `json:"vcsCommitDate,omitempty"` VcsDirty *bool `json:"vcsDirty,omitempty"` GoVersion string `json:"goVersion,omitempty"` OS string `json:"os,omitempty"` Arch string `json:"arch,omitempty"` BuildDate string `json:"buildDate,omitempty"` }
VersionSpec defines the version information for the application.
func Version ¶
func Version() *VersionSpec
Version returns the version information for the application.
func (*VersionSpec) String ¶
func (v *VersionSpec) String() string
String returns the version information in string form. nolint:gocognit,cyclop