validate

package
v1.44.1-0...-df9783c Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IQN = validation.All(
	validation.StringMatch(
		regexp.MustCompile(`iqn\.(1|2)\d{3}-(0[1-9]|1[0-2])\.[:0-9a-z-.]+\.[:0-9a-z-.]+$`),
		"IQN should follow the format `iqn.yyyy-mm.<abc>.<pqr>[:xyz]`; supported characters include [0-9a-z-.:]",
	),
	validation.StringLenBetween(4, 223),
)

Functions

func DiskPoolIscsiTargetLunId

func DiskPoolIscsiTargetLunId(input interface{}, key string) (warnings []string, errors []error)

func DiskPoolManagedDiskAttachment

func DiskPoolManagedDiskAttachment(input interface{}, key string) (warnings []string, errors []error)

func DiskPoolName

func DiskPoolName() pluginsdk.SchemaValidateFunc

func DiskPoolSku

func DiskPoolSku() pluginsdk.SchemaValidateFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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