validate

package
v0.0.0-...-bb04048 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	HostSpecific bool
	// contains filtered or unexported fields
}

func NewValidator

func NewValidator(spec *rspec.Spec, bundlePath string, hostSpecific bool) Validator

func NewValidatorFromPath

func NewValidatorFromPath(bundlePath string, hostSpecific bool) (Validator, error)

func (*Validator) CheckAll

func (v *Validator) CheckAll() (msgs []string)

func (*Validator) CheckHooks

func (v *Validator) CheckHooks() (msgs []string)

func (*Validator) CheckLinux

func (v *Validator) CheckLinux() (msgs []string)

Linux only

func (*Validator) CheckLinuxResources

func (v *Validator) CheckLinuxResources() (msgs []string)

func (*Validator) CheckMandatoryFields

func (v *Validator) CheckMandatoryFields() []string

func (*Validator) CheckMounts

func (v *Validator) CheckMounts() (msgs []string)

func (*Validator) CheckPlatform

func (v *Validator) CheckPlatform() (msgs []string)

func (*Validator) CheckProcess

func (v *Validator) CheckProcess() (msgs []string)

func (*Validator) CheckRootfsPath

func (v *Validator) CheckRootfsPath() (msgs []string)

func (*Validator) CheckSeccomp

func (v *Validator) CheckSeccomp() (msgs []string)

func (*Validator) CheckSemVer

func (v *Validator) CheckSemVer() (msgs []string)

Jump to

Keyboard shortcuts

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