Documentation ¶
Overview ¶
The loaders package implements loading of raw kubernetes manifests based off of the CommonSpec of an Addon object.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FlagChannel = "./channels"
Functions ¶
This section is empty.
Types ¶
type FSRepository ¶
type FSRepository struct {
// contains filtered or unexported fields
}
FSRepository is a Repository backed by a filesystem
func NewFSRepository ¶
func NewFSRepository(basedir string) *FSRepository
NewFSRepository is the constructor for an FSRepository
func (*FSRepository) LoadChannel ¶
func (*FSRepository) LoadManifest ¶
type GitRepository ¶
type GitRepository struct {
// contains filtered or unexported fields
}
func NewGitRepository ¶
func NewGitRepository(baseurl string) *GitRepository
NewGitRepository constructs an GitRepository
func (*GitRepository) LoadChannel ¶
func (*GitRepository) LoadManifest ¶
type HTTPRepository ¶
type HTTPRepository struct {
// contains filtered or unexported fields
}
HTTPRepository supports loading from http / https
func NewHTTPRepository ¶
func NewHTTPRepository(baseURL string) *HTTPRepository
NewHTTPRepository constructs an HTTPRepository
func (*HTTPRepository) LoadChannel ¶
func (*HTTPRepository) LoadManifest ¶
type ManifestLoader ¶
type ManifestLoader struct {
// contains filtered or unexported fields
}
func NewManifestLoader ¶
func NewManifestLoader(channel string) (*ManifestLoader, error)
NewManifestLoader provides a Repository that resolves versions based on an Addon object and loads manifests from the filesystem.
func (*ManifestLoader) ResolveManifest ¶
type Repository ¶
Click to show internal directories.
Click to hide internal directories.