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