Documentation ¶
Index ¶
- type RemoteSchema
- type RemoteSchemaConfig
- func (r *RemoteSchemaConfig) BaseDirectory() string
- func (r *RemoteSchemaConfig) Build(metadata *yaml.MapSlice) metadataobject.ErrParsingMetadataObject
- func (r *RemoteSchemaConfig) CreateFiles() error
- func (r *RemoteSchemaConfig) Export(metadata yaml.MapSlice) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
- func (r *RemoteSchemaConfig) Filename() string
- func (r *RemoteSchemaConfig) GetFiles() ([]string, metadataobject.ErrParsingMetadataObject)
- func (r *RemoteSchemaConfig) Key() string
- func (r *RemoteSchemaConfig) Validate() error
- func (r *RemoteSchemaConfig) WriteDiff(opts metadataobject.WriteDiffOpts) metadataobject.ErrParsingMetadataObject
- type SchemaDefinition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteSchema ¶
type RemoteSchema struct { Name string `yaml:"name"` Definition interface{} `yaml:"definition"` Comment interface{} `yaml:"comment"` Permission interface{} `yaml:"permissions"` }
func (RemoteSchema) BaseDirectory ¶
func (r RemoteSchema) BaseDirectory() string
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(metadata *yaml.MapSlice) metadataobject.ErrParsingMetadataObject
func (*RemoteSchemaConfig) CreateFiles ¶
func (r *RemoteSchemaConfig) CreateFiles() error
func (*RemoteSchemaConfig) Export ¶
func (r *RemoteSchemaConfig) Export(metadata yaml.MapSlice) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
func (*RemoteSchemaConfig) Filename ¶
func (r *RemoteSchemaConfig) Filename() string
func (*RemoteSchemaConfig) GetFiles ¶
func (r *RemoteSchemaConfig) GetFiles() ([]string, metadataobject.ErrParsingMetadataObject)
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) metadataobject.ErrParsingMetadataObject
type SchemaDefinition ¶
type SchemaDefinition struct {
Schema string `yaml:"schema"`
}
Click to show internal directories.
Click to hide internal directories.