controllers

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 29 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