plugin

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: ISC Imports: 1 Imported by: 1

Documentation

Overview

Package plugin provides support for plugin related information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetPlugins

type GetPlugins struct {
	XMLName xml.Name `xml:"show"`
	Cmd     string   `xml:"plugins>packages"`
}

type Info

type Info struct {
	Name           string
	Version        string
	ReleaseDate    string
	ReleaseNoteUrl string
	PackageFile    string
	Size           string
	Platform       string
	Installed      string
	Downloaded     string
}

Info is normalized information on plugin packages available to PAN-OS.

type PackageInfo

type PackageInfo struct {
	Name        string      `xml:"name"`
	Version     string      `xml:"version"`
	ReleaseDate string      `xml:"release-date"`
	RelNote     ReleaseNote `xml:"release-note-url"`
	PackageFile string      `xml:"pkg-file"`
	Size        string      `xml:"size"`
	Platform    string      `xml:"platform"`
	Installed   string      `xml:"installed"`
	Downloaded  string      `xml:"downloaded"`
}

type PackageListing

type PackageListing struct {
	Answer []PackageInfo `xml:"result>plugins>entry"`
}

func (*PackageListing) Listing

func (o *PackageListing) Listing() []Info

type ReleaseNote

type ReleaseNote struct {
	ReleaseNoteUrl string `xml:",cdata"`
}

Jump to

Keyboard shortcuts

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