functions

package
v0.0.0-...-0907076 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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

func (*V3MetadataFunctionConfig) Export

func (t *V3MetadataFunctionConfig) Export(md yaml.MapSlice) (map[string][]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL