package
0.0.1-mvp
Repository: https://github.com/kubermatic-labs/registryman.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetReplicationCapability function returns the ReplicationCapabilities of a registered registry provider.
New creates a provider specific Registry.
RegisterProviderImplementation is used by the different Registry interface implementations to register the Register constructors.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrAlreadyExists is an error value that indicates that the resource to be created exists already.
ErrNotImplemented is an error value that indicates that a method is not implemented by a registry provider.
ErrRecoverableError is an error value that indicates that the error shall be logged to the user but the operation can continue.

# Structs

ProjectMemberCredentials contains the username and password of a member (typically of type robot) that is created during the AssignMember operation of a Project.

# Interfaces

LdapMember is a ProjectMember that is stored in Ldap and as such it has a distinguished name (DN).
Project interface defines the methods that can be performed on a project of a registry.
ProjectAPI interface defines the methods of a registry which are related to the management of the projects.
ProjectMember interface defines the methods that are common for all types of project members.
Registry is an abstraction over registries.
RegistryConfig interface describes a registry configuration that is needed to create a new provider-specific Registry via its constructor.
ReplicationAPI interface defines the methods of a registry which are related to the management of the replication rules.
ReplicationCapabilities interface defines the methods that show the replication capabilities of a registry provider.
ReplicationRule interface declares the methods that can be used to manipulate the replication rule of a project.
Scanner interface contains the methods that can be used to inspect the parameters of an external vulnerability scanner.
Storage interface contains the methods that we use for storage related operations.

# Type aliases

RegistryCreator function type can be used to create a Registry interface.
ReplicationDirection shows the Project replication direction.
ReplicationTrigger describes the trigger event that starts the synchronization mechanism of the project.