actions

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: 13 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) Build

func (a *ActionConfig) Build(metadata *yaml.MapSlice) error

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 yaml.MapSlice) (map[string][]byte, error)

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) Name

func (a *ActionConfig) Name() 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