Documentation ¶
Index ¶
- type DataHandler
- func NewNFSHandler(k8sClientset kubernetes.Interface, resourceClients []resource.Client) DataHandler
- func NewPachydermHandler(k8sClientset kubernetes.Interface, resourceClients []resource.Client) DataHandler
- func NewS3Handler(k8sClientset kubernetes.Interface, resourceClients []resource.Client) DataHandler
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.
Click to show internal directories.
Click to hide internal directories.