Documentation ¶
Overview ¶
Copyright 2022 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2022 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Index ¶
- type GoPluginManager
- func (o *GoPluginManager) Close() error
- func (o *GoPluginManager) Init() error
- func (o *GoPluginManager) LookupByAttestationFormat(format proto.AttestationFormat) (scheme.IScheme, error)
- func (o *GoPluginManager) LookupByMediaType(mediaType string) (scheme.IScheme, error)
- func (o *GoPluginManager) SupportedVerificationMediaTypes() ([]string, error)
- type ISchemePluginManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoPluginManager ¶
type GoPluginManager struct { Config config.Store DispatchTable map[string]*scheme.SchemeGoPlugin }
func New ¶
func New(cfg config.Store) *GoPluginManager
func (*GoPluginManager) Close ¶
func (o *GoPluginManager) Close() error
func (*GoPluginManager) Init ¶
func (o *GoPluginManager) Init() error
variables read from the config store:
- "go-plugin.folder"
func (*GoPluginManager) LookupByAttestationFormat ¶
func (o *GoPluginManager) LookupByAttestationFormat(format proto.AttestationFormat) (scheme.IScheme, error)
func (*GoPluginManager) LookupByMediaType ¶
func (o *GoPluginManager) LookupByMediaType(mediaType string) (scheme.IScheme, error)
GetPlugin returns the handle of the IScheme implementation
func (*GoPluginManager) SupportedVerificationMediaTypes ¶
func (o *GoPluginManager) SupportedVerificationMediaTypes() ([]string, error)
Click to show internal directories.
Click to hide internal directories.