Documentation ¶
Index ¶
- type ActionConfig
- func (a *ActionConfig) BaseDirectory() string
- func (a *ActionConfig) Build() (map[string]interface{}, 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 map[string]yaml.Node) (map[string][]byte, error)
- func (a *ActionConfig) Filename() string
- func (a *ActionConfig) GetActionsFileContent() (content types.Common, err error)
- func (a *ActionConfig) GetActionsGraphQLFileContent() (sdl string, err error)
- func (a *ActionConfig) GetFiles() ([]string, error)
- func (a *ActionConfig) Key() string
- func (a *ActionConfig) Validate() error
- func (a *ActionConfig) WriteDiff(opts metadataobject.WriteDiffOpts) 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) 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
Click to show internal directories.
Click to hide internal directories.