manager

package
v0.0.0-...-6a8a225 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(clients Clients, stopCh <-chan struct{}) *controller

Types

type Clients

type Clients struct {
	KubeClientset  kubernetes.Interface
	SnapshotClient *restclient.RESTClient
	SvClientset    svclientset.Interface
	Dynamic        dynamic.Interface
	Discovery      discovery.DiscoveryInterface
}

type KubeCalls

type KubeCalls interface {
	CreateUnstructuredObject(unstructured.Unstructured) error
	GetUnstructuredObject(string, vs.ResourceName) (*unstructured.Unstructured, error)
	// contains filtered or unexported methods
}

type Reverts

type Reverts interface {
	ProcessSnapshotRevert(snapshotRevert *vs.SnapshotRevert) error
}

func NewReverts

func NewReverts(kube KubeCalls) Reverts

type Validator

type Validator interface {
	ProcessSnapshot(snapshot *snap.VolumeSnapshot) error
	ProcessValidationRun(run *vs.ValidationRun) error
	ProcessValidationRunDelete(run *vs.ValidationRun)
}

func NewValidator

func NewValidator(kube KubeCalls) Validator

Jump to

Keyboard shortcuts

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