controllers

package
v2.4.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 28 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetKind

func SetKind(snap *stork_api.GroupVolumeSnapshot)

SetKind sets the group snapshopt kind

Types

type GroupSnapshotController

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

GroupSnapshotController groupSnapshotcontroller

func NewGroupSnapshot

NewGroupSnapshot creates a new instance of GroupSnapshotController.

func (*GroupSnapshotController) Init

Init Initialize the groupSnapshot controller

func (*GroupSnapshotController) Reconcile

Reconcile reads that state of the cluster for an object and makes changes based on the state read and what is in the Spec.

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.

Jump to

Keyboard shortcuts

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