Documentation ¶
Index ¶
- func ResolveVersion(ctx context.Context, repo Repository, componentName string, channelName string) (string, error)
- type LocalRepository
- func (r *LocalRepository) LoadChannel(ctx context.Context, name string) (*loaders.Channel, error)
- func (r *LocalRepository) LoadManifest(ctx context.Context, componentName string, version string, ...) (map[string]string, error)
- func (r *LocalRepository) LoadNamespacedComponents(ctx context.Context, componentName string, version string) (map[string]string, error)
- type ManifestLoader
- type PerNamespaceManifestLoader
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveVersion ¶
Types ¶
type LocalRepository ¶
type LocalRepository struct {
// contains filtered or unexported fields
}
func NewLocalRepository ¶
func NewLocalRepository(basedir string) *LocalRepository
func (*LocalRepository) LoadChannel ¶
func (*LocalRepository) LoadManifest ¶
func (r *LocalRepository) LoadManifest(ctx context.Context, componentName string, version string, o declarative.DeclarativeObject) (map[string]string, error)
func (*LocalRepository) LoadNamespacedComponents ¶
type ManifestLoader ¶
type ManifestLoader struct {
// contains filtered or unexported fields
}
func NewManifestLoader ¶
func NewManifestLoader(repo Repository) *ManifestLoader
func (*ManifestLoader) ResolveManifest ¶
type PerNamespaceManifestLoader ¶
type PerNamespaceManifestLoader struct {
// contains filtered or unexported fields
}
func NewPerNamespaceManifestLoader ¶
func NewPerNamespaceManifestLoader(repo Repository) *PerNamespaceManifestLoader
func (*PerNamespaceManifestLoader) ResolveManifest ¶
type Repository ¶
type Repository interface { LoadChannel(ctx context.Context, name string) (*loaders.Channel, error) LoadManifest(ctx context.Context, component string, version string, o declarative.DeclarativeObject) (map[string]string, error) LoadNamespacedComponents(ctx context.Context, componentName string, version string) (map[string]string, error) }
Click to show internal directories.
Click to hide internal directories.