actions

package
v2.32.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: Apache-2.0 Imports: 15 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{}, 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 map[string]yaml.Node) (map[string][]byte, error)

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 (a *ActionConfig) GetFiles() ([]string, error)

func (*ActionConfig) Key

func (a *ActionConfig) Key() string

func (*ActionConfig) Validate

func (a *ActionConfig) Validate() error

func (*ActionConfig) WriteDiff

func (a *ActionConfig) WriteDiff(opts metadataobject.WriteDiffOpts) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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