Documentation
¶
Index ¶
- func DisplayJSON(w io.Writer, data interface{}) error
- func DisplayJSONPath(w io.Writer, template string, data interface{}) error
- func DisplayPP(w io.Writer, data interface{}) error
- func DisplayTable(w io.Writer, data [][]string, header []string) error
- func DisplayText(w io.Writer, data []string) error
- func DisplayYAML(w io.Writer, data interface{}) error
- func JSONToYAML(j []byte) ([]byte, error)
- func RenderTime(t *time.Time) string
- type AvailabilityZones
- func (o AvailabilityZones) JSON(w io.Writer) error
- func (o AvailabilityZones) JSONPath(w io.Writer, template string) error
- func (o AvailabilityZones) PP(w io.Writer) error
- func (o AvailabilityZones) TableData(w io.Writer) error
- func (o AvailabilityZones) Text(w io.Writer) error
- func (o AvailabilityZones) YAML(w io.Writer) error
- type Categories
- type Clusters
- type Displayable
- type FloatingIps
- type Hosts
- type Images
- type Projects
- type RoutingPolicies
- func (o RoutingPolicies) JSON(w io.Writer) error
- func (o RoutingPolicies) JSONPath(w io.Writer, template string) error
- func (o RoutingPolicies) PP(w io.Writer) error
- func (o RoutingPolicies) TableData(w io.Writer) error
- func (o RoutingPolicies) Text(w io.Writer) error
- func (o RoutingPolicies) YAML(w io.Writer) error
- type Subnets
- type Tasks
- type VMRecoveryPoints
- func (o VMRecoveryPoints) JSON(w io.Writer) error
- func (o VMRecoveryPoints) JSONPath(w io.Writer, template string) error
- func (o VMRecoveryPoints) PP(w io.Writer) error
- func (o VMRecoveryPoints) TableData(w io.Writer) error
- func (o VMRecoveryPoints) Text(w io.Writer) error
- func (o VMRecoveryPoints) YAML(w io.Writer) error
- type VMSnapshots
- type VMs
- type VirtualDisks
- type Vpcs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayJSON ¶ added in v0.0.20
func DisplayJSONPath ¶ added in v0.0.20
func DisplayTable ¶ added in v0.0.20
func DisplayYAML ¶ added in v0.0.20
func JSONToYAML ¶ added in v0.0.18
func RenderTime ¶ added in v0.1.14
Types ¶
type AvailabilityZones ¶
type AvailabilityZones struct {
schema.AvailabilityZoneListIntent
}
AvailabilityZones wraps a nutanix AvailabilityZoneListIntent.
type Categories ¶
type Categories struct {
schema.CategoryKeyList
}
Categories wraps a nutanix CategoryKeyList.
type Clusters ¶
type Clusters struct {
schema.ClusterListIntent
}
Clusters wraps a nutanix ImageListIntent.
type Displayable ¶
type FloatingIps ¶ added in v0.1.6
type FloatingIps struct {
schema.FloatingIPListIntent
}
Vpcs wraps a nutanix VpcListIntent.
type Hosts ¶ added in v0.0.24
type Hosts struct {
schema.HostListIntent
}
Hosts wraps a nutanix HostListItnent.
type Projects ¶
type Projects struct {
schema.ProjectListIntent
}
Projects wraps a nutanix ProjectListItnent.
type RoutingPolicies ¶ added in v0.1.6
type RoutingPolicies struct {
schema.RoutingPolicyListIntent
}
RoutingPolicies wraps a nutanix RoutingPolicyListIntent.
func (RoutingPolicies) JSONPath ¶ added in v0.1.6
func (o RoutingPolicies) JSONPath(w io.Writer, template string) error
type Subnets ¶
type Subnets struct {
schema.SubnetListIntent
}
Subnets wraps a nutanix SubnetListIntent.
type VMRecoveryPoints ¶
type VMRecoveryPoints struct {
schema.VMRecoveryPointListIntent
}
VMRecoveryPoints wraps a nutanix VMRecoveryPointListIntent.
type VMSnapshots ¶
type VMSnapshots struct {
v2.SnapshotList
}
VMSnapshots wraps a nutanix SnapshotList.
type VirtualDisks ¶
type VirtualDisks struct {
v2.VirtualDiskList
}
VirtualDisks wraps a nutanix VirtualDiskList.
type Vpcs ¶ added in v0.1.6
type Vpcs struct {
schema.VpcListIntent
}
Vpcs wraps a nutanix VpcListIntent.