constraint

package
v0.0.5-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

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

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

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

type ConstraintPolicyReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ConstraintPolicyReconciler reconciles a Policy object. nolint:revive

func (*ConstraintPolicyReconciler) Reconcile

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

Jump to

Keyboard shortcuts

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