Documentation ¶
Index ¶
Constants ¶
View Source
const (
MetadataFilename string = "functions.yaml"
)
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) Build ¶
func (f *FunctionConfig) Build(metadata *yaml.MapSlice) error
func (*FunctionConfig) CreateFiles ¶
func (f *FunctionConfig) CreateFiles() error
func (*FunctionConfig) Export ¶
func (f *FunctionConfig) Export(metadata yaml.MapSlice) (map[string][]byte, error)
func (*FunctionConfig) Name ¶
func (f *FunctionConfig) Name() string
func (*FunctionConfig) Validate ¶
func (f *FunctionConfig) Validate() 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.