validate

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2018 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiManagementServiceName added in v1.17.0

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

func ApiManagementServicePublisherEmail added in v1.17.0

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

func ApiManagementServicePublisherName added in v1.17.0

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

func CognitiveServicesAccountName added in v1.17.0

func CognitiveServicesAccountName() schema.SchemaValidateFunc

func DayOfTheWeek added in v1.17.0

func DayOfTheWeek(ignoreCase bool) schema.SchemaValidateFunc

func DevTestLabName added in v1.17.0

func DevTestLabName() schema.SchemaValidateFunc

func DevTestVirtualMachineName added in v1.17.0

func DevTestVirtualMachineName(maxLength int) schema.SchemaValidateFunc

func DevTestVirtualNetworkUsagePermissionType added in v1.17.0

func DevTestVirtualNetworkUsagePermissionType() schema.SchemaValidateFunc

func IPv4Address added in v1.9.0

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

func IPv4AddressOrEmpty added in v1.9.0

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

func IPv6Address added in v1.17.0

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

func IntBetweenAndNot added in v1.9.0

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

func MACAddress added in v1.9.0

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

func Month added in v1.17.0

func Month(ignoreCase bool) schema.SchemaValidateFunc

func PortNumber added in v1.13.0

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

func PortNumberOrZero added in v1.16.0

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

func RFC3339DateInFutureBy added in v1.9.0

func RFC3339DateInFutureBy(d time.Duration) schema.SchemaValidateFunc

RFC3339 date is duration d or greater into the future

func RFC3339Time added in v1.9.0

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 added in v1.16.0

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

func SharedImageName added in v1.16.0

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

func SharedImageVersionName added in v1.16.0

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

func URLIsHTTPOrHTTPS added in v1.9.0

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

func URLIsHTTPS added in v1.16.0

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

func URLWithScheme added in v1.9.0

func URLWithScheme(validSchemes []string) schema.SchemaValidateFunc

func UUID added in v1.10.0

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

func UrlIsHttpOrHttps added in v1.9.0

func UrlIsHttpOrHttps() schema.SchemaValidateFunc

func UrlWithScheme added in v1.9.0

func UrlWithScheme(validSchemes []string) schema.SchemaValidateFunc

func VirtualNetworkRuleName added in v1.14.0

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