validation

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateMachinePoolName = apivalidation.NameIsDNSSubdomain

Functions

func ValidateMachine

func ValidateMachine(machine *compute.Machine) field.ErrorList

ValidateMachine validates a Machine object.

func ValidateMachineClass

func ValidateMachineClass(machineClass *compute.MachineClass) field.ErrorList

ValidateMachineClass validates a MachineClass object.

func ValidateMachineClassUpdate

func ValidateMachineClassUpdate(newMachineClass, oldMachineClass *compute.MachineClass) field.ErrorList

ValidateMachineClassUpdate validates a MachineClass object before an update.

func ValidateMachinePool

func ValidateMachinePool(machinePool *compute.MachinePool) field.ErrorList

func ValidateMachinePoolUpdate

func ValidateMachinePoolUpdate(newMachinePool, oldMachinePool *compute.MachinePool) field.ErrorList

func ValidateMachineUpdate

func ValidateMachineUpdate(newMachine, oldMachine *compute.Machine) field.ErrorList

ValidateMachineUpdate validates a Machine object before an update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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