Documentation ¶
Index ¶
- func CreateStoreConfig(raw []byte, name string, source *configv1beta1.PluginSource) (rc.StorePluginConfig, error)
- func GetVerifierType(verifierSpec interface{}) string
- func SpecToKeyManagementProvider(raw []byte, keyManagamentSystemName string) (kmp.KeyManagementProvider, error)
- func SpecToPolicyEnforcer(raw []byte, policyType string) (policyprovider.PolicyProvider, error)
- func SpecToVerifierConfig(raw []byte, verifierName, verifierType, artifactTypes string, ...) (vc.VerifierConfig, error)
- func UpsertStoreMap(version, address, fullname, namespace string, storeConfig rc.StorePluginConfig) error
- func UpsertVerifier(version, address, namespace, objectName string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStoreConfig ¶
func CreateStoreConfig(raw []byte, name string, source *configv1beta1.PluginSource) (rc.StorePluginConfig, error)
Returns a store reference from spec
func GetVerifierType ¶
func GetVerifierType(verifierSpec interface{}) string
GetVerifierType returns verifier type and is backward compatible with the deprecated name field
func SpecToKeyManagementProvider ¶
func SpecToKeyManagementProvider(raw []byte, keyManagamentSystemName string) (kmp.KeyManagementProvider, error)
SpecToKeyManagementProvider creates KeyManagementProvider from KeyManagementProviderSpec config
func SpecToPolicyEnforcer ¶
func SpecToPolicyEnforcer(raw []byte, policyType string) (policyprovider.PolicyProvider, error)
func SpecToVerifierConfig ¶
func SpecToVerifierConfig(raw []byte, verifierName, verifierType, artifactTypes string, source *configv1beta1.PluginSource) (vc.VerifierConfig, error)
SpecToVerifierConfig returns a VerifierConfig from VerifierSpec
func UpsertStoreMap ¶
func UpsertStoreMap(version, address, fullname, namespace string, storeConfig rc.StorePluginConfig) error
func UpsertVerifier ¶
func UpsertVerifier(version, address, namespace, objectName string, verifierConfig vc.VerifierConfig) error
UpsertVerifier creates and adds a new verifier based on the provided configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.