http

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: ISC Imports: 4 Imported by: 2

Documentation

Overview

Package http is the client.Object.HttpServerProfile namespace.

For Panorama, there are two possibilities: managing this object on Panorama itself or inside of a Template.

To manage objects save on Panorama, leave "tmpl" and "ts" params empty and set "dg" to "shared" (which is also the default).

To manage objects in a template, specify the template name and the vsys (if unspecified, defaults to "shared").

Normalized object: Entry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Name              string
	TagRegistration   bool
	ConfigName        string
	ConfigUriFormat   string
	ConfigPayload     string
	SystemName        string
	SystemUriFormat   string
	SystemPayload     string
	ThreatName        string
	ThreatUriFormat   string
	ThreatPayload     string
	TrafficName       string
	TrafficUriFormat  string
	TrafficPayload    string
	HipMatchName      string
	HipMatchUriFormat string
	HipMatchPayload   string
	UrlName           string
	UrlUriFormat      string
	UrlPayload        string
	DataName          string
	DataUriFormat     string
	DataPayload       string
	WildfireName      string
	WildfireUriFormat string
	WildfirePayload   string
	TunnelName        string
	TunnelUriFormat   string
	TunnelPayload     string
	UserIdName        string
	UserIdUriFormat   string
	UserIdPayload     string
	GtpName           string
	GtpUriFormat      string
	GtpPayload        string
	AuthName          string
	AuthUriFormat     string
	AuthPayload       string
	SctpName          string // 8.1+
	SctpUriFormat     string // 8.1+
	SctpPayload       string // 8.1+
	IptagName         string // 9.0+
	IptagUriFormat    string // 9.0+
	IptagPayload      string // 9.0+
	// contains filtered or unexported fields
}

Entry is a normalized, version independent representation of an http profile.

PAN-OS 7.1+.

func (*Entry) Copy

func (o *Entry) Copy(s Entry)

Copy copies the information from source Entry `s` to this object. As the Name field relates to the XPATH of this object, this field is not copied.

type FwHttp

type FwHttp struct {
	// contains filtered or unexported fields
}

FwHttp is the client.Network.HttpServerProfile namespace.

func (*FwHttp) Delete

func (c *FwHttp) Delete(vsys string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*FwHttp) Edit

func (c *FwHttp) Edit(vsys string, e Entry) error

Edit performs EDIT to create / update one object.

func (*FwHttp) Get

func (c *FwHttp) Get(vsys, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*FwHttp) GetList

func (c *FwHttp) GetList(vsys string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*FwHttp) Initialize

func (c *FwHttp) Initialize(con util.XapiClient)

Initialize is invoked by client.Initialize().

func (*FwHttp) Set

func (c *FwHttp) Set(vsys string, e ...Entry) error

Set performs SET to create / update one or more objects.

func (*FwHttp) Show

func (c *FwHttp) Show(vsys, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*FwHttp) ShowList

func (c *FwHttp) ShowList(vsys string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

type PanoHttp

type PanoHttp struct {
	// contains filtered or unexported fields
}

PanoHttp is the client.Network.HttpServerProfile namespace.

func (*PanoHttp) Delete

func (c *PanoHttp) Delete(tmpl, ts, vsys, dg string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*PanoHttp) Edit

func (c *PanoHttp) Edit(tmpl, ts, vsys, dg string, e Entry) error

Edit performs EDIT to create / update one object.

func (*PanoHttp) Get

func (c *PanoHttp) Get(tmpl, ts, vsys, dg, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*PanoHttp) GetList

func (c *PanoHttp) GetList(tmpl, ts, vsys, dg string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*PanoHttp) Initialize

func (c *PanoHttp) Initialize(con util.XapiClient)

Initialize is invoked by client.Initialize().

func (*PanoHttp) Set

func (c *PanoHttp) Set(tmpl, ts, vsys, dg string, e ...Entry) error

Set performs SET to create / update one or more objects.

func (*PanoHttp) Show

func (c *PanoHttp) Show(tmpl, ts, vsys, dg, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*PanoHttp) ShowList

func (c *PanoHttp) ShowList(tmpl, ts, vsys, dg string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

Directories

Path Synopsis
Package header is the client.Object.HttpHeader namespace.
Package header is the client.Object.HttpHeader namespace.
Package param is the client.Object.HttpParam namespace.
Package param is the client.Object.HttpParam namespace.
Package server is the client.Object.HttpServer namespace.
Package server is the client.Object.HttpServer namespace.

Jump to

Keyboard shortcuts

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