referencedataset

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

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

ID returns the id of the engine

func (*ReferenceDatasetEngine) Operate

func (*ReferenceDatasetEngine) Setup

func (*ReferenceDatasetEngine) Shutdown

func (e *ReferenceDatasetEngine) Shutdown() (err error)

Shutdown and clean up the engine

func (*ReferenceDatasetEngine) Sync

func (*ReferenceDatasetEngine) Validate added in v1.0.2

Jump to

Keyboard shortcuts

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