deployrequest

package
v0.317.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 17 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 DeploymentCmd added in v0.317.0

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

DeploymentCmd shows the deployment details for a deploy request.

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 ForceCutoverCmd added in v0.316.0

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

ForceCutoverCmd is the command for forcing cutover on a stuck deploy request.

func ListCmd

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

ListCmd is the command for listing deploy requests.

func OperationsCmd added in v0.317.0

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

OperationsCmd lists schema operations for a deploy request.

func QueueCmd added in v0.317.0

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

QueueCmd lists deployments currently in the database deploy queue.

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 ReviewsCmd added in v0.317.0

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

ReviewsCmd lists reviews for 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

func StorageCheckCmd added in v0.317.0

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

StorageCheckCmd checks whether a deploy request has enough storage.

func ThrottlerCmd added in v0.317.0

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

ThrottlerCmd groups deploy-request throttler commands.

func ThrottlerShowCmd added in v0.317.0

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

ThrottlerShowCmd shows throttler configuration for a deploy request.

func ThrottlerUpdateCmd added in v0.317.0

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

ThrottlerUpdateCmd updates 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)

Jump to

Keyboard shortcuts

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