Documentation ¶
Index ¶
- func KeyspaceCmd(ch *cmdutil.Helper) *cobra.Command
- func ListCmd(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 BranchKeyspace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyspaceCmd ¶
KeyspaceCmd handles the management of keyspaces within a database 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 BranchKeyspace ¶
type BranchKeyspace 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"` Resizing bool `header:"resizing" json:"resizing"` 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 (*BranchKeyspace) MarshalCSVValue ¶
func (k *BranchKeyspace) MarshalCSVValue() interface{}
func (*BranchKeyspace) MarshalJSON ¶
func (k *BranchKeyspace) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.