Documentation ¶
Index ¶
- type ActionConfig
- func (a *ActionConfig) Build(metadata *yaml.MapSlice) error
- func (a *ActionConfig) Codegen(name string, derivePld types.DerivePayload) error
- func (a *ActionConfig) Create(name string, introSchema interface{}, deriveFrom string) error
- func (a *ActionConfig) CreateFiles() error
- func (a *ActionConfig) Export(metadata yaml.MapSlice) (map[string][]byte, error)
- func (a *ActionConfig) GetActionsFileContent() (content types.Common, err error)
- func (a *ActionConfig) GetActionsGraphQLFileContent() (sdl string, err error)
- func (a *ActionConfig) Name() string
- func (a *ActionConfig) Validate() error
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
Click to show internal directories.
Click to hide internal directories.