Documentation ¶
Index ¶
- func GetCloudPolicySpecification() *policy.PolicySpecification
- func GetTppPolicySpecification() *policy.PolicySpecification
- func IsArrayIntEqual(expectedValues, values []int) bool
- func IsArrayStringEqual(expectedValues, values []string) bool
- func RandAppName() string
- func RandCN() string
- func RandCitName() string
- func RandSpecificCN(cn string) string
- func RandSshKeyId() string
- func RandTppPolicyName() string
- type Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCloudPolicySpecification ¶ added in v4.14.0
func GetCloudPolicySpecification() *policy.PolicySpecification
func GetTppPolicySpecification ¶ added in v4.14.0
func GetTppPolicySpecification() *policy.PolicySpecification
func IsArrayIntEqual ¶ added in v4.14.0
func IsArrayStringEqual ¶ added in v4.14.0
func RandAppName ¶ added in v4.14.0
func RandAppName() string
func RandCitName ¶ added in v4.14.0
func RandCitName() string
func RandSpecificCN ¶ added in v4.18.0
func RandSshKeyId ¶ added in v4.15.0
func RandSshKeyId() string
func RandTppPolicyName ¶ added in v4.14.0
func RandTppPolicyName() string
Types ¶
type Context ¶
type Context struct { TPPurl string TPPuser string TPPPassword string TPPaccessToken string TPPZone string TPPZoneRestricted string TPPZoneECDSA string TPPRefreshToken string ClientID string CloudUrl string CloudAPIkey string CloudZone string CloudZoneRestricted string }
func GetEnvContext ¶
func GetEnvContext() *Context
Click to show internal directories.
Click to hide internal directories.