Documentation ¶
Index ¶
- func MustNewEntryMultiFormatVersion(kind string, formats EntryFormatVersionRegistry) runtime.FormatVersion[Entry]
- func NewStrictEntryTypeScheme() runtime.VersionedTypeRegistry[Entry, EntryType]
- func Register(atype EntryType)
- func RegisterEntryTypeVersions(s EntryTypeVersionScheme)
- type Context
- type Entry
- type EntryFormatVersionRegistry
- type EntryType
- func NewEntryType[I Entry](name string, opts ...EntryTypeOption) EntryType
- func NewEntryTypeByConverter[I Entry, V runtime.VersionedTypedObject](name string, converter runtime.Converter[I, V], opts ...EntryTypeOption) EntryType
- func NewEntryTypeByFormatVersion(name string, fmt runtime.FormatVersion[Entry], opts ...EntryTypeOption) EntryType
- type EntryTypeOption
- type EntryTypeScheme
- type EntryTypeVersionScheme
- type GenericEntry
- type UnknownEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustNewEntryMultiFormatVersion ¶
func MustNewEntryMultiFormatVersion(kind string, formats EntryFormatVersionRegistry) runtime.FormatVersion[Entry]
func NewStrictEntryTypeScheme ¶
func NewStrictEntryTypeScheme() runtime.VersionedTypeRegistry[Entry, EntryType]
func RegisterEntryTypeVersions ¶
func RegisterEntryTypeVersions(s EntryTypeVersionScheme)
Types ¶
type EntryFormatVersionRegistry ¶
type EntryFormatVersionRegistry = runtime.FormatVersionRegistry[Entry]
func NewEntryFormatVersionRegistry ¶
func NewEntryFormatVersionRegistry() EntryFormatVersionRegistry
type EntryType ¶
func NewEntryType ¶
func NewEntryType[I Entry](name string, opts ...EntryTypeOption) EntryType
func NewEntryTypeByConverter ¶
func NewEntryTypeByConverter[I Entry, V runtime.VersionedTypedObject](name string, converter runtime.Converter[I, V], opts ...EntryTypeOption) EntryType
func NewEntryTypeByFormatVersion ¶
func NewEntryTypeByFormatVersion(name string, fmt runtime.FormatVersion[Entry], opts ...EntryTypeOption) EntryType
type EntryTypeOption ¶
type EntryTypeOption = flagsetscheme.TypeOption
func WithConfigHandler ¶
func WithConfigHandler(value flagsets.ConfigOptionTypeSetHandler) EntryTypeOption
func WithDescription ¶
func WithDescription(value string) EntryTypeOption
func WithFormatSpec ¶
func WithFormatSpec(value string) EntryTypeOption
type EntryTypeScheme ¶
type EntryTypeScheme = internal.EntryTypeScheme
func DefaultEntryTypeScheme ¶
func DefaultEntryTypeScheme() EntryTypeScheme
func For ¶
func For(ctx cpi.ContextProvider) EntryTypeScheme
type EntryTypeVersionScheme ¶
type EntryTypeVersionScheme = runtime.TypeVersionScheme[Entry, EntryType]
func NewEntryTypeVersionScheme ¶
func NewEntryTypeVersionScheme(kind string) EntryTypeVersionScheme
type GenericEntry ¶
type GenericEntry = internal.GenericEntry
type UnknownEntry ¶
type UnknownEntry = internal.UnknownEntry
Click to show internal directories.
Click to hide internal directories.