Documentation
¶
Index ¶
- Constants
- Variables
- func IsCatalog(uuid string) bool
- func IsDisk(uuid string) bool
- func IsEdgeGateway(uuid string) bool
- func IsGroup(uuid string) bool
- func IsLoadBalancerPool(uuid string) bool
- func IsNetwork(uuid string) bool
- func IsOrg(uuid string) bool
- func IsSecurityGroup(uuid string) bool
- func IsToken(uuid string) bool
- func IsUUIDV4(uuid string) bool
- func IsUser(uuid string) bool
- func IsVAPP(uuid string) bool
- func IsVAPPTemplate(uuid string) bool
- func IsVCDA(uuid string) bool
- func IsVDC(uuid string) bool
- func IsVDCComputePolicy(uuid string) bool
- func IsVDCGroup(uuid string) bool
- func IsVDCStorageProfile(uuid string) bool
- func IsVM(uuid string) bool
- func IsValid(uuid string) bool
- func TestIsType(uuidType UUID) resource.CheckResourceAttrWithFunc
- type UUID
- func (uuid UUID) ContainsPrefix() bool
- func (uuid UUID) IsCatalog() bool
- func (uuid UUID) IsDisk() bool
- func (uuid UUID) IsGateway() bool
- func (uuid UUID) IsGroup() bool
- func (uuid UUID) IsLoadBalancerPool() bool
- func (uuid UUID) IsNetwork() bool
- func (uuid UUID) IsOrg() bool
- func (uuid UUID) IsSecurityGroup() bool
- func (uuid UUID) IsToken() bool
- func (uuid UUID) IsType(prefix UUID) bool
- func (uuid UUID) IsUser() bool
- func (uuid UUID) IsVAPP() bool
- func (uuid UUID) IsVAPPTemplate() bool
- func (uuid UUID) IsVDC() bool
- func (uuid UUID) IsVDCComputePolicy() bool
- func (uuid UUID) IsVDCGroup() bool
- func (uuid UUID) IsVDCStorageProfile() bool
- func (uuid UUID) IsVM() bool
- func (uuid UUID) String() string
Constants ¶
const ( // Prefixes is the list of prefixes. VcloudPrefix = "urn:vcloud:" CloudAvenuePrefix = "urn:cloudavenue:" // * VCD. Org = UUID(VcloudPrefix + "org:") VM = UUID(VcloudPrefix + "vm:") User = UUID(VcloudPrefix + "user:") Group = UUID(VcloudPrefix + "group:") Gateway = UUID(VcloudPrefix + "gateway:") VDC = UUID(VcloudPrefix + "vdc:") VDCGroup = UUID(VcloudPrefix + "vdcGroup:") VDCComputePolicy = UUID(VcloudPrefix + "vdcComputePolicy:") Network = UUID(VcloudPrefix + "network:") LoadBalancerPool = UUID(VcloudPrefix + "loadBalancerPool:") VDCStorageProfile = UUID(VcloudPrefix + "vdcstorageProfile:") VAPP = UUID(VcloudPrefix + "vapp:") VAPPTemplate = UUID(VcloudPrefix + "vappTemplate:") Disk = UUID(VcloudPrefix + "disk:") SecurityGroup = UUID(VcloudPrefix + "firewallGroup:") Catalog = UUID(VcloudPrefix + "catalog:") Token = UUID(VcloudPrefix + "token:") // * CLOUDAVENUE. VCDA = UUID(CloudAvenuePrefix + "vcda:") )
Variables ¶
var UUIDs = []UUID{ Org, VM, User, Group, Gateway, VDC, VDCGroup, VDCComputePolicy, Network, LoadBalancerPool, VDCStorageProfile, VAPP, VAPPTemplate, Disk, SecurityGroup, Catalog, Token, }
Functions ¶
func IsEdgeGateway ¶
IsEdgeGateway returns true if the UUID is a EdgeGateway UUID.
func IsLoadBalancerPool ¶
IsLoadBalancerPool returns true if the UUID is a LoadBalancerPool UUID.
func IsSecurityGroup ¶
IsSecurityGroup returns true if the UUID is a SecurityGroup UUID.
func IsVAPPTemplate ¶
IsVAPPTemplate returns true if the UUID is a VAPPTemplate UUID.
func IsVDCComputePolicy ¶
IsVDCComputePolicy returns true if the UUID is a VDCComputePolicy UUID.
func IsVDCGroup ¶
IsVDCGroup returns true if the UUID is a VDCGroup UUID.
func IsVDCStorageProfile ¶
IsVDCStorageProfile returns true if the UUID is a VDCStorageProfile UUID.
func TestIsType ¶
func TestIsType(uuidType UUID) resource.CheckResourceAttrWithFunc
Special functions for the terraform provider test. TestIsType returns true if the UUID is of the specified type.
Types ¶
type UUID ¶
type UUID string
func (UUID) ContainsPrefix ¶
ContainsPrefix returns true if the UUID contains any prefix.
func (UUID) IsLoadBalancerPool ¶
IsLoadBalancerPool returns true if the UUID is a LoadBalancerPool UUID.
func (UUID) IsSecurityGroup ¶
IsSecurityGroup returns true if the UUID is a SecurityGroup UUID.
func (UUID) IsVAPPTemplate ¶
IsVAPPTemplate returns true if the UUID is a VAPPTemplate UUID.
func (UUID) IsVDCComputePolicy ¶
IsVDCComputePolicy returns true if the UUID is a VDCComputePolicy UUID.
func (UUID) IsVDCGroup ¶
IsVDCGroup returns true if the UUID is a VDCGroup UUID.
func (UUID) IsVDCStorageProfile ¶
IsVDCStorageProfile returns true if the UUID is a VDCStorageProfile UUID.