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