Documentation
¶
Index ¶
- func Cmd(ch *cmdutil.Helper) *cobra.Command
- func CreateCmd(ch *cmdutil.Helper) *cobra.Command
- func DeleteCmd(ch *cmdutil.Helper) *cobra.Command
- func DeprecatedCmd(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 ¶
func DeprecatedCmd ¶
DeprecatedCmd preserves the previous command name without advertising it. Cobra only prints Deprecated for the command that runs, so subcommands warn through PersistentPreRunE the same way the deprecated workflow command does.
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 dedicated read 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.