ccol

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Zone           = output.ColumnDef{Name: "Zone"}
	ID             = output.ColumnDef{Name: "ID"}
	Name           = output.ColumnDef{Name: "Name", Template: "{{ .Name | ellipsis 30 }}"}
	Tags           = output.ColumnDef{Name: "Tags", Template: "{{ if .Tags }}{{ .Tags | ellipsis 20 }}{{ end }}"}
	Description    = output.ColumnDef{Name: "Description", Template: "{{ .Description | ellipsis 20 | to_single_line}}"}
	Size           = output.ColumnDef{Name: "Size", Template: "{{ .SizeMB | mib_to_gib }}GB"}
	Scope          = output.ColumnDef{Name: "Scope", Template: "{{ .Scope | scope_to_key }}"}
	InstanceStatus = output.ColumnDef{Name: "InstanceStatus", Template: `{{ .InstanceStatus }}{{ if ne .Availability "available" }}({{ .Availability }}){{ end }}`}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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