xml

package
v0.0.0-...-a52501b Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCredentialsXml

func ParseCredentialsXml(credentialsXml []byte) (*[]Credential, error)

Converts credentials.xml into a slice of structs with all fields reduced. XML version is ignored as I could no find a parser which could handle xml 1.0+ Jenkins credentials.xml is using xml 1.1 but it does not seem to be using any of the new features. With xml 1.0+ this can eventually blow up.

Types

type Credential

type Credential struct {
	Tags map[string]string
}

Jump to

Keyboard shortcuts

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