# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
DigestEqual returns true if the given Digests are considered equal.
NewCommit returns a new Commit.
NewDigest creates a new Digest.
NewLocalWasmPlugin returns a new Plugin for a local Wasm plugin.
NewPluginData returns a new PluginData.
NewPluginKey returns a new PluginKey.
NewStaticPluginKeyProvider returns a new PluginKeyProvider for a static set of PluginKeys.
NewUploadOptions returns a new UploadOptions.
ParseDigest parses a Digest from its string representation.
ParseDigestType parses a DigestType from its string representation.
ParsePluginType parses the PluginType from the string.
ParsePluginVisibility parses the PluginVisibility from the string.
UniqueDigestTypeForPluginKeys returns the unique DigestType for the given PluginKeys.
UploadWithCreateIfNotExist returns a new UploadOption that will result in the Plugins being created on the registry with the given visibility if they do not exist.
UploadWithLabels returns a new UploadOption that adds the given labels.
UploadWithSourceControlURL returns a new UploadOption that will set the source control url for the plugin contents uploaded.
# Constants
DigestTypeP1 represents the p1 plugin digest type.
PluginTypeCheck says the Plugin is a check plugin.
PluginVisibilityPublic says the Plugin is private on the registry.
PluginVisibilityPublic says the Plugin is public on the registry.
# Variables
AllDigestTypes are all known DigestTypes.
AllPluginTypeStrings is all format strings without aliases.
NopPluginDataProvider is a no-op PluginDataProvider.
NopPluginKeyProvider is a no-op PluginKeyProvider.
NopUploader is a no-op Uploader.
# Structs
DigestMismatchError is the error returned if the Digest of a downloaded Plugin or Commit does not match the expected digest in a buf.lock file.
# Interfaces
Commit represents a Commit for a Plugin on the BSR.
Digest is a digest of some content.
Plugin presents a BSR plugin.
PluginData presents the raw Plugin data read by PluginKey.
PluginDataProvider provides PluginsDatas.
PluginKey provides identifying information for a Plugin.
PluginKeyProvider provides PluginKeys for bufparse.Refs.
Uploader uploads Plugins.
UploadOptions are the possible options for upload.
# Type aliases
DigestType is a type of digest.
PluginType is the type of a Plugin.
PluginVisibility is the visibility of a Plugin on a registry.
UploadOption is an option for an Upload.