deployment

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Deployment Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddDeploymentWebhook added in v0.7.0

func AddDeploymentWebhook(mgr manager.Manager) error

Types

type DeploymentWebhook added in v0.7.0

type DeploymentWebhook struct {
	client.Client
	Handler *core.Handler[*appsv1.Deployment]
}

func (*DeploymentWebhook) Default added in v0.7.0

func (a *DeploymentWebhook) Default(ctx context.Context, obj runtime.Object) error

type ReconcileDeployment

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

ReconcileDeployment reconciles a Deployment object

func (*ReconcileDeployment) Reconcile

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

Reconcile reads that state of the cluster for a Deployment object and updates its PodSpec based on mounted configuration

Jump to

Keyboard shortcuts

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