actions

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionConfig

type ActionConfig struct {
	MetadataDir  string
	ActionConfig *types.ActionExecutionConfig
	// contains filtered or unexported fields
}

func New

func New(ec *cli.ExecutionContext, baseDir string) *ActionConfig

func (*ActionConfig) BaseDirectory

func (a *ActionConfig) BaseDirectory() string

func (*ActionConfig) Build

func (a *ActionConfig) Build() (map[string]interface{}, metadataobject.ErrParsingMetadataObject)

func (*ActionConfig) Codegen

func (a *ActionConfig) Codegen(name string, derivePld types.DerivePayload) error

func (*ActionConfig) Create

func (a *ActionConfig) Create(name string, introSchema interface{}, deriveFrom string) error

func (*ActionConfig) CreateFiles

func (a *ActionConfig) CreateFiles() error

func (*ActionConfig) Export

func (a *ActionConfig) Export(metadata map[string]yaml.Node) (map[string][]byte, metadataobject.ErrParsingMetadataObject)

func (*ActionConfig) Filename

func (a *ActionConfig) Filename() string

func (*ActionConfig) GetActionsFileContent

func (a *ActionConfig) GetActionsFileContent() (content types.Common, err error)

func (*ActionConfig) GetActionsGraphQLFileContent

func (a *ActionConfig) GetActionsGraphQLFileContent() (sdl string, err error)

func (*ActionConfig) GetFiles

func (*ActionConfig) Key

func (a *ActionConfig) Key() string

func (*ActionConfig) Validate

func (a *ActionConfig) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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