handlers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataHandler

type DataHandler interface {
	GetSourceType() vckv1alpha1.DataSourceType
	OnAdd(namespace string, vc vckv1alpha1.VolumeConfig, controllerRef metav1.OwnerReference) vckv1alpha1.Volume
	OnDelete(namespace string, vc vckv1alpha1.VolumeConfig, vStatus vckv1alpha1.Volume, controllerRef metav1.OwnerReference)
}

DataHandler is the interface which defines the handler methods

func NewNFSHandler

func NewNFSHandler(k8sClientset kubernetes.Interface, resourceClients []resource.Client) DataHandler

NewNFSHandler creates and returns an instance of the NFS handler.

func NewPachydermHandler

func NewPachydermHandler(k8sClientset kubernetes.Interface, resourceClients []resource.Client) DataHandler

NewPachydermHandler creates and returns an instance of the NFS handler.

func NewS3Handler

func NewS3Handler(k8sClientset kubernetes.Interface, resourceClients []resource.Client) DataHandler

NewS3Handler creates and returns an instance of the NFS handler.

Jump to

Keyboard shortcuts

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