backupinstance

package
v0.0.0-...-87ef7df Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackupInstanceController

func NewBackupInstanceController(clientset versioned.Interface, kubeClientset kubernetes.Interface) controller.Controller

NewBackupInstanceController returns new backup instance controller.

func NewFakeBackupInstanceController

func NewFakeBackupInstanceController(size int) (*fake.Clientset, *watch.FakeWatcher, controller.Controller)

NewFakeBackupInstanceController returns new operator controller among with prepended watcher. Created controller uses fake clientSets. Size indicates watcher events channel buffer.

Types

type Event

type Event string

Event represents an event processed by the Backup Schedule controller.

const (
	BackupInstanceAdded   Event = "Added"
	BackupInstanceUpdated Event = "Updated"
	BackupInstanceDeleted Event = "Deleted"
)

Available event types.

Jump to

Keyboard shortcuts

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