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