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
Click to show internal directories.
Click to hide internal directories.