Documentation
¶
Index ¶
- func NewCmdActionConfig(ctx *cmd.Context) *cmd.Command
- func NewCmdCreate(ctx *cmd.Context, opts *CreateOpts) *cmd.Command
- func NewCmdDelete(ctx *cmd.Context) *cmd.Command
- func NewCmdList(ctx *cmd.Context) *cmd.Command
- func NewCmdRead(ctx *cmd.Context) *cmd.Command
- func NewCmdUpdate(ctx *cmd.Context) *cmd.Command
- type CreateOpts
- type DeleteOpts
- type ListOpts
- type ReadOpts
- type UpdateOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreate ¶
func NewCmdCreate(ctx *cmd.Context, opts *CreateOpts) *cmd.Command
Types ¶
type CreateOpts ¶
type CreateOpts struct {
wpopts.WaypointOpts
Name string
Description string
// Request Types. We only support setting a Oneof
Request *models.HashicorpCloudWaypointV20241122ActionConfigRequest
// Workarounds due to not being able to set these values directly in cmd.Flag
RequestCustomMethod string
RequestHeaders map[string]string
// Agent flavor fields
AgentGroup string
AgentOperation string
}
type DeleteOpts ¶
type DeleteOpts struct {
opts.WaypointOpts
Name string
}
type ListOpts ¶
type ListOpts struct {
opts.WaypointOpts
}
type ReadOpts ¶
type ReadOpts struct {
opts.WaypointOpts
Name string
}
type UpdateOpts ¶
type UpdateOpts struct {
opts.WaypointOpts
Name string
Description string
// Request Types. We only support setting a Oneof
Request *models.HashicorpCloudWaypointV20241122ActionConfigRequest
// Workarounds due to not being able to set these values directly in cmd.Flag
RequestCustomMethod string
RequestHeaders map[string]string
}
Click to show internal directories.
Click to hide internal directories.