Documentation ¶
Index ¶
- func DisplayText(item Displayable, out io.Writer, noHeaders bool, includeCols []string) error
- type Account
- type Action
- type CDN
- type Certificate
- type DatabaseBackups
- type DatabaseConnection
- type DatabaseDBs
- type DatabaseMaintenanceWindow
- type DatabasePools
- type DatabaseReplicas
- type DatabaseUsers
- type Databases
- type Displayable
- type Displayer
- type Domain
- type DomainRecord
- type Droplet
- type Firewall
- type FloatingIP
- type Image
- type Kernel
- type Key
- type KubernetesClusters
- type KubernetesNodePools
- type KubernetesNodeSizes
- type KubernetesRegions
- type KubernetesVersions
- type LoadBalancer
- type PlugDesc
- type Plugin
- type Project
- type ProjectResource
- type RateLimit
- type Region
- type Size
- type Snapshot
- type Tag
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayText ¶ added in v1.32.2
DisplayText writes tabbed content to the passed in io.Writer while potentially adding or removing headers.
Types ¶
type Certificate ¶
type Certificate struct {
Certificates do.Certificates
}
func (*Certificate) ColMap ¶
func (c *Certificate) ColMap() map[string]string
func (*Certificate) Cols ¶
func (c *Certificate) Cols() []string
func (*Certificate) KV ¶
func (c *Certificate) KV() []map[string]interface{}
type DatabaseBackups ¶ added in v1.15.0
type DatabaseBackups struct {
DatabaseBackups do.DatabaseBackups
}
func (*DatabaseBackups) ColMap ¶ added in v1.15.0
func (db *DatabaseBackups) ColMap() map[string]string
func (*DatabaseBackups) Cols ¶ added in v1.15.0
func (db *DatabaseBackups) Cols() []string
func (*DatabaseBackups) JSON ¶ added in v1.15.0
func (db *DatabaseBackups) JSON(out io.Writer) error
func (*DatabaseBackups) KV ¶ added in v1.15.0
func (db *DatabaseBackups) KV() []map[string]interface{}
type DatabaseConnection ¶ added in v1.15.0
type DatabaseConnection struct {
DatabaseConnection do.DatabaseConnection
}
func (*DatabaseConnection) ColMap ¶ added in v1.15.0
func (dc *DatabaseConnection) ColMap() map[string]string
func (*DatabaseConnection) Cols ¶ added in v1.15.0
func (dc *DatabaseConnection) Cols() []string
func (*DatabaseConnection) JSON ¶ added in v1.15.0
func (dc *DatabaseConnection) JSON(out io.Writer) error
func (*DatabaseConnection) KV ¶ added in v1.15.0
func (dc *DatabaseConnection) KV() []map[string]interface{}
type DatabaseDBs ¶ added in v1.15.0
type DatabaseDBs struct {
DatabaseDBs do.DatabaseDBs
}
func (*DatabaseDBs) ColMap ¶ added in v1.15.0
func (db *DatabaseDBs) ColMap() map[string]string
func (*DatabaseDBs) Cols ¶ added in v1.15.0
func (db *DatabaseDBs) Cols() []string
func (*DatabaseDBs) KV ¶ added in v1.15.0
func (db *DatabaseDBs) KV() []map[string]interface{}
type DatabaseMaintenanceWindow ¶ added in v1.15.0
type DatabaseMaintenanceWindow struct {
DatabaseMaintenanceWindow do.DatabaseMaintenanceWindow
}
func (*DatabaseMaintenanceWindow) ColMap ¶ added in v1.15.0
func (dmw *DatabaseMaintenanceWindow) ColMap() map[string]string
func (*DatabaseMaintenanceWindow) Cols ¶ added in v1.15.0
func (dmw *DatabaseMaintenanceWindow) Cols() []string
func (*DatabaseMaintenanceWindow) JSON ¶ added in v1.15.0
func (dmw *DatabaseMaintenanceWindow) JSON(out io.Writer) error
func (*DatabaseMaintenanceWindow) KV ¶ added in v1.15.0
func (dmw *DatabaseMaintenanceWindow) KV() []map[string]interface{}
type DatabasePools ¶ added in v1.15.0
type DatabasePools struct {
DatabasePools do.DatabasePools
}
func (*DatabasePools) ColMap ¶ added in v1.15.0
func (dp *DatabasePools) ColMap() map[string]string
func (*DatabasePools) Cols ¶ added in v1.15.0
func (dp *DatabasePools) Cols() []string
func (*DatabasePools) KV ¶ added in v1.15.0
func (dp *DatabasePools) KV() []map[string]interface{}
type DatabaseReplicas ¶ added in v1.15.0
type DatabaseReplicas struct { DatabaseReplicas do.DatabaseReplicas Short bool }
func (*DatabaseReplicas) ColMap ¶ added in v1.15.0
func (dr *DatabaseReplicas) ColMap() map[string]string
func (*DatabaseReplicas) Cols ¶ added in v1.15.0
func (dr *DatabaseReplicas) Cols() []string
func (*DatabaseReplicas) JSON ¶ added in v1.15.0
func (dr *DatabaseReplicas) JSON(out io.Writer) error
func (*DatabaseReplicas) KV ¶ added in v1.15.0
func (dr *DatabaseReplicas) KV() []map[string]interface{}
type DatabaseUsers ¶ added in v1.15.0
type DatabaseUsers struct {
DatabaseUsers do.DatabaseUsers
}
func (*DatabaseUsers) ColMap ¶ added in v1.15.0
func (du *DatabaseUsers) ColMap() map[string]string
func (*DatabaseUsers) Cols ¶ added in v1.15.0
func (du *DatabaseUsers) Cols() []string
func (*DatabaseUsers) KV ¶ added in v1.15.0
func (du *DatabaseUsers) KV() []map[string]interface{}
type Displayable ¶
type Displayable interface { Cols() []string ColMap() map[string]string KV() []map[string]interface{} JSON(io.Writer) error }
Displayable is a displable entity. These are used for printing results.
type Displayer ¶
type Displayer struct { OutputType string ColumnList string NoHeaders bool Item Displayable Out io.Writer }
Displayer has the display options, the item to display, and where to display to
type DomainRecord ¶
type DomainRecord struct {
DomainRecords do.DomainRecords
}
func (*DomainRecord) ColMap ¶
func (dr *DomainRecord) ColMap() map[string]string
func (*DomainRecord) Cols ¶
func (dr *DomainRecord) Cols() []string
func (*DomainRecord) KV ¶
func (dr *DomainRecord) KV() []map[string]interface{}
type FloatingIP ¶
type FloatingIP struct {
FloatingIPs do.FloatingIPs
}
func (*FloatingIP) ColMap ¶
func (fi *FloatingIP) ColMap() map[string]string
func (*FloatingIP) Cols ¶
func (fi *FloatingIP) Cols() []string
func (*FloatingIP) KV ¶
func (fi *FloatingIP) KV() []map[string]interface{}
type KubernetesClusters ¶ added in v1.12.0
type KubernetesClusters struct { KubernetesClusters do.KubernetesClusters Short bool }
func (*KubernetesClusters) ColMap ¶ added in v1.12.0
func (clusters *KubernetesClusters) ColMap() map[string]string
func (*KubernetesClusters) Cols ¶ added in v1.12.0
func (clusters *KubernetesClusters) Cols() []string
func (*KubernetesClusters) JSON ¶ added in v1.12.0
func (clusters *KubernetesClusters) JSON(out io.Writer) error
func (*KubernetesClusters) KV ¶ added in v1.12.0
func (clusters *KubernetesClusters) KV() []map[string]interface{}
type KubernetesNodePools ¶ added in v1.12.0
type KubernetesNodePools struct {
KubernetesNodePools do.KubernetesNodePools
}
func (*KubernetesNodePools) ColMap ¶ added in v1.12.0
func (nodePools *KubernetesNodePools) ColMap() map[string]string
func (*KubernetesNodePools) Cols ¶ added in v1.12.0
func (nodePools *KubernetesNodePools) Cols() []string
func (*KubernetesNodePools) JSON ¶ added in v1.12.0
func (nodePools *KubernetesNodePools) JSON(out io.Writer) error
func (*KubernetesNodePools) KV ¶ added in v1.12.0
func (nodePools *KubernetesNodePools) KV() []map[string]interface{}
type KubernetesNodeSizes ¶ added in v1.12.1
type KubernetesNodeSizes struct {
KubernetesNodeSizes do.KubernetesNodeSizes
}
func (*KubernetesNodeSizes) ColMap ¶ added in v1.12.1
func (nodeSizes *KubernetesNodeSizes) ColMap() map[string]string
func (*KubernetesNodeSizes) Cols ¶ added in v1.12.1
func (nodeSizes *KubernetesNodeSizes) Cols() []string
func (*KubernetesNodeSizes) JSON ¶ added in v1.12.1
func (nodeSizes *KubernetesNodeSizes) JSON(out io.Writer) error
func (*KubernetesNodeSizes) KV ¶ added in v1.12.1
func (nodeSizes *KubernetesNodeSizes) KV() []map[string]interface{}
type KubernetesRegions ¶ added in v1.12.1
type KubernetesRegions struct {
KubernetesRegions do.KubernetesRegions
}
func (*KubernetesRegions) ColMap ¶ added in v1.12.1
func (regions *KubernetesRegions) ColMap() map[string]string
func (*KubernetesRegions) Cols ¶ added in v1.12.1
func (regions *KubernetesRegions) Cols() []string
func (*KubernetesRegions) JSON ¶ added in v1.12.1
func (regions *KubernetesRegions) JSON(out io.Writer) error
func (*KubernetesRegions) KV ¶ added in v1.12.1
func (regions *KubernetesRegions) KV() []map[string]interface{}
type KubernetesVersions ¶ added in v1.12.0
type KubernetesVersions struct {
KubernetesVersions do.KubernetesVersions
}
func (*KubernetesVersions) ColMap ¶ added in v1.12.0
func (versions *KubernetesVersions) ColMap() map[string]string
func (*KubernetesVersions) Cols ¶ added in v1.12.0
func (versions *KubernetesVersions) Cols() []string
func (*KubernetesVersions) JSON ¶ added in v1.12.0
func (versions *KubernetesVersions) JSON(out io.Writer) error
func (*KubernetesVersions) KV ¶ added in v1.12.0
func (versions *KubernetesVersions) KV() []map[string]interface{}
type LoadBalancer ¶
type LoadBalancer struct {
LoadBalancers do.LoadBalancers
}
func (*LoadBalancer) ColMap ¶
func (lb *LoadBalancer) ColMap() map[string]string
func (*LoadBalancer) Cols ¶
func (lb *LoadBalancer) Cols() []string
func (*LoadBalancer) KV ¶
func (lb *LoadBalancer) KV() []map[string]interface{}
type ProjectResource ¶
type ProjectResource struct {
ProjectResources do.ProjectResources
}
func (*ProjectResource) ColMap ¶
func (p *ProjectResource) ColMap() map[string]string
func (*ProjectResource) Cols ¶
func (p *ProjectResource) Cols() []string
func (*ProjectResource) KV ¶
func (p *ProjectResource) KV() []map[string]interface{}
Click to show internal directories.
Click to hide internal directories.