Documentation
¶
Index ¶
- func ApplyCmd(ch *cmdutil.Helper) *cobra.Command
- func CancelCmd(ch *cmdutil.Helper) *cobra.Command
- 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 EditCmd(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" json:"branch"`
IntoBranch string `header:"into_branch" json:"into_branch"`
Approved bool `header:"approved" json:"approved"`
State string `header:"state" json:"state"`
Deployment inlineDeployment `header:"inline" json:"deployment"`
CreatedAt string `header:"created_at" json:"created_at"`
UpdatedAt string `header:"updated_at" json:"updated_at"`
ClosedAt string `header:"closed_at" json:"closed_at"`
// contains filtered or unexported fields
}
DeployRequest returns a table-serializable deplo request model.
func (*DeployRequest) MarshalCSVValue ¶ added in v0.17.0
func (d *DeployRequest) MarshalCSVValue() interface{}
func (*DeployRequest) MarshalJSON ¶ added in v0.156.0
func (d *DeployRequest) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.