Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SupportedKMSProviders = []string{aws.ReferenceScheme, azure.ReferenceScheme, hashivault.ReferenceScheme, gcp.ReferenceScheme} // TODO: create constants in to cosign? ValidPredicateTypes = sets.NewString("custom", "slsaprovenance", "spdx", "spdxjson", "cyclonedx", "link", "vuln") // If a static matches, define the behaviour for it. ValidStaticRefTypes = sets.NewString("fail", "pass") // Valid modes for a policy ValidModes = sets.NewString("enforce", "warn") // ValidResourceNames for a policy match selector. // By default, this is empty, which should allow any resource name, however, // this can be populated with the set of resources to allow in the validating // webhook, which should match the set of resources. ValidResourceNames = sets.NewString() )
Functions ¶
func ValidateKMS ¶ added in v0.6.0
func ValidateKMS(kms string) *apis.FieldError
func ValidateOCI ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.