dataload

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DATALOAD_FINALIZER     = "fluid-dataload-controller-finalizer"
	DATALOAD_CHART         = "fluid-dataloader"
	DATALOAD_DEFAULT_IMAGE = "registry.cn-hangzhou.aliyuncs.com/fluid/fluid-dataloader"
	DATALOAD_SUFFIX_LENGTH = 5
	ENV_DATALOADER_IMG     = "DATALOADER_IMG"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataLoadConditionType added in v0.4.0

type DataLoadConditionType string

DataLoadConditionType is a valid value for DataloadCondition.Type

const (
	// DataloadComplete means the Dataload has completed its execution.
	DataLoadComplete DataLoadConditionType = "Complete"
	// DataloadFailed means the Dataload has failed its execution.
	DataLoadFailed DataLoadConditionType = "Failed"
)

These are valid conditions of a Dataload.

type DataLoadInfo

type DataLoadInfo struct {
	// BackoffLimit specifies the upper limit times when the DataLoad job fails
	BackoffLimit int32 `yaml:"backoffLimit,omitempty"`

	// TargetDataset specifies the dataset that the DataLoad targets
	TargetDataset string `yaml:"targetDataset,omitempty"`

	// LoadMetadata specifies if the DataLoad job should load metadata from UFS when doing data load
	LoadMetadata bool `yaml:"loadMetadata,omitempty"`

	// TargetPaths specifies which paths should the DataLoad load
	TargetPaths []TargetPath `yaml:"targetPaths,omitempty"`

	// Image specifies the image that the DataLoad job uses
	Image string `yaml:"image,omitempty"`
}

DataLoadInfo defines values used in DataLoad helm chart

type DataLoadPhase added in v0.4.0

type DataLoadPhase string
const (
	DataLoadPhaseNone     DataLoadPhase = ""
	DataLoadPhasePending  DataLoadPhase = "Pending"
	DataLoadPhaseLoading  DataLoadPhase = "Loading"
	DataLoadPhaseComplete DataLoadPhase = "Complete"
	DataLoadPhaseFailed   DataLoadPhase = "Failed"
)

type DataLoadValue

type DataLoadValue struct {
	DataLoadInfo DataLoadInfo `yaml:"dataloader"`
}

DataLoadValue defines the value yaml file used in DataLoad helm chart

type TargetPath added in v0.4.0

type TargetPath struct {
	// Path specifies the path should be loaded
	Path string `yaml:"path,omitempty"`

	// Replicas specifies how many replicas should be loaded
	Replicas int32 `yaml:"replicas,omitempty"`

	// FluidNative specifies if the path is a native mountPoint(e.g. hostpath or pvc)
	FluidNative bool `yaml:"fluidNative,omitempty"`
}

Jump to

Keyboard shortcuts

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