Documentation ¶
Index ¶
- func CloseCmd(ch *cmdutil.Helper) *cobra.Command
- func CreateCmd(ch *cmdutil.Helper) *cobra.Command
- func DeployCmd(ch *cmdutil.Helper) *cobra.Command
- func DeployRequestCmd(ch *cmdutil.Helper) *cobra.Command
- func DiffCmd(ch *cmdutil.Helper) *cobra.Command
- func ListCmd(ch *cmdutil.Helper) *cobra.Command
- func RevertCmd(ch *cmdutil.Helper) *cobra.Command
- func ReviewCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowCmd(ch *cmdutil.Helper) *cobra.Command
- func SkipRevertCmd(ch *cmdutil.Helper) *cobra.Command
- type DeployRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployRequestCmd ¶
DeployRequestCmd encapsulates the commands for creatind and managing Deploy Requests.
func RevertCmd ¶ added in v0.101.0
RevertCmd is the command for reverting a successfully deployed deploy request.
Types ¶
type DeployRequest ¶ added in v0.14.0
type DeployRequest struct { ID string `header:"id" json:"id"` Number uint64 `header:"number" json:"number"` Branch string `header:"branch,timestamp(ms|utc|human)" json:"branch"` IntoBranch string `header:"into_branch,timestamp(ms|utc|human)" json:"into_branch"` Approved bool `header:"approved" json:"approved"` State string `header:"state" json:"state"` Deployment inlineDeployment `header:"inline" json:"deployment"` CreatedAt int64 `header:"created_at,timestamp(ms|utc|human)" json:"created_at"` UpdatedAt int64 `header:"updated_at,timestamp(ms|utc|human)" json:"updated_at"` ClosedAt *int64 `header:"closed_at,timestamp(ms|utc|human),-" json:"closed_at"` }
DeployRequest returns a table-serializable deplo request model.
func (*DeployRequest) MarshalCSVValue ¶ added in v0.17.0
func (d *DeployRequest) MarshalCSVValue() interface{}
Click to show internal directories.
Click to hide internal directories.