test

package
v4.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 IsArrayIntEqual(expectedValues, values []int) bool

func IsArrayStringEqual added in v4.14.0

func IsArrayStringEqual(expectedValues, values []string) bool

func RandAppName added in v4.14.0

func RandAppName() string

func RandCN

func RandCN() string

func RandCitName added in v4.14.0

func RandCitName() string

func RandSpecificCN added in v4.18.0

func RandSpecificCN(cn string) string

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 StringArraysContainsSameValues(s1 []string, s2 []string) bool

func UnifyECvalue added in v4.23.0

func UnifyECvalue(value string) 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
	VAASzoneEC          string
	CloudZoneRestricted string
}

func GetEnvContext

func GetEnvContext() *Context

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL