Documentation
¶
Index ¶
- func GetCloudPolicySpecification() *policy.PolicySpecification
- func GetNGTSpolicySpecificationEC() *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 ¶
func GetCloudPolicySpecification() *policy.PolicySpecification
func GetNGTSpolicySpecificationEC ¶ added in v5.13.0
func GetNGTSpolicySpecificationEC() *policy.PolicySpecification
func GetTppPolicySpecification ¶
func GetTppPolicySpecification() *policy.PolicySpecification
func GetVAASpolicySpecificationEC ¶
func GetVAASpolicySpecificationEC() *policy.PolicySpecification
func IsArrayIntEqual ¶
func IsArrayStringEqual ¶
func RandAppName ¶
func RandAppName() string
func RandCitName ¶
func RandCitName() string
func RandSpecificCN ¶
func RandSshKeyId ¶
func RandSshKeyId() string
func RandTppPolicyName ¶
func RandTppPolicyName() string
func UnifyECvalue ¶
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
NGTSUrl string
NGTSClientID string
NGTSClientSecret string
NGTSTokenURL string
NGTSScope string
NGTSZone string
NGTSZoneRestricted string
NGTSCAName string
NGTSDigicertCAName string
NGTSEntrustCAName string
NGTSPolicyManagementSample string
NGTSzoneEC string
}
func GetEnvContext ¶
func GetEnvContext() *Context
Click to show internal directories.
Click to hide internal directories.