Documentation
¶
Index ¶
- Constants
- Variables
- func ErrNoContext(name string) error
- func IsErrConfigNotApplicable(err error) bool
- func IsErrNoContext(err error) bool
- func IsGeneric(cfg Config) bool
- func RegisterConfigType(name string, atype ConfigType)
- type Config
- type ConfigType
- type ConfigTypeScheme
- type Context
- type ContextProvider
- type DefaultConfigType
- type GenericConfig
- type Updater
Constants ¶
View Source
const CONTEXT_TYPE = internal.CONTEXT_TYPE
View Source
const KIND_CONFIGTYPE = internal.KIND_CONFIGTYPE
View Source
const OCM_CONFIG_TYPE_SUFFIX = internal.OCM_CONFIG_TYPE_SUFFIX
Variables ¶
View Source
var DefaultContext = internal.DefaultContext
Functions ¶
func ErrNoContext ¶
func IsErrNoContext ¶
func RegisterConfigType ¶
func RegisterConfigType(name string, atype ConfigType)
Types ¶
type Config ¶
func NewGenericConfig ¶
func NewGenericConfig(data []byte, unmarshaler runtime.Unmarshaler) (Config, error)
type ConfigType ¶
type ConfigType = internal.ConfigType
func NewConfigType ¶
func NewConfigType(name string, proto Config, usages ...string) ConfigType
type ConfigTypeScheme ¶
type ConfigTypeScheme = internal.ConfigTypeScheme
func NewConfigTypeScheme ¶
func NewConfigTypeScheme() ConfigTypeScheme
type ContextProvider ¶
type ContextProvider = internal.ContextProvider
type DefaultConfigType ¶
type DefaultConfigType struct { runtime.ObjectVersionedType runtime.TypedObjectDecoder // contains filtered or unexported fields }
func (*DefaultConfigType) Usage ¶
func (t *DefaultConfigType) Usage() string
type GenericConfig ¶
type GenericConfig = internal.GenericConfig
func ToGenericConfig ¶
func ToGenericConfig(c Config) (*GenericConfig, error)
Click to show internal directories.
Click to hide internal directories.