Documentation ¶
Index ¶
- func BuildReferenceDatasetThinEngine(id string, ctx cruntime.ReconcileRequestContext) (base.Engine, error)
- type ReferenceDatasetEngine
- func (e *ReferenceDatasetEngine) CreateVolume() (err error)
- func (e *ReferenceDatasetEngine) DeleteVolume() (err error)
- func (e *ReferenceDatasetEngine) ID() string
- func (e *ReferenceDatasetEngine) Operate(ctx cruntime.ReconcileRequestContext, opStatus *v1alpha1.OperationStatus, ...) (ctrl.Result, error)
- func (e *ReferenceDatasetEngine) Setup(ctx cruntime.ReconcileRequestContext) (ready bool, err error)
- func (e *ReferenceDatasetEngine) Shutdown() (err error)
- func (e *ReferenceDatasetEngine) Sync(ctx cruntime.ReconcileRequestContext) (err error)
- func (e *ReferenceDatasetEngine) Validate(runtime.ReconcileRequestContext) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildReferenceDatasetThinEngine ¶
func BuildReferenceDatasetThinEngine(id string, ctx cruntime.ReconcileRequestContext) (base.Engine, error)
BuildReferenceDatasetThinEngine build engine for handling virtual dataset
Types ¶
type ReferenceDatasetEngine ¶
type ReferenceDatasetEngine struct { Id string client.Client Log logr.Logger // contains filtered or unexported fields }
ReferenceDatasetEngine is used for handling datasets mounting another dataset. We use `virtual` dataset/runtime to represent the reference dataset/runtime itself, and use `physical` dataset/runtime to represent the dataset/runtime is mounted by virtual dataset.
func (*ReferenceDatasetEngine) CreateVolume ¶
func (e *ReferenceDatasetEngine) CreateVolume() (err error)
func (*ReferenceDatasetEngine) DeleteVolume ¶
func (e *ReferenceDatasetEngine) DeleteVolume() (err error)
func (*ReferenceDatasetEngine) ID ¶
func (e *ReferenceDatasetEngine) ID() string
ID returns the id of the engine
func (*ReferenceDatasetEngine) Operate ¶
func (e *ReferenceDatasetEngine) Operate(ctx cruntime.ReconcileRequestContext, opStatus *v1alpha1.OperationStatus, operation dataoperation.OperationInterface) (ctrl.Result, error)
func (*ReferenceDatasetEngine) Setup ¶
func (e *ReferenceDatasetEngine) Setup(ctx cruntime.ReconcileRequestContext) (ready bool, err error)
func (*ReferenceDatasetEngine) Shutdown ¶
func (e *ReferenceDatasetEngine) Shutdown() (err error)
Shutdown and clean up the engine
func (*ReferenceDatasetEngine) Sync ¶
func (e *ReferenceDatasetEngine) Sync(ctx cruntime.ReconcileRequestContext) (err error)
func (*ReferenceDatasetEngine) Validate ¶ added in v1.0.2
func (e *ReferenceDatasetEngine) Validate(runtime.ReconcileRequestContext) (err error)
Click to show internal directories.
Click to hide internal directories.