validation

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config added in v0.3.1

func Config() config

Config returns default configuration

func ValidateDeploymentGroup added in v0.3.1

func ValidateDeploymentGroup(gspec dtypes.GroupSpec) error

ValidateDeploymentGroup does validation for provided deployment group

func ValidateDeploymentGroups

func ValidateDeploymentGroups(gspecs []dtypes.GroupSpec) error

ValidateDeploymentGroups does validation for all deployment groups

func ValidateManifest

func ValidateManifest(m manifest.Manifest) error

ValidateManifest does validation for manifest

func ValidateManifestWithDeployment

func ValidateManifestWithDeployment(m *manifest.Manifest, dgroups []dtypes.Group) error

ValidateManifestWithDeployment does basic validation and returns nil

func ValidateManifestWithGroupSpecs

func ValidateManifestWithGroupSpecs(m *manifest.Manifest, gspecs []*dtypes.GroupSpec) error

ValidateManifestWithGroupSpecs does validation for manifest with group specifications

func ValidateResourceList added in v0.3.1

func ValidateResourceList(rlist types.ResourceGroup) error

ValidateResourceList does basic validation for resources list

Types

This section is empty.

Jump to

Keyboard shortcuts

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