Documentation ¶
Overview ¶
Package serverusage provides the ability the ability to extend a server result with the extended usage information.
Example to Get an extended information:
type serverUsageExt struct { servers.Server serverusage.UsageExt } var serverWithUsageExt serverUsageExt err := servers.Get(computeClient, "d650a0ce-17c3-497d-961a-43c4af80998a").ExtractInto(&serverWithUsageExt) if err != nil { panic(err) } fmt.Printf("%+v\n", serverWithUsageExt)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UsageExt ¶
UsageExt represents OS-SRV-USG server response fields.
func (*UsageExt) UnmarshalJSON ¶
UnmarshalJSON helps to unmarshal UsageExt fields into needed values.
Click to show internal directories.
Click to hide internal directories.