validate

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2018 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiManagementServiceName

func ApiManagementServiceName(v interface{}, k string) (ws []string, es []error)

func ApiManagementServicePublisherEmail

func ApiManagementServicePublisherEmail(v interface{}, k string) (ws []string, es []error)

func ApiManagementServicePublisherName

func ApiManagementServicePublisherName(v interface{}, k string) (ws []string, es []error)

func Base64String

func Base64String() schema.SchemaValidateFunc

func CognitiveServicesAccountName

func CognitiveServicesAccountName() schema.SchemaValidateFunc

func DayOfTheWeek

func DayOfTheWeek(ignoreCase bool) schema.SchemaValidateFunc

func DevSpaceName

func DevSpaceName() schema.SchemaValidateFunc

func DevTestLabName

func DevTestLabName() schema.SchemaValidateFunc

func DevTestVirtualMachineName

func DevTestVirtualMachineName(maxLength int) schema.SchemaValidateFunc

func DevTestVirtualNetworkUsagePermissionType

func DevTestVirtualNetworkUsagePermissionType() schema.SchemaValidateFunc

func IPv4Address

func IPv4Address(i interface{}, k string) (_ []string, errors []error)

func IPv4AddressOrEmpty

func IPv4AddressOrEmpty(i interface{}, k string) (_ []string, errors []error)

func IPv6Address

func IPv6Address(i interface{}, k string) (_ []string, errors []error)

func IntBetweenAndNot

func IntBetweenAndNot(min, max, not int) schema.SchemaValidateFunc

func MACAddress

func MACAddress(i interface{}, k string) (_ []string, errors []error)

func Month

func Month(ignoreCase bool) schema.SchemaValidateFunc

func PortNumber

func PortNumber(i interface{}, k string) (_ []string, errors []error)

func PortNumberOrZero

func PortNumberOrZero(i interface{}, k string) (_ []string, errors []error)

func PublicIpDomainNameLabel

func PublicIpDomainNameLabel(v interface{}, k string) (ws []string, errors []error)

func RFC3339DateInFutureBy

func RFC3339DateInFutureBy(d time.Duration) schema.SchemaValidateFunc

RFC3339 date is duration d or greater into the future

func RFC3339Time

func RFC3339Time(i interface{}, k string) (_ []string, errors []error)

todo, now in terraform helper, switch over once vended -> https://github.com/hashicorp/terraform/blob/master/helper/validation/validation.go#L263

func SharedImageGalleryName

func SharedImageGalleryName(v interface{}, k string) (ws []string, es []error)

func SharedImageName

func SharedImageName(v interface{}, k string) (ws []string, es []error)

func SharedImageVersionName

func SharedImageVersionName(v interface{}, k string) (ws []string, es []error)

func URLIsHTTPOrHTTPS

func URLIsHTTPOrHTTPS(i interface{}, k string) (_ []string, errors []error)

func URLIsHTTPS

func URLIsHTTPS(i interface{}, k string) (_ []string, errors []error)

func URLWithScheme

func URLWithScheme(validSchemes []string) schema.SchemaValidateFunc

func UUID

func UUID(i interface{}, k string) (_ []string, errors []error)

func UrlIsHttpOrHttps

func UrlIsHttpOrHttps() schema.SchemaValidateFunc

func UrlWithScheme

func UrlWithScheme(validSchemes []string) schema.SchemaValidateFunc

func VirtualNetworkRuleName

func VirtualNetworkRuleName(v interface{}, k string) (ws []string, errors []error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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