Documentation ¶
Index ¶
- Constants
- func CreateBackendStoragePoolsMapFromEncodedString(arg string) (map[string][]string, error)
- func MarshalRequestMap(requestMap map[string]Request) ([]byte, error)
- func UnmarshalOfferMap(mapJSON json.RawMessage) (map[string]Offer, error)
- func UnmarshalRequestMap(mapJSON json.RawMessage) (map[string]Request, error)
- type Offer
- type Request
- func CreateAttributeRequestFromAttributeValue(name, val string) (Request, error)
- func NewBoolRequest(request bool) Request
- func NewIntRequest(request int) Request
- func NewLabelRequest(request string) (Request, error)
- func NewLabelRequestMustCompile(request string) Request
- func NewStringRequest(request string) Request
- type Type
Constants ¶
View Source
const ( // Constants for integer storage category attributes IOPS = "IOPS" // Constants for boolean storage category attributes Snapshots = "snapshots" Clones = "clones" Encryption = "encryption" // Constants for string list attributes ProvisioningType = "provisioningType" BackendType = "backendType" Media = "media" Region = "region" Zone = "zone" // Constants for label attributes Labels = "labels" Selector = "selector" // Testing constants RecoveryTest = "recoveryTest" UniqueOptions = "uniqueOptions" TestingAttribute = "testingAttribute" NonexistentBool = "nonexistentBool" // Values for media HDD = "hdd" SSD = "ssd" Hybrid = "hybrid" // Values for provisioning type Thick = "thick" Thin = "thin" RequiredStorage = "requiredStorage" // deprecated, use additionalStoragePools StoragePools = "storagePools" AdditionalStoragePools = "additionalStoragePools" ExcludeStoragePools = "excludeStoragePools" )
Variables ¶
This section is empty.
Functions ¶
func UnmarshalOfferMap ¶
func UnmarshalOfferMap(mapJSON json.RawMessage) (map[string]Offer, error)
func UnmarshalRequestMap ¶
func UnmarshalRequestMap(mapJSON json.RawMessage) ( map[string]Request, error, )
Types ¶
type Offer ¶
func NewBoolOffer ¶
func NewBoolOfferFromOffers ¶
func NewIntOffer ¶
func NewLabelOffer ¶
func NewStringOffer ¶
type Request ¶
At the moment, there aren't any terribly useful methods to put here, but there might be. This is more here for symmetry at the moment.
func NewBoolRequest ¶
func NewIntRequest ¶
func NewLabelRequest ¶
func NewStringRequest ¶
Click to show internal directories.
Click to hide internal directories.