Help us shape the future of Go! Take the 2026 Go Developer Survey

size

package
v0.272.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterCmd

func ClusterCmd(ch *cmdutil.Helper) *cobra.Command

func ListCmd

func ListCmd(ch *cmdutil.Helper) *cobra.Command

func SizeCmd

func SizeCmd(ch *cmdutil.Helper) *cobra.Command

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL