Documentation ¶
Index ¶
- Constants
- func ListComponentVersions(comp string, r ComponentResolver) ([]string, error)
- type ComponentResolver
- type ComponentVersionAccess
- type ComponentVersionResolver
- type CompoundComponentResolver
- type CompoundResolver
- type ContextProvider
- type DedicatedResolver
- func (d DedicatedResolver) LookupComponent(name string) (ResolvedComponentVersionProvider, error)
- func (d DedicatedResolver) LookupComponentProviders(name string) []ResolvedComponentProvider
- func (d DedicatedResolver) LookupComponentVersion(name string, version string) (ComponentVersionAccess, error)
- func (d DedicatedResolver) Repository() (Repository, error)
- type MatchingResolver
- type Repository
- type RepositorySpec
- type ResolvedComponentProvider
- type ResolvedComponentVersionProvider
- type ResolverRule
Constants ¶
View Source
const ( KIND_COMPONENTVERSION = internal.KIND_COMPONENTVERSION KIND_COMPONENT = internal.KIND_COMPONENT KIND_OCM_REFERENCE = internal.KIND_OCM_REFERENCE )
Variables ¶
This section is empty.
Functions ¶
func ListComponentVersions ¶
func ListComponentVersions(comp string, r ComponentResolver) ([]string, error)
Types ¶
type ComponentResolver ¶
type ComponentResolver = internal.ComponentResolver
func ComponentResolverForRepository ¶
func ComponentResolverForRepository(repo Repository) ComponentResolver
func NewCompoundComponentResolver ¶
func NewCompoundComponentResolver(res ...ComponentResolver) ComponentResolver
type ComponentVersionAccess ¶
type ComponentVersionAccess = internal.ComponentVersionAccess
func LookupComponentVersion ¶
func LookupComponentVersion(comp, vers string, r ComponentResolver) (ComponentVersionAccess, error)
type ComponentVersionResolver ¶
type ComponentVersionResolver = internal.ComponentVersionResolver
func ComponentVersionResolverForComponentResolver ¶
func ComponentVersionResolverForComponentResolver(r ComponentResolver) ComponentVersionResolver
func NewCompoundResolver ¶
func NewCompoundResolver(res ...ComponentVersionResolver) ComponentVersionResolver
func NewDedicatedResolver ¶
func NewDedicatedResolver(cv ...ComponentVersionAccess) ComponentVersionResolver
type CompoundComponentResolver ¶
type CompoundComponentResolver struct {
// contains filtered or unexported fields
}
func (*CompoundComponentResolver) AddResolver ¶
func (c *CompoundComponentResolver) AddResolver(r ComponentResolver)
func (*CompoundComponentResolver) LookupComponentProviders ¶
func (c *CompoundComponentResolver) LookupComponentProviders(name string) []ResolvedComponentProvider
type CompoundResolver ¶
type CompoundResolver struct {
// contains filtered or unexported fields
}
func (*CompoundResolver) AddResolver ¶
func (c *CompoundResolver) AddResolver(r ComponentVersionResolver)
func (*CompoundResolver) LookupComponentProviders ¶
func (c *CompoundResolver) LookupComponentProviders(name string) []ResolvedComponentProvider
func (*CompoundResolver) LookupComponentVersion ¶
func (c *CompoundResolver) LookupComponentVersion(name string, version string) (ComponentVersionAccess, error)
type ContextProvider ¶
type ContextProvider = internal.ContextProvider
type DedicatedResolver ¶
type DedicatedResolver []ComponentVersionAccess
func (DedicatedResolver) LookupComponent ¶
func (d DedicatedResolver) LookupComponent(name string) (ResolvedComponentVersionProvider, error)
func (DedicatedResolver) LookupComponentProviders ¶
func (d DedicatedResolver) LookupComponentProviders(name string) []ResolvedComponentProvider
func (DedicatedResolver) LookupComponentVersion ¶
func (d DedicatedResolver) LookupComponentVersion(name string, version string) (ComponentVersionAccess, error)
func (DedicatedResolver) Repository ¶
func (d DedicatedResolver) Repository() (Repository, error)
type MatchingResolver ¶
type MatchingResolver interface { ComponentVersionResolver ContextProvider AddRule(prefix string, spec RepositorySpec, prio ...int) Finalize() error }
func NewMatchingResolver ¶
func NewMatchingResolver(ctx ContextProvider, rules ...ResolverRule) MatchingResolver
type Repository ¶
type Repository = internal.Repository
type RepositorySpec ¶
type RepositorySpec = internal.RepositorySpec
type ResolvedComponentProvider ¶
type ResolvedComponentProvider = internal.ResolvedComponentProvider
type ResolvedComponentVersionProvider ¶
type ResolvedComponentVersionProvider = internal.ResolvedComponentVersionProvider
type ResolverRule ¶
type ResolverRule = internal.ResolverRule
func NewResolverRule ¶
func NewResolverRule(prefix string, spec RepositorySpec, prio ...int) ResolverRule
Click to show internal directories.
Click to hide internal directories.