image

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "mysql-image"

ControllerName used for identifying which controller is performing an operation.

Variables

This section is empty.

Functions

func Add

Add creates a new Image 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.

Types

type ReconcileImage

type ReconcileImage struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileImage reconciles a Image object

func (*ReconcileImage) Reconcile

func (r *ReconcileImage) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Image object and makes changes based on the state read and what is in the Image.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=batch,resources=jobs,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=mysql.skpr.io,resources=images,verbs=get;list;watch;create;update;patch;delete

Jump to

Keyboard shortcuts

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