Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchImageGlob ¶
func MatchImageGlob(image string, cip webhookv1alpha1.ClusterImagePolicy) (bool, error)
Types ¶
type OutputErr ¶
type OutputErr struct { Errors []string `json:"errors"` Warnings []string `json:"warnings"` Other []string `json:"other"` }
func VerifyImages ¶
func VerifyImages(ctx context.Context, cip webhookv1alpha1.ClusterImagePolicy, refs config.Images) (*[]webhook.PolicyResult, []OutputErr)
Click to show internal directories.
Click to hide internal directories.