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 DeploymentCmd(ch *cmdutil.Helper) *cobra.Command
- func DiffCmd(ch *cmdutil.Helper) *cobra.Command
- func EditCmd(ch *cmdutil.Helper) *cobra.Command
- func ForceCutoverCmd(ch *cmdutil.Helper) *cobra.Command
- func ListCmd(ch *cmdutil.Helper) *cobra.Command
- func OperationsCmd(ch *cmdutil.Helper) *cobra.Command
- func QueueCmd(ch *cmdutil.Helper) *cobra.Command
- func RevertCmd(ch *cmdutil.Helper) *cobra.Command
- func ReviewCmd(ch *cmdutil.Helper) *cobra.Command
- func ReviewsCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowCmd(ch *cmdutil.Helper) *cobra.Command
- func SkipRevertCmd(ch *cmdutil.Helper) *cobra.Command
- func StorageCheckCmd(ch *cmdutil.Helper) *cobra.Command
- func ThrottlerCmd(ch *cmdutil.Helper) *cobra.Command
- func ThrottlerShowCmd(ch *cmdutil.Helper) *cobra.Command
- func ThrottlerUpdateCmd(ch *cmdutil.Helper) *cobra.Command
- type DeployOperationRow
- type DeployRequest
- type DeployRequestReviewRow
- type DeploymentRow
- type StorageCheckRow
- type ThrottlerRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployRequestCmd ¶
DeployRequestCmd encapsulates the commands for creatind and managing Deploy Requests.
func DeploymentCmd ¶ added in v0.317.0
DeploymentCmd shows the deployment details for a deploy request.
func ForceCutoverCmd ¶ added in v0.316.0
ForceCutoverCmd is the command for forcing cutover on a stuck deploy request.
func OperationsCmd ¶ added in v0.317.0
OperationsCmd lists schema operations for a deploy request.
func QueueCmd ¶ added in v0.317.0
QueueCmd lists deployments currently in the database deploy queue.
func RevertCmd ¶ added in v0.101.0
RevertCmd is the command for reverting a successfully deployed deploy request.
func ReviewsCmd ¶ added in v0.317.0
ReviewsCmd lists reviews for a deploy request.
func SkipRevertCmd ¶ added in v0.101.0
SkipRevertCmd is the command for skipping a pending deploy request revert
func StorageCheckCmd ¶ added in v0.317.0
StorageCheckCmd checks whether a deploy request has enough storage.
func ThrottlerCmd ¶ added in v0.317.0
ThrottlerCmd groups deploy-request throttler commands.
func ThrottlerShowCmd ¶ added in v0.317.0
ThrottlerShowCmd shows throttler configuration for a deploy request.
Types ¶
type DeployOperationRow ¶ added in v0.317.0
type DeployOperationRow struct {
ID string `header:"id" json:"id"`
State string `header:"state" json:"state"`
Keyspace string `header:"keyspace" json:"keyspace_name"`
Table string `header:"table" json:"table_name"`
Operation string `header:"operation" json:"operation_name"`
ProgressPercentage uint64 `header:"progress_%" json:"progress_percentage"`
ETASeconds int64 `header:"eta_seconds" json:"eta_seconds"`
// contains filtered or unexported fields
}
func (*DeployOperationRow) MarshalCSVValue ¶ added in v0.317.0
func (d *DeployOperationRow) MarshalCSVValue() interface{}
func (*DeployOperationRow) MarshalJSON ¶ added in v0.317.0
func (d *DeployOperationRow) MarshalJSON() ([]byte, error)
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)
type DeployRequestReviewRow ¶ added in v0.317.0
type DeployRequestReviewRow struct {
ID string `header:"id" json:"id"`
State string `header:"state" json:"state"`
Actor string `header:"actor" json:"actor"`
Body string `header:"body" json:"body"`
CreatedAt string `header:"created_at" json:"created_at"`
// contains filtered or unexported fields
}
func (*DeployRequestReviewRow) MarshalCSVValue ¶ added in v0.317.0
func (d *DeployRequestReviewRow) MarshalCSVValue() interface{}
func (*DeployRequestReviewRow) MarshalJSON ¶ added in v0.317.0
func (d *DeployRequestReviewRow) MarshalJSON() ([]byte, error)
type DeploymentRow ¶ added in v0.317.0
type DeploymentRow struct {
ID string `header:"id" json:"id"`
Number uint64 `header:"number" json:"deploy_request_number"`
State string `header:"state" json:"state"`
IntoBranch string `header:"into_branch" json:"into_branch"`
Deployable bool `header:"deployable" json:"deployable"`
AutoCutover bool `header:"auto_cutover" json:"auto_cutover"`
AutoDeleteBranch bool `header:"auto_delete_branch" json:"auto_delete_branch"`
InstantDDLEligible bool `header:"instant_ddl_eligible" json:"instant_ddl_eligible"`
QueuePaused bool `header:"queue_paused" json:"queue_paused"`
CreatedAt string `header:"created_at" json:"created_at"`
QueuedAt string `header:"queued_at" json:"queued_at"`
StartedAt string `header:"started_at" json:"started_at"`
FinishedAt string `header:"finished_at" json:"finished_at"`
// contains filtered or unexported fields
}
func (*DeploymentRow) MarshalCSVValue ¶ added in v0.317.0
func (d *DeploymentRow) MarshalCSVValue() interface{}
func (*DeploymentRow) MarshalJSON ¶ added in v0.317.0
func (d *DeploymentRow) MarshalJSON() ([]byte, error)
type StorageCheckRow ¶ added in v0.317.0
type StorageCheckRow struct {
EnoughStorage bool `header:"enough_storage" json:"enough_storage"`
Upgradeable bool `header:"upgradeable" json:"upgradeable"`
StorageBytesNeeded int64 `header:"storage_bytes_needed" json:"storage_bytes_needed"`
// contains filtered or unexported fields
}
func (*StorageCheckRow) MarshalCSVValue ¶ added in v0.317.0
func (s *StorageCheckRow) MarshalCSVValue() interface{}
func (*StorageCheckRow) MarshalJSON ¶ added in v0.317.0
func (s *StorageCheckRow) MarshalJSON() ([]byte, error)
type ThrottlerRow ¶ added in v0.317.0
type ThrottlerRow struct {
Keyspaces string `header:"keyspaces" json:"keyspaces"`
Configurations string `header:"configurations" json:"configurations"`
// contains filtered or unexported fields
}
func (*ThrottlerRow) MarshalCSVValue ¶ added in v0.317.0
func (t *ThrottlerRow) MarshalCSVValue() interface{}
func (*ThrottlerRow) MarshalJSON ¶ added in v0.317.0
func (t *ThrottlerRow) MarshalJSON() ([]byte, error)