Documentation ¶
Index ¶
- type FunctionConfig
- func (f *FunctionConfig) BaseDirectory() string
- func (f *FunctionConfig) Build(metadata *yaml.MapSlice) metadataobject.ErrParsingMetadataObject
- func (f *FunctionConfig) CreateFiles() error
- func (f *FunctionConfig) Export(metadata yaml.MapSlice) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
- func (f *FunctionConfig) Filename() string
- func (f *FunctionConfig) GetFiles() ([]string, metadataobject.ErrParsingMetadataObject)
- func (f *FunctionConfig) Key() string
- func (f *FunctionConfig) Validate() error
- func (f *FunctionConfig) WriteDiff(opts metadataobject.WriteDiffOpts) metadataobject.ErrParsingMetadataObject
- type V3MetadataFunctionConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionConfig ¶
type FunctionConfig struct { MetadataDir string // contains filtered or unexported fields }
func New ¶
func New(ec *cli.ExecutionContext, baseDir string) *FunctionConfig
func (*FunctionConfig) BaseDirectory ¶
func (f *FunctionConfig) BaseDirectory() string
func (*FunctionConfig) Build ¶
func (f *FunctionConfig) Build(metadata *yaml.MapSlice) metadataobject.ErrParsingMetadataObject
func (*FunctionConfig) CreateFiles ¶
func (f *FunctionConfig) CreateFiles() error
func (*FunctionConfig) Export ¶
func (f *FunctionConfig) Export(metadata yaml.MapSlice) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
func (*FunctionConfig) Filename ¶
func (f *FunctionConfig) Filename() string
func (*FunctionConfig) GetFiles ¶
func (f *FunctionConfig) GetFiles() ([]string, metadataobject.ErrParsingMetadataObject)
func (*FunctionConfig) Key ¶
func (f *FunctionConfig) Key() string
func (*FunctionConfig) Validate ¶
func (f *FunctionConfig) Validate() error
func (*FunctionConfig) WriteDiff ¶
func (f *FunctionConfig) WriteDiff(opts metadataobject.WriteDiffOpts) metadataobject.ErrParsingMetadataObject
type V3MetadataFunctionConfig ¶
type V3MetadataFunctionConfig struct {
*FunctionConfig
}
func NewV3MetadataFunctionConfig ¶
func NewV3MetadataFunctionConfig(ec *cli.ExecutionContext, baseDir string) *V3MetadataFunctionConfig
func (*V3MetadataFunctionConfig) Export ¶
func (t *V3MetadataFunctionConfig) Export(md yaml.MapSlice) (map[string][]byte, metadataobject.ErrParsingMetadataObject)
Click to show internal directories.
Click to hide internal directories.