Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataObjectCreator ¶
type DataObjectCreator struct {
// contains filtered or unexported fields
}
func NewDataObjectCreator ¶
func NewDataObjectCreator(cliOptions *parse.CLIOptions) (*DataObjectCreator, error)
func (*DataObjectCreator) CreateDataObject ¶
func (d *DataObjectCreator) CreateDataObject() (*unstructured.Unstructured, error)
func (*DataObjectCreator) DeleteDataObject ¶
func (d *DataObjectCreator) DeleteDataObject() error
type DataObjectProvider ¶
type DataObjectProvider interface { GetDv(string, string) (*cdiv1beta1.DataVolume, error) GetDs(string, string) (*cdiv1beta1.DataSource, error) GetPVC(string, string) (*v1.PersistentVolumeClaim, error) DeleteDS(string, string) error DeleteDV(string, string) error DeletePVC(string, string) error CreateDo(*unstructured.Unstructured, bool) (*unstructured.Unstructured, error) }
func NewDataObjectProvider ¶
func NewDataObjectProvider(client cdiclientv1beta1.CdiV1beta1Interface, k8sClient *k8sv1.CoreV1Client) DataObjectProvider
Click to show internal directories.
Click to hide internal directories.