Documentation
¶
Index ¶
- func Cmd(ch *cmdutil.Helper) *cobra.Command
- func CreateCmd(ch *cmdutil.Helper) *cobra.Command
- func DeleteCmd(ch *cmdutil.Helper) *cobra.Command
- func ListCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowCmd(ch *cmdutil.Helper) *cobra.Command
- func UpdateCmd(ch *cmdutil.Helper) *cobra.Command
- type ReadOnlyReplica
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReadOnlyReplica ¶
type ReadOnlyReplica struct {
ID string `header:"id" json:"id"`
Name string `header:"name" json:"name"`
State string `header:"state" json:"state"`
Region string `header:"region" json:"region"`
Size string `header:"size" json:"size"`
Replicas int `header:"replicas" json:"replicas"`
Ready bool `header:"ready" json:"ready"`
CreatedAt int64 `header:"created_at,timestamp(ms|utc|human)" json:"created_at"`
// contains filtered or unexported fields
}
ReadOnlyReplica is the human/JSON/CSV view of a Postgres read-only replica.
func (*ReadOnlyReplica) MarshalCSVValue ¶
func (r *ReadOnlyReplica) MarshalCSVValue() interface{}
func (*ReadOnlyReplica) MarshalJSON ¶
func (r *ReadOnlyReplica) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.