Documentation ¶
Index ¶
- Constants
- Variables
- func Debug(c Context, msg string, keypairs ...interface{})
- func DefaultContext() internal.Context
- func ErrNoContext(name string) error
- func Info(c Context, msg string, keypairs ...interface{})
- func IsErrConfigNotApplicable(err error) bool
- func IsErrNoContext(err error) bool
- func IsGeneric(cfg Config) bool
- func WithConfigTypeScheme(scheme ConfigTypeScheme) internal.Builder
- func WithContext(ctx context.Context) internal.Builder
- func WithSharedAttributes(ctx datacontext.AttributesContext) internal.Builder
- type Config
- type ConfigApplier
- type ConfigApplierFunction
- type ConfigSelector
- type ConfigSelectorFunction
- type ConfigType
- type ConfigTypeScheme
- type Context
- type ContextProvider
- type GenericConfig
Constants ¶
View Source
const AllGenerations = internal.AllGenerations
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 AllConfigs = internal.AllConfigs
View Source
var Logger = internal.Logger
View Source
var Realm = internal.Realm
Functions ¶
func DefaultContext ¶
func ErrNoContext ¶
func IsErrNoContext ¶
func WithConfigTypeScheme ¶
func WithConfigTypeScheme(scheme ConfigTypeScheme) internal.Builder
func WithSharedAttributes ¶
func WithSharedAttributes(ctx datacontext.AttributesContext) internal.Builder
Types ¶
type Config ¶
func NewGenericConfig ¶
func NewGenericConfig(data []byte, unmarshaler runtime.Unmarshaler) (Config, error)
type ConfigApplier ¶ added in v0.7.0
type ConfigApplier = internal.ConfigApplier
type ConfigApplierFunction ¶ added in v0.7.0
type ConfigApplierFunction = internal.ConfigApplierFunction
type ConfigSelector ¶
type ConfigSelector = internal.ConfigSelector
type ConfigSelectorFunction ¶
type ConfigSelectorFunction = internal.ConfigSelectorFunction
type ConfigType ¶
type ConfigType = internal.ConfigType
type ConfigTypeScheme ¶
type ConfigTypeScheme = internal.ConfigTypeScheme
func NewConfigTypeScheme ¶
func NewConfigTypeScheme() ConfigTypeScheme
type Context ¶
func ForContext ¶
func FromProvider ¶ added in v0.3.0
func FromProvider(p ContextProvider) Context
func New ¶
func New(mode ...datacontext.BuilderMode) Context
type ContextProvider ¶
type ContextProvider = internal.ContextProvider
type GenericConfig ¶
type GenericConfig = internal.GenericConfig
func ToGenericConfig ¶
func ToGenericConfig(c Config) (*GenericConfig, error)
Click to show internal directories.
Click to hide internal directories.