Documentation ¶
Index ¶
- func BytesToHumanReadibleUnit(bytes uint64) string
- func DisplayText(item Displayable, out io.Writer, noHeaders bool, includeCols []string) error
- type Account
- type Action
- type Apps
- type Balance
- type BillingHistory
- type CDN
- type Certificate
- type DatabaseBackups
- type DatabaseConnection
- type DatabaseDBs
- type DatabaseMaintenanceWindow
- type DatabasePools
- type DatabaseReplicas
- type DatabaseSQLModes
- type DatabaseUsers
- type Databases
- type Deployments
- type Displayable
- type Displayer
- type Domain
- type DomainRecord
- type Droplet
- type Firewall
- type FloatingIP
- type Image
- type Invoice
- type InvoiceList
- type InvoiceSummary
- type Kernel
- type Key
- type KubernetesClusters
- type KubernetesNodePools
- type KubernetesNodeSizes
- type KubernetesRegions
- type KubernetesVersions
- type LoadBalancer
- type OneClick
- type PlugDesc
- type Plugin
- type Project
- type ProjectResource
- type RateLimit
- type Region
- type Registry
- type Repository
- type RepositoryTag
- type Size
- type Snapshot
- type Tag
- type VPC
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToHumanReadibleUnit ¶ added in v1.42.0
BytesToHumanReadibleUnit converts byte input to a human-readable form using the largest notation possible.
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 BillingHistory ¶ added in v1.40.0
type BillingHistory struct {
*do.BillingHistory
}
func (*BillingHistory) ColMap ¶ added in v1.40.0
func (i *BillingHistory) ColMap() map[string]string
func (*BillingHistory) Cols ¶ added in v1.40.0
func (i *BillingHistory) Cols() []string
func (*BillingHistory) KV ¶ added in v1.40.0
func (i *BillingHistory) KV() []map[string]interface{}
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 DatabaseSQLModes ¶ added in v1.35.0
type DatabaseSQLModes struct {
DatabaseSQLModes []string
}
func (*DatabaseSQLModes) ColMap ¶ added in v1.35.0
func (dsm *DatabaseSQLModes) ColMap() map[string]string
func (*DatabaseSQLModes) Cols ¶ added in v1.35.0
func (dsm *DatabaseSQLModes) Cols() []string
func (*DatabaseSQLModes) JSON ¶ added in v1.35.0
func (dsm *DatabaseSQLModes) JSON(out io.Writer) error
func (*DatabaseSQLModes) KV ¶ added in v1.35.0
func (dsm *DatabaseSQLModes) 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 Deployments ¶ added in v1.46.0
type Deployments []*godo.Deployment
func (Deployments) ColMap ¶ added in v1.46.0
func (d Deployments) ColMap() map[string]string
func (Deployments) Cols ¶ added in v1.46.0
func (d Deployments) Cols() []string
func (Deployments) KV ¶ added in v1.46.0
func (d Deployments) 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 InvoiceList ¶ added in v1.39.0
type InvoiceList struct {
*do.InvoiceList
}
func (*InvoiceList) ColMap ¶ added in v1.39.0
func (i *InvoiceList) ColMap() map[string]string
func (*InvoiceList) Cols ¶ added in v1.39.0
func (i *InvoiceList) Cols() []string
func (*InvoiceList) KV ¶ added in v1.39.0
func (i *InvoiceList) KV() []map[string]interface{}
type InvoiceSummary ¶ added in v1.39.0
type InvoiceSummary struct {
*do.InvoiceSummary
}
func (*InvoiceSummary) ColMap ¶ added in v1.39.0
func (i *InvoiceSummary) ColMap() map[string]string
func (*InvoiceSummary) Cols ¶ added in v1.39.0
func (i *InvoiceSummary) Cols() []string
func (*InvoiceSummary) KV ¶ added in v1.39.0
func (i *InvoiceSummary) 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 OneClick ¶ added in v1.44.0
OneClick is the struct with the OneClickService on it.
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{}
type Repository ¶ added in v1.42.0
type Repository struct {
Repositories []do.Repository
}
func (*Repository) ColMap ¶ added in v1.42.0
func (r *Repository) ColMap() map[string]string
func (*Repository) Cols ¶ added in v1.42.0
func (r *Repository) Cols() []string
func (*Repository) KV ¶ added in v1.42.0
func (r *Repository) KV() []map[string]interface{}
type RepositoryTag ¶ added in v1.42.0
type RepositoryTag struct {
Tags []do.RepositoryTag
}
func (*RepositoryTag) ColMap ¶ added in v1.42.0
func (r *RepositoryTag) ColMap() map[string]string
func (*RepositoryTag) Cols ¶ added in v1.42.0
func (r *RepositoryTag) Cols() []string
func (*RepositoryTag) KV ¶ added in v1.42.0
func (r *RepositoryTag) KV() []map[string]interface{}
Source Files ¶
- 1_click.go
- account.go
- action.go
- apps.go
- balance.go
- billing_history.go
- cdn.go
- certificate.go
- database.go
- domain.go
- droplet.go
- firewall.go
- floating_ip.go
- image.go
- invoice.go
- invoice_list.go
- invoice_summary.go
- kernel.go
- key.go
- kubernetes.go
- load_balancer.go
- output.go
- plugin.go
- project.go
- rate_limit.go
- region.go
- registry.go
- size.go
- snapshot.go
- tag.go
- util.go
- volume.go
- vpc.go
Click to show internal directories.
Click to hide internal directories.