Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Edge ¶
type File ¶
type File struct { Path *string `json:"path" yaml:"path"` FailDataPath *string `json:"failDataPath" yaml:"failDataPath"` BatchSize *int `json:"batchSize" yaml:"batchSize"` Limit *int `json:"limit" yaml:"limit"` InOrder *bool `json:"inOrder" yaml:"inOrder"` Type *string `json:"type" yaml:"type"` CSV *CSVConfig `json:"csv" yaml:"csv"` Schema *Schema `json:"schema" yaml:"schema"` }
type NebulaClientConnection ¶
type NebulaClientSettings ¶
type NebulaClientSettings struct { Retry *int `json:"retry" yaml:"retry"` Concurrency *int `json:"concurrency" yaml:"concurrency"` ChannelBufferSize *int `json:"channelBufferSize" yaml:"channelBufferSize"` Space *string `json:"space" yaml:"space"` Connection *NebulaClientConnection `json:"connection" yaml:"connection"` PostStart *NebulaPostStart `json:"postStart" yaml:"postStart"` // from v1 PreStop *NebulaPreStop `json:"preStop" yaml:"preStop"` // from v1 }
type NebulaPostStart ¶
type NebulaPreStop ¶
type NebulaPreStop struct {
Commands *string `json:"commands" yaml:"commands"`
}
type Prop ¶
type Prop struct { Name *string `json:"name" yaml:"name"` Type *string `json:"type" yaml:"type"` Index *int `json:"index" yaml:"index"` }
func (*Prop) IsStringType ¶
type Schema ¶
type Schema struct { Type *string `json:"type" yaml:"type"` Edge *Edge `json:"edge" yaml:"edge"` Vertex *Vertex `json:"vertex" yaml:"vertex"` }
func (*Schema) CollectEmptyPropsTagNames ¶
type Tag ¶
type VID ¶
type VID struct { Index *int `json:"index" yaml:"index"` Function *string `json:"function" yaml:"function"` Type *string `json:"type" yaml:"type"` }
func (*VID) ParseFunction ¶
type YAMLConfig ¶
type YAMLConfig struct { Version *string `json:"version" yaml:"version"` Description *string `json:"description" yaml:"description"` RemoveTempFiles *bool `json:"removeTempFiles" yaml:"removeTempFiles"` // from v1 NebulaClientSettings *NebulaClientSettings `json:"clientSettings" yaml:"clientSettings"` LogPath *string `json:"logPath" yaml:"logPath"` Files []*File `json:"files" yaml:"files"` }
func Parse ¶
func Parse(filename string) (*YAMLConfig, error)
func (*YAMLConfig) ValidateAndReset ¶
func (config *YAMLConfig) ValidateAndReset(dir string) error
Click to show internal directories.
Click to hide internal directories.