Documentation ¶
Index ¶
- func Bool(v bool) *bool
- func CreateBuiltInTeamsCannotDeleteError() error
- func CreateClientInitializationError(methodName string) error
- func CreateInvalidClientStateError(ServiceName string) error
- func CreateInvalidParameterError(methodName string, name string) error
- func CreateInvalidPathError(ServiceName string) error
- func CreateItemNotFoundError(ServiceName string, methodName string, name string) error
- func CreateRequiredParameterIsEmptyError(parameter string) error
- func CreateRequiredParameterIsEmptyOrNilError(parameter string) error
- func CreateResourceNotFoundError(name string, identifier string, value string) error
- func CreateValidationFailureError(methodName string, err error) error
- func GetDefaultClient() *sling.Sling
- func GetRandomName() string
- func GetRandomString(length int) string
- func GetRandomThumbprint() string
- func GetSpaceID(spaceID string, clientSpaceID string) (string, error)
- func Int(v int) *int
- func Int64(v int64) *int64
- func IsEmpty(s string) bool
- func IsLinksEqual(linksA map[string]string, linksB map[string]string) bool
- func MissingSpaceIDError() error
- func PrettyJSON(data interface{}) string
- func String(v string) *string
- func TrimTemplate(uri string) string
- func ValidateMultipleProperties(validatePropertyErrors []error) error
- func ValidatePropertiesMatch(firstProperty, firstPropertyName, secondProperty, secondPropertyName string) error
- func ValidatePropertyValues(propertyName string, propertyValue string, validValues []string) error
- func ValidateRequiredPropertyValue(propertyName string, propertyValue string) error
- func ValidateRequiredUUID(propertyName string, id *uuid.UUID) error
- func ValidateSemanticVersion(propertyName string, version string) error
- func ValidateStringInSlice(str string, list []string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBuiltInTeamsCannotDeleteError ¶
func CreateBuiltInTeamsCannotDeleteError() error
func CreateInvalidPathError ¶
func CreateItemNotFoundError ¶
func CreateRequiredParameterIsEmptyError ¶ added in v2.33.0
func GetDefaultClient ¶
func GetRandomName ¶
func GetRandomName() string
func GetRandomString ¶ added in v2.45.0
func GetRandomThumbprint ¶ added in v2.38.0
func GetRandomThumbprint() string
func GetSpaceID ¶ added in v2.33.0
func MissingSpaceIDError ¶ added in v2.33.0
func MissingSpaceIDError() error
func PrettyJSON ¶
func PrettyJSON(data interface{}) string
func TrimTemplate ¶
func ValidateMultipleProperties ¶
ValidateMultipleProperties returns the first error in a list of property validations
func ValidatePropertiesMatch ¶
func ValidatePropertiesMatch(firstProperty, firstPropertyName, secondProperty, secondPropertyName string) error
ValidatePropertiesMatch checks two values against each other
func ValidatePropertyValues ¶
ValidatePropertyValues returns an error if the given string is not in a slice of strings
func ValidateRequiredPropertyValue ¶
ValidateRequiredPropertyValue returns an error if the property value is empty
func ValidateSemanticVersion ¶
func ValidateStringInSlice ¶
ValidateStringInSlice checks if a string is in the given slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.