Documentation ¶
Index ¶
- func ResolveVersion(ctx context.Context, repo Repository, componentName string, channelName string) (string, error)
- type Loader
- type LocalRepository
- func (r *LocalRepository) LoadChannel(_ context.Context, name string) (*loaders.Channel, error)
- func (r *LocalRepository) LoadManifest(_ context.Context, componentName string, version string, ...) (map[string]string, error)
- func (r *LocalRepository) LoadNamespacedComponents(_ context.Context, componentName string, version string) (map[string]string, error)
- type PerNamespaceManifestLoader
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveVersion ¶
Types ¶
type Loader ¶ added in v1.114.0
type Loader struct {
// contains filtered or unexported fields
}
func NewLoader ¶ added in v1.114.0
func NewLoader(repo Repository) *Loader
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(_ context.Context, componentName string, version string, o declarative.DeclarativeObject) (map[string]string, error)
func (*LocalRepository) LoadNamespacedComponents ¶
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.