Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterSKU ¶
type ClusterSKU struct {
Name string `header:"name" json:"name"`
Price string `header:"cost" json:"rate"`
CPU string `header:"cpu" json:"cpu"`
Memory string `header:"memory" json:"memory"`
Storage string `header:"storage,∞" json:"storage"`
Engine string `header:"engine" json:"engine"`
Configuration string `header:"configuration" json:"configuration"`
Replicas string `header:"replicas" json:"replicas"`
// contains filtered or unexported fields
}
ClusterSKU is the full format shown when displaying all engines (no --engine filter). Includes: name, cost, cpu, memory, storage, engine, configuration, replicas
func (*ClusterSKU) MarshalCSVValue ¶
func (c *ClusterSKU) MarshalCSVValue() interface{}
func (*ClusterSKU) MarshalJSON ¶
func (c *ClusterSKU) MarshalJSON() ([]byte, error)
type ClusterSKUSingleEngine ¶ added in v0.269.0
type ClusterSKUSingleEngine struct {
Name string `header:"name" json:"name"`
Price string `header:"cost" json:"rate"`
CPU string `header:"cpu" json:"cpu"`
Memory string `header:"memory" json:"memory"`
Storage string `header:"storage,∞" json:"storage"`
Configuration string `header:"configuration" json:"configuration"`
Replicas string `header:"replicas" json:"replicas"`
// contains filtered or unexported fields
}
ClusterSKUSingleEngine is the format for single-engine views (--engine mysql or --engine postgresql). Same as ClusterSKU but without the engine column (since it's implied by the filter).
func (*ClusterSKUSingleEngine) MarshalCSVValue ¶ added in v0.269.0
func (c *ClusterSKUSingleEngine) MarshalCSVValue() interface{}
func (*ClusterSKUSingleEngine) MarshalJSON ¶ added in v0.269.0
func (c *ClusterSKUSingleEngine) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.