approllout

package
v0.0.0-...-3ac7d67 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(ctx context.Context, mgr manager.Manager, baseValues chartutil.Values) error

Add adds a controller for the AppRollout resource type to the manager and server.

func NewAppRolloutValidationWebhook

func NewAppRolloutValidationWebhook(mgr manager.Manager) *admission.Webhook

NewAppRolloutValidationWebhook returns a new webhook that validates AppRollouts.

func NewAppValidationWebhook

func NewAppValidationWebhook(mgr manager.Manager) *admission.Webhook

NewAppValidationWebhook returns a new webhook that validates Apps.

This pertains to multiple versions of the same app, so that the labels defined above are in sync with the name of the App. The policy is - an unversioned app defines

  • cloudrobotics.com/app-name
  • (optionally): cloudrobotics.com/app-version with a "" value this must match the name of the object

- a versioned app defines

  • cloudrobotics.com/app-name
  • cloudrobotics.com/app-version the name of the App object must match LOWERCASE([app-name].v[app-version])

Types

type Reconciler

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

Reconciler provides an idempotent function that brings the cluster into a state consistent with the specification of an AppRollout.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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