dataobject

package
v0.0.0-...-4952e1f Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

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)
	GetK8sClient() *k8sv1.CoreV1Client
}

Jump to

Keyboard shortcuts

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