Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginManifest ¶
type PluginManifest struct { Plugin string `json:"plugin"` Version string `json:"version"` KeyID string `json:"keyId"` Time int64 `json:"time"` Files map[string]string `json:"files"` // V2 supported fields ManifestVersion string `json:"manifestVersion"` SignatureType plugins.SignatureType `json:"signatureType"` SignedByOrg string `json:"signedByOrg"` SignedByOrgName string `json:"signedByOrgName"` RootURLs []string `json:"rootUrls"` }
PluginManifest holds details for the file manifest
type Signature ¶
type Signature struct {
// contains filtered or unexported fields
}
func ProvideService ¶
func ProvideService(kr plugins.KeyRetriever) *Signature
type UnsignedPluginAuthorizer ¶
type UnsignedPluginAuthorizer struct {
// contains filtered or unexported fields
}
func NewUnsignedAuthorizer ¶
func NewUnsignedAuthorizer(cfg *config.Cfg) *UnsignedPluginAuthorizer
func ProvideOSSAuthorizer ¶
func ProvideOSSAuthorizer(cfg *config.Cfg) *UnsignedPluginAuthorizer
func (*UnsignedPluginAuthorizer) CanLoadPlugin ¶
func (u *UnsignedPluginAuthorizer) CanLoadPlugin(p *plugins.Plugin) bool
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator(authorizer plugins.PluginLoaderAuthorizer) Validator
Click to show internal directories.
Click to hide internal directories.