Documentation ¶
Index ¶
- func AccTestCheckValueInKeyPattern(resourceName string, keyPattern *regexp.Regexp, checkValue string) resource.TestCheckFunc
- func AccessControlSchema() *schema.Schema
- func CheckLeadingTrailingSpaces(v interface{}, k string) (ws []string, errors []error)
- func ExternalServerListSchema(optional, required bool) *schema.Schema
- func ExternalServerSetSchema(optional, required bool) *schema.Schema
- func ForwardingMemberServerListSchema() *schema.Schema
- func GetMapList(v []interface{}) []map[string]interface{}
- func MemberServerListSchema(optional, required bool) *schema.Schema
- func ValidateAcType(v interface{}, k string) (ws []string, errors []error)
- func ValidateAddressAcPermission(v interface{}, k string) (ws []string, errors []error)
- func ValidateMaxLength(maxLength int) schema.SchemaValidateFunc
- func ValidateTSIGAlgorithm(v interface{}, k string) (ws []string, errors []error)
- func ValidateUnsignedInteger(v interface{}, k string) (ws []string, errors []error)
- func ValidateZoneFormat(v interface{}, k string) (ws []string, errors []error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccTestCheckValueInKeyPattern ¶
func AccTestCheckValueInKeyPattern(resourceName string, keyPattern *regexp.Regexp, checkValue string) resource.TestCheckFunc
AccTestCheckValueInKeyPattern : Function is used by acceptance tests where we want to check for a value in a set
func AccessControlSchema ¶
AccessControlSchema - returns the schema for an access control
func CheckLeadingTrailingSpaces ¶
CheckLeadingTrailingSpaces - Checks strings for any leading/trailing space
func ExternalServerListSchema ¶
ExternalServerListSchema - returns the schema for a list of external servers
func ExternalServerSetSchema ¶
ExternalServerSetSchema - returns the schema for a set of external servers
func ForwardingMemberServerListSchema ¶
ForwardingMemberServerListSchema - returns a list of Forwarding Member Servers
func GetMapList ¶
func GetMapList(v []interface{}) []map[string]interface{}
GetMapList - Get a list of maps out of a list of interfaces
func MemberServerListSchema ¶
MemberServerListSchema - returns the schema for a list of member server structs
func ValidateAcType ¶
ValidateAcType - validates if the access control type is correct
func ValidateAddressAcPermission ¶
ValidateAddressAcPermission - validates if the permission type is correct
func ValidateMaxLength ¶
func ValidateMaxLength(maxLength int) schema.SchemaValidateFunc
ValidateMaxLength - Checks the length of a string against the maximum allowed value
func ValidateTSIGAlgorithm ¶
ValidateTSIGAlgorithm - Check for valid Encription Algorithms
func ValidateUnsignedInteger ¶
ValidateUnsignedInteger - Checks the value we are passing is actually >0
func ValidateZoneFormat ¶
ValidateZoneFormat - Checks the Zone Format is valid
Types ¶
This section is empty.