Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigType = "ocm" + cfgcpi.OCM_CONFIG_TYPE_SUFFIX ConfigTypeV1 = ConfigType + runtime.VersionSeparator + "v1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
runtime.ObjectVersionedType `json:",inline"`
Aliases map[string]*cpi.GenericRepositorySpec `json:"aliases,omitempty"`
Resolver []ResolverRule `json:"resolvers,omitempty"`
}
Config describes a memory based config interface.
func (*Config) AddResolverRule ¶ added in v0.3.0
type ResolverRule ¶ added in v0.3.0
type ResolverRule struct {
Prefix string `json:"prefix,omitempty"`
Prio *int `json:"priority,omitempty"`
Spec *cpi.GenericRepositorySpec `json:"repository"`
}
Click to show internal directories.
Click to hide internal directories.