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 ¶
func NewGroupSnapshot(mgr manager.Manager, d volume.Driver, r record.EventRecorder) *GroupSnapshotController
NewGroupSnapshot creates a new instance of GroupSnapshotController.
func (*GroupSnapshotController) Init ¶
func (m *GroupSnapshotController) Init(mgr manager.Manager) error
Init Initialize the groupSnapshot controller
func (*GroupSnapshotController) Reconcile ¶
func (m *GroupSnapshotController) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
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.
Click to show internal directories.
Click to hide internal directories.