Documentation ¶
Index ¶
- type FunctionConfig
- func (f *FunctionConfig) BaseDirectory() string
- func (f *FunctionConfig) Build() (map[string]interface{}, error)
- func (f *FunctionConfig) CreateFiles() error
- func (f *FunctionConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, error)
- func (f *FunctionConfig) Filename() string
- func (f *FunctionConfig) GetFiles() ([]string, error)
- func (f *FunctionConfig) Key() string
- func (f *FunctionConfig) Validate() error
- func (f *FunctionConfig) WriteDiff(opts metadataobject.WriteDiffOpts) error
- 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() (map[string]interface{}, error)
func (*FunctionConfig) CreateFiles ¶
func (f *FunctionConfig) CreateFiles() error
func (*FunctionConfig) Export ¶
func (f *FunctionConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, error)
func (*FunctionConfig) Filename ¶
func (f *FunctionConfig) Filename() string
func (*FunctionConfig) GetFiles ¶
func (f *FunctionConfig) GetFiles() ([]string, error)
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) error
type V3MetadataFunctionConfig ¶
type V3MetadataFunctionConfig struct {
*FunctionConfig
}
func NewV3MetadataFunctionConfig ¶
func NewV3MetadataFunctionConfig(ec *cli.ExecutionContext, baseDir string) *V3MetadataFunctionConfig
Click to show internal directories.
Click to hide internal directories.