Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringToDurationHookFunc ¶
func StringToDurationHookFunc() mapstructure.DecodeHookFunc
Types ¶
type Endpoint ¶
type Endpoint struct {
Type abstract.ProviderType
Params any
}
type TransferYamlView ¶
type TransferYamlView struct {
ID string
TransferName string
Description string
Labels string
Status model.TransferStatus
Type abstract.TransferType
FolderID string
CloudID string
Src Endpoint
Dst Endpoint
RegularSnapshot *abstract.RegularSnapshot `yaml:"regular_snapshot"`
Transformation *transformer.Transformers `yaml:"transformation"`
DataObjects *model.DataObjects `yaml:"data_objects"`
TypeSystemVersion int `yaml:"type_system_version"`
}
func NewYamlView ¶
func NewYamlView(tr *model.Transfer) *TransferYamlView
func ParseTransferYaml ¶
func ParseTransferYaml(rawData []byte) (*TransferYamlView, error)
type UploadTables ¶
type UploadTables struct {
Tables []abstract.TableDescription
}
func ParseTablesYaml ¶
func ParseTablesYaml(rawData []byte) (*UploadTables, error)
func TablesFromYaml ¶
func TablesFromYaml(tablesParams *string) (*UploadTables, error)
Click to show internal directories.
Click to hide internal directories.