Documentation ¶
Index ¶
- func SetAnsibleDefaultIfNotPresent(spec *v1alpha1.AnsibleStep) error
- func Validate(spec *v1alpha1.OCIBuilderSpec) error
- func ValidateBuildTemplateStep(step v1alpha1.BuildTemplateStep) error
- func ValidateContext(spec *v1alpha1.BuildContext) error
- func ValidateLogin(spec v1alpha1.OCIBuilderSpec) error
- func ValidateLoginPassword(spec v1alpha1.LoginSpec) (string, error)
- func ValidateLoginUsername(spec v1alpha1.LoginSpec) (string, error)
- func ValidateParams(specJSON []byte, src string) error
- func ValidatePush(spec v1alpha1.OCIBuilderSpec) error
- func ValidatePushSpec(spec *v1alpha1.PushSpec) error
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 ¶
ValidateLoginPassword validates the login spec for a password, and returns the first password found
func ValidateLoginUsername ¶
ValidateLoginUsername validates the login spec for a username, and returns the first username found
func ValidateParams ¶
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 ¶
ValidatePushSpec validates the lower level push specification
Types ¶
This section is empty.