Documentation ¶
Index ¶
- func DecodeRegistryConfiguration(registryCodecs *serializer.CodecFactory, data []byte) (*registryconfig.RegistryConfiguration, error)
- func EncodeRegistryConfig(internal *registryconfig.RegistryConfiguration, ...) ([]byte, error)
- func NewRegistryConfigYAMLEncoder(targetVersion schema.GroupVersion) (runtime.Encoder, error)
- func NewYAMLEncoder(groupName string) (runtime.Encoder, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeRegistryConfiguration ¶
func DecodeRegistryConfiguration(registryCodecs *serializer.CodecFactory, data []byte) (*registryconfig.RegistryConfiguration, error)
DecodeRegistryConfiguration decodes a serialized RegistryConfiguration to the internal type
func EncodeRegistryConfig ¶
func EncodeRegistryConfig(internal *registryconfig.RegistryConfiguration, targetVersion schema.GroupVersion) ([]byte, error)
EncodeRegistryConfig encodes an internal RegistryConfiguration to an external YAML representation
func NewRegistryConfigYAMLEncoder ¶
func NewRegistryConfigYAMLEncoder(targetVersion schema.GroupVersion) (runtime.Encoder, error)
NewRegistryConfigYAMLEncoder returns an encoder that can write objects in the registryconfig API group to YAML
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.