utils

package
v0.50.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffXMLConfigs

func DiffXMLConfigs(c1, c2 string) (string, error)

func GetLatestUnsanitizedConfiguration

func GetLatestUnsanitizedConfiguration(o *svcapitypes.Configuration) string

func HasBeenSanitized

func HasBeenSanitized(o *svcapitypes.Configuration) bool

func HasBeenUpdatedPostSanitization

func HasBeenUpdatedPostSanitization(o *svcapitypes.Configuration) bool

func SetLatestUnsanitizedConfiguration

func SetLatestUnsanitizedConfiguration(cr *svcapitypes.Configuration)

Types

type Node

type Node struct {
	XMLName xml.Name
	Attr    []xml.Attr `xml:",any,attr"`
	Content []byte     `xml:",innerxml"`
	Nodes   []Node     `xml:",any"`
}

func (*Node) UnmarshalXML

func (n *Node) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL