# Packages
Package mock_v1 is a generated GoMock package.
# Functions
As is a type-cast function for Providers.
ParseAndValidate parses the given provider configuration and validates it.
# Constants
CredentialStateNotApplicable is the state of a credential when it is not applicable.
CredentialStateSet is the state of a credential when it is set.
CredentialStateUnset is the state of a credential when it is unset.
V1 is the version of the providers interface.
# Variables
ArtifactTypeContainerRetentionPeriod represents the retention period for container artifacts.
ErrEntityNotFound is the error returned when an entity is not found.
ErrProviderGitBranchNotFound is returned when the branch is not found.
ErrRepositoryEmpty is returned when the repository is empty.
ErrRepositoryTooLarge is returned when the configured size limit is exceeded.
# Interfaces
ArtifactProvider is the interface for artifact providers.
Credential is the general interface for all credentials.
GetArtifactVersionsFilter is the options to filter GetArtifactVersions.
Git is the interface for git providers.
GitCredential is the interface for credentials used when performing git operations.
GitHub is the interface for interacting with the GitHub REST API Add methods here for interacting with the GitHub Rest API.
GitHubCredential is the interface for credentials used when interacting with GitHub.
GitLabCredential is the interface for credentials used when interacting with GitLab.
ImageLister is the interface for listing images.
OAuth2TokenCredential is the interface for credentials that are OAuth2 tokens.
OCI is the interface for interacting with OCI registries.
Provider is the general interface for all providers.
RepoLister is the interface for listing repositories.
REST is the trait interface for interacting with an REST API.
RestCredential is the interface for credentials used in REST requests.