Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeXMLBody(bodyType types.BodyType, resp *http.Response, out interface{}) error
- func GetVirtualIPsFromRDE(rde *swaggerClient.DefinedEntity) ([]string, error)
- func ReplaceVirtualIPsInRDE(rde *swaggerClient.DefinedEntity, updatedIps []string) (*swaggerClient.DefinedEntity, error)
Constants ¶
View Source
const ( EntityTypePrefix = "urn:vcloud:type" CAPVCDEntityTypeVendor = "vmware" CAPVCDEntityTypeNss = "capvcdCluster" CAPVCDEntityTypeVersion = "1.0.0" NativeClusterEntityTypeVendor = "cse" NativeClusterEntityTypeNss = "nativeCluster" NativeClusterEntityTypeVersion = "2.0.0" )
Variables ¶
View Source
var ( CAPVCDEntityTypeID = fmt.Sprintf("%s:%s:%s:%s", EntityTypePrefix, CAPVCDEntityTypeVendor, CAPVCDEntityTypeNss, CAPVCDEntityTypeVersion) NativeEntityTypeID = fmt.Sprintf("%s:%s:%s:%s", EntityTypePrefix, NativeClusterEntityTypeVendor, NativeClusterEntityTypeNss, NativeClusterEntityTypeVersion) )
Functions ¶
func DecodeXMLBody ¶
DecodeXMLBody is used to decode a response body of types.BodyType
func GetVirtualIPsFromRDE ¶
func GetVirtualIPsFromRDE(rde *swaggerClient.DefinedEntity) ([]string, error)
func ReplaceVirtualIPsInRDE ¶
func ReplaceVirtualIPsInRDE(rde *swaggerClient.DefinedEntity, updatedIps []string) (*swaggerClient.DefinedEntity, error)
ReplaceVirtualIPsInRDE replaces the virtual IPs array in the inputted rde. It does not make an API call to update the RDE.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.