validate

package
v0.0.0-...-b7fcf81 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetAnsibleDefaultIfNotPresent

func SetAnsibleDefaultIfNotPresent(spec *v1alpha1.AnsibleStep) error

SetAnsibleDefaultIfNotPresent updates default values if not present

func Validate

func Validate(spec *v1alpha1.OCIBuilderSpec) error

Validate validates a ocibuilder spec.

func ValidateBuildTemplateStep

func ValidateBuildTemplateStep(step v1alpha1.BuildTemplateStep) error

ValidateBuildTemplateStep validates build template step

func ValidateContext

func ValidateContext(spec *v1alpha1.BuildContext) error

ValidateContext validates the build context

func ValidateLogin

func ValidateLogin(spec v1alpha1.OCIBuilderSpec) error

ValidateLogin validates the top level login specification

func ValidateLoginPassword

func ValidateLoginPassword(spec v1alpha1.LoginSpec) (string, error)

ValidateLoginPassword validates the login spec for a password, and returns the first password found

func ValidateLoginUsername

func ValidateLoginUsername(spec v1alpha1.LoginSpec) (string, error)

ValidateLoginUsername validates the login spec for a username, and returns the first username found

func ValidateParams

func ValidateParams(specJSON []byte, src string) error

ValidateParams validates path to destination in param section of specs

func ValidatePush

func ValidatePush(spec v1alpha1.OCIBuilderSpec) error

ValidatePush validates the top level push specification

func ValidatePushSpec

func ValidatePushSpec(spec *v1alpha1.PushSpec) error

ValidatePushSpec validates the lower level push specification

Types

This section is empty.

Jump to

Keyboard shortcuts

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