Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalResolver ¶
type LocalResolver struct {
// contains filtered or unexported fields
}
LocalResolver will find local operator packages: folders or tgz
func NewLocal ¶
func NewLocal() *LocalResolver
NewLocal creates a resolver for local operator package
type PackageResolver ¶
type PackageResolver struct {
// contains filtered or unexported fields
}
PackageResolver is the source of resolver of operator packages.
func New ¶
func New(repo *repo.Client) *PackageResolver
New creates an operator package resolver for non-repository packages
func (*PackageResolver) Resolve ¶
Resolve provides a one stop to acquire any non-repo packages by trying to look for package files resolving the operator name to: - a local tgz file - a local directory - a url to a tgz - an operator name in the remote repository in that order. Should there exist a local folder e.g. `cassandra` it will take precedence over the remote repository package with the same name.
type Resolver ¶
Resolver will try to resolve a given package name to either local tarball, folder, remote url or an operator in the remote repository.
type URLResolver ¶
type URLResolver struct {
// contains filtered or unexported fields
}
URLResolver will resolve a packages from a url