Documentation ¶
Index ¶
- type RemoteSchemaConfig
- func (r *RemoteSchemaConfig) BaseDirectory() string
- func (r *RemoteSchemaConfig) Build() (map[string]interface{}, error)
- func (r *RemoteSchemaConfig) CreateFiles() error
- func (r *RemoteSchemaConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, error)
- func (r *RemoteSchemaConfig) Filename() string
- func (r *RemoteSchemaConfig) GetFiles() ([]string, error)
- func (r *RemoteSchemaConfig) Key() string
- func (r *RemoteSchemaConfig) Validate() error
- func (r *RemoteSchemaConfig) WriteDiff(opts metadataobject.WriteDiffOpts) error
- type SchemaDefinition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteSchemaConfig ¶
type RemoteSchemaConfig struct { MetadataDir string // contains filtered or unexported fields }
func New ¶
func New(ec *cli.ExecutionContext, baseDir string) *RemoteSchemaConfig
func (*RemoteSchemaConfig) BaseDirectory ¶
func (r *RemoteSchemaConfig) BaseDirectory() string
func (*RemoteSchemaConfig) Build ¶
func (r *RemoteSchemaConfig) Build() (map[string]interface{}, error)
func (*RemoteSchemaConfig) CreateFiles ¶
func (r *RemoteSchemaConfig) CreateFiles() error
func (*RemoteSchemaConfig) Export ¶
func (r *RemoteSchemaConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, error)
func (*RemoteSchemaConfig) Filename ¶
func (r *RemoteSchemaConfig) Filename() string
func (*RemoteSchemaConfig) GetFiles ¶
func (r *RemoteSchemaConfig) GetFiles() ([]string, error)
func (*RemoteSchemaConfig) Key ¶
func (r *RemoteSchemaConfig) Key() string
func (*RemoteSchemaConfig) Validate ¶
func (r *RemoteSchemaConfig) Validate() error
func (*RemoteSchemaConfig) WriteDiff ¶
func (r *RemoteSchemaConfig) WriteDiff(opts metadataobject.WriteDiffOpts) error
type SchemaDefinition ¶
type SchemaDefinition struct {
Schema string `yaml:"schema"`
}
Click to show internal directories.
Click to hide internal directories.