Help us shape the future of Go! Take the 2026 Go Developer Survey

deployrequest

package
v0.139.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCmd added in v0.116.0

func ApplyCmd(ch *cmdutil.Helper) *cobra.Command

ApplyCmd is the command for applying a gated deploy requests.

func CancelCmd added in v0.116.0

func CancelCmd(ch *cmdutil.Helper) *cobra.Command

CancelCmd is the command for canceling deploy requests.

func CloseCmd

func CloseCmd(ch *cmdutil.Helper) *cobra.Command

CloseCmd is the command for closing deploy requests.

func CreateCmd

func CreateCmd(ch *cmdutil.Helper) *cobra.Command

CreateCmd is the command for creating deploy requests.

func DeployCmd

func DeployCmd(ch *cmdutil.Helper) *cobra.Command

DeployCmd is the command for deploying deploy requests.

func DeployRequestCmd

func DeployRequestCmd(ch *cmdutil.Helper) *cobra.Command

DeployRequestCmd encapsulates the commands for creatind and managing Deploy Requests.

func DiffCmd

func DiffCmd(ch *cmdutil.Helper) *cobra.Command

DiffCmd is the command for showing the diff of a deploy request.

func EditCmd added in v0.116.0

func EditCmd(ch *cmdutil.Helper) *cobra.Command

EditCmd is the command for editing preferences on deploy requests.

func ListCmd

func ListCmd(ch *cmdutil.Helper) *cobra.Command

ListCmd is the command for listing deploy requests.

func RevertCmd added in v0.101.0

func RevertCmd(ch *cmdutil.Helper) *cobra.Command

RevertCmd is the command for reverting a successfully deployed deploy request.

func ReviewCmd

func ReviewCmd(ch *cmdutil.Helper) *cobra.Command

ReviewCmd is the command for reviewing (approve, comment, etc.) a deploy request.

func ShowCmd

func ShowCmd(ch *cmdutil.Helper) *cobra.Command

ShowCmd is the command to show a deploy request.

func SkipRevertCmd added in v0.101.0

func SkipRevertCmd(ch *cmdutil.Helper) *cobra.Command

SkipRevertCmd is the command for skipping a pending deploy request revert

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{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL