Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(ctx context.Context, soapURL, user, password, vsphereserver string, insecure bool) (provider.Provider, error)
NewProvider returns an vSphere Provider
func ResourceTypeStrings ¶
func ResourceTypeStrings() []string
ResourceTypeStrings returns a slice of all String values of the enum
Types ¶
type ResourceType ¶
type ResourceType int
ResourceType is the type used to define all the Resources from the Provider
func ResourceTypeString ¶
func ResourceTypeString(s string) (ResourceType, error)
ResourceTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func ResourceTypeValues ¶
func ResourceTypeValues() []ResourceType
ResourceTypeValues returns all values of the enum
func (ResourceType) IsAResourceType ¶
func (i ResourceType) IsAResourceType() bool
IsAResourceType returns "true" if the value is listed in the enum definition. "false" otherwise
func (ResourceType) String ¶
func (i ResourceType) String() string
Click to show internal directories.
Click to hide internal directories.