package
1.2.1
Repository: https://github.com/notaryproject/notation-go.git
Documentation: pkg.go.dev

# Packages

Package proto defines the protocol layer for communication between notation and notation external plugin.

# Functions

NewCLIManager returns CLIManager for named pluginFS.
NewCLIPlugin returns a *CLIPlugin.

# Variables

ErrNotCompliant is returned by plugin methods when the response is not compliant.
ErrNotRegularFile is returned when the plugin file is not an regular file.

# Structs

CLIInstallOptions provides user customized options for plugin installation.
CLIManager implements Manager.
CLIPlugin implements Plugin interface to CLI plugins.
InstallEqualVersionError is returned when installing a plugin with version equal to the exisiting plugin version.
PluginDowngradeError is returned when installing a plugin with version lower than the exisiting plugin version.
PluginExecutableFileError is used when there is an issue with plugin executable file and should suggest user to check the existence, permission and platform/arch compatibility of plugin.
PluginMalformedError is used when there is an issue with plugin and should be fixed by plugin developers.

# Interfaces

Manager manages plugins installed on the system.

# Type aliases

GenericPlugin is the base requirement to be a plugin.
Plugin defines required methods to be a Plugin.
PluginDirectoryWalkError is used when there is an issue with plugins directory and should suggest user to check the permission of plugin directory.
SignPlugin defines the required methods to be a SignPlugin.
VerifyPlugin defines the required method to be a VerifyPlugin.