deployment

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReconcileDeployment

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

ReconcileDeployment reconciles a Deployment object

func New added in v1.29.0

func New(client client.Client, clientReader client.Reader, scheme *runtime.Scheme) *ReconcileDeployment

New creates new deployment controller

func (*ReconcileDeployment) Reconcile

func (r *ReconcileDeployment) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile reads that state of the cluster for a Deployment object and makes changes based on the state read and what is in the Deployment.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*ReconcileDeployment) SyncOnJaegerChanges added in v1.29.0

func (r *ReconcileDeployment) SyncOnJaegerChanges(object client.Object) []reconcile.Request

SyncOnJaegerChanges sync deployments with sidecars when a jaeger CR changes

Jump to

Keyboard shortcuts

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