Documentation ¶
Index ¶
- func RegisterConverter(kind string, converter Converter) error
- type Converter
- type ConverterRegistry
- func (c *ConverterRegistry) GetOverlayConverterRegistry() *ConverterRegistry
- func (c *ConverterRegistry) RegisterConverter(kind string, converter Converter) error
- func (c *ConverterRegistry) TryAllConverters(rawConfig []byte, prioritizedConverter, kindHint string) (*specs.SubscriptionServerConfig, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterConverter ¶
Types ¶
type Converter ¶
type Converter interface {
ConvertToAbstractServerConfig(rawConfig []byte, kindHint string) (*specs.SubscriptionServerConfig, error)
}
type ConverterRegistry ¶
type ConverterRegistry struct {
// contains filtered or unexported fields
}
func GetOverlayConverterRegistry ¶
func GetOverlayConverterRegistry() *ConverterRegistry
func (*ConverterRegistry) GetOverlayConverterRegistry ¶
func (c *ConverterRegistry) GetOverlayConverterRegistry() *ConverterRegistry
func (*ConverterRegistry) RegisterConverter ¶
func (c *ConverterRegistry) RegisterConverter(kind string, converter Converter) error
func (*ConverterRegistry) TryAllConverters ¶
func (c *ConverterRegistry) TryAllConverters(rawConfig []byte, prioritizedConverter, kindHint string) (*specs.SubscriptionServerConfig, error)
Click to show internal directories.
Click to hide internal directories.