Documentation ¶
Index ¶
- func CreateCmd(ch *cmdutil.Helper) *cobra.Command
- func KeyspaceCmd(ch *cmdutil.Helper) *cobra.Command
- func ListCmd(ch *cmdutil.Helper) *cobra.Command
- func ResizeCancelCmd(ch *cmdutil.Helper) *cobra.Command
- func ResizeCmd(ch *cmdutil.Helper) *cobra.Command
- func ResizeStatusCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowVSchemaCmd(ch *cmdutil.Helper) *cobra.Command
- func UpdateVSchemaCmd(ch *cmdutil.Helper) *cobra.Command
- func VSchemaCmd(ch *cmdutil.Helper) *cobra.Command
- type Keyspace
- type KeyspaceResizeRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCmd ¶ added in v0.210.0
CreateCmd encapsulates the command for creating a new keyspace within a branch.
func KeyspaceCmd ¶
KeyspaceCmd handles the management of keyspaces within a database branch.
func ResizeCmd ¶ added in v0.212.0
ResizeCmd encapsulates the command for resizing a keyspace within a branch.
func ShowVSchemaCmd ¶
ShowVSchemaCmd is the command for showing a keyspace's VSchema.
func UpdateVSchemaCmd ¶
UpdateVSchemaCmd is the command for updating a keyspace's VSchema.
Types ¶
type Keyspace ¶ added in v0.213.0
type Keyspace struct { ID string `json:"id"` Name string `header:"name" json:"name"` Shards int `header:"shards" json:"shards"` Sharded bool `header:"sharded" json:"sharded"` Replicas uint64 `header:"replicas" json:"replicas"` ExtraReplicas uint64 `header:"extra_replicas" json:"extra_replicas"` Resizing bool `header:"resizing" json:"resizing"` PendingResize bool `header:"pending_resize" json:"resize_pending"` ClusterSize string `header:"cluster_size" json:"cluster_rate_name"` CreatedAt int64 `header:"created_at,timestamp(ms|utc|human)" json:"created_at"` UpdatedAt int64 `header:"updated_at,timestamp(ms|utc|human)" json:"updated_at"` // contains filtered or unexported fields }
func (*Keyspace) MarshalCSVValue ¶ added in v0.213.0
func (k *Keyspace) MarshalCSVValue() interface{}
func (*Keyspace) MarshalJSON ¶ added in v0.213.0
type KeyspaceResizeRequest ¶ added in v0.212.0
type KeyspaceResizeRequest struct { ID string `json:"id"` State string `header:"state" json:"state"` ClusterSize string `header:"cluster_size" json:"cluster_rate_name"` PreviousClusterSize string `header:"previous_cluster_size" json:"previous_cluster_rate_name"` PreviousReplicas uint `header:"previous_replicas" json:"previous_replicas"` Replicas uint `header:"replicas" json:"replicas"` ExtraReplicas uint `header:"extra_replicas" json:"extra_replicas"` CreatedAt int64 `header:"created_at,timestamp(ms|utc|human)" json:"created_at"` StartedAt *int64 `header:"started_at,timestamp(ms|utc|human)" json:"started_at"` CompletedAt *int64 `header:"completed_at,timestamp(ms|utc|human)" json:"completed_at"` // contains filtered or unexported fields }
func (*KeyspaceResizeRequest) MarshalCSVValue ¶ added in v0.212.0
func (k *KeyspaceResizeRequest) MarshalCSVValue() interface{}
func (*KeyspaceResizeRequest) MarshalJSON ¶ added in v0.212.0
func (k *KeyspaceResizeRequest) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.