Documentation
¶
Index ¶
- func DecodeConfiguration(codecs *serializer.CodecFactory, data []byte) (*meshconfig.MeshConfiguration, error)
- func EncodeConfig(internal *meshconfig.MeshConfiguration, targetVersion schema.GroupVersion) ([]byte, error)
- func NewConfigYAMLEncoder(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 DecodeConfiguration ¶
func DecodeConfiguration(codecs *serializer.CodecFactory, data []byte) (*meshconfig.MeshConfiguration, error)
DecodeConfiguration decodes a serialized MeshConfiguration to the internal type
func EncodeConfig ¶
func EncodeConfig(internal *meshconfig.MeshConfiguration, targetVersion schema.GroupVersion) ([]byte, error)
EncodeConfig encodes an internal MeshConfiguration to an external YAML representation
func NewConfigYAMLEncoder ¶
func NewConfigYAMLEncoder(targetVersion schema.GroupVersion) (runtime.Encoder, error)
NewConfigYAMLEncoder returns an encoder that can write objects in the meshconfig API group to YAML
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.