Documentation
¶
Overview ¶
Package externalrepo provides an interface and implementations to external repositories that store packages.
Index ¶
- Variables
- func CheckRepositoryConnection(ctx context.Context, repo *configapi.Repository, ...) error
- func CreateRepositoryImpl(ctx context.Context, repositorySpec *configapi.Repository, ...) (repository.Repository, error)
- func RepositoryKey(repositorySpec *configapi.Repository) (repository.RepositoryKey, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ExternalRepoInUnitTestMode bool = false
)
Functions ¶
func CheckRepositoryConnection ¶ added in v1.5.4
func CheckRepositoryConnection(ctx context.Context, repo *configapi.Repository, options externalrepotypes.ExternalRepoOptions) error
func CreateRepositoryImpl ¶
func CreateRepositoryImpl(ctx context.Context, repositorySpec *configapi.Repository, options externalrepotypes.ExternalRepoOptions) (repository.Repository, error)
func RepositoryKey ¶
func RepositoryKey(repositorySpec *configapi.Repository) (repository.RepositoryKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.