Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsApprovedImageURI ¶
IsApprovedImageURI determines if the image URI is approved for use. Default is allow-all. Full filepath matching rules are applied to allow varying levels of globbing and wildcards. Examples: - Direct match: docker.myco.com/cello/cdk:1234 - Direct image, any tag: docker.myco.com/cello/cdk:* - Any image within a specific registry: docker.myco.com/*/*
func IsValidARN ¶
IsValidARN determines if the string is a valid AWS ARN.
func IsValidGitURI ¶
IsValidGitURI determines if the provided string is a valid git URI.
func IsValidImageURI ¶
IsValidImageURI determines if the image URI is a valid container image URI format.
func SetImageURIs ¶
func SetImageURIs(uris []string)
SetImageURIs restricts the approved container URIs to the provided set. To reset to a default allow-all state, provide an empty list.
func ValidateStruct ¶
func ValidateStruct(input interface{}) error
ValidateStruct validates the provided struct.
Types ¶
This section is empty.