Documentation ¶
Index ¶
- func GetCloudPolicySpecification() *policy.PolicySpecification
- func GetTppPolicySpecification() *policy.PolicySpecification
- func GetVAASpolicySpecificationEC() *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
- func StringArraysContainsSameValues(s1 []string, s2 []string) bool
- func UnifyECvalue(value string) 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 GetVAASpolicySpecificationEC ¶ added in v4.23.0
func GetVAASpolicySpecificationEC() *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
func StringArraysContainsSameValues ¶ added in v4.19.0
func UnifyECvalue ¶ added in v4.23.0
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 VAASzoneEC string CloudZoneRestricted string }
func GetEnvContext ¶
func GetEnvContext() *Context
Click to show internal directories.
Click to hide internal directories.