buildpolicy

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPolicies

func BuildPolicies(namespace string) ([]v1beta1.BuildPolicy, error)

BuildPolicies returns all BuildPolicies in the specified namespaces Pass in an empty string to get all BuildPolicies in all namespaces

func ValidateBuildPolicy

func ValidateBuildPolicy(bp v1beta1.BuildPolicy, builtFrom string) error

ValidateBuildPolicy checks if an image satisfies BuildPolicy requirements It returns an error if an image does not pass

Types

type ValidateFunc

type ValidateFunc func(bp v1beta1.BuildPolicy, buildFrom string) error

ValidateFunc defines the type for Validating Build Policies

Jump to

Keyboard shortcuts

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