syslog

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: ISC Imports: 4 Imported by: 2

Documentation

Overview

Package syslog is the client.Object.SyslogServerProfile 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
	Config            string
	System            string
	Threat            string
	Traffic           string
	HipMatch          string
	Url               string // 8.0+
	Data              string // 8.0+
	Wildfire          string // 8.0+
	Tunnel            string // 8.0+
	UserId            string // 8.0+
	Gtp               string // 8.0+
	Auth              string // 8.0+
	Sctp              string // 8.1+
	Iptag             string // 9.0+
	EscapedCharacters string
	EscapeCharacter   string
	// contains filtered or unexported fields
}

Entry is a normalized, version independent representation of an syslog 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 FwSyslog

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

FwSyslog is the client.Network.SyslogServerProfile namespace.

func (*FwSyslog) Delete

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

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*FwSyslog) Edit

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

Edit performs EDIT to create / update one object.

func (*FwSyslog) Get

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

Get performs GET to retrieve information for the given uid.

func (*FwSyslog) GetList

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

GetList performs GET to retrieve a list of values.

func (*FwSyslog) Initialize

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

Initialize is invoked by client.Initialize().

func (*FwSyslog) Set

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

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

func (*FwSyslog) SetWithoutSubconfig added in v0.3.9

func (c *FwSyslog) SetWithoutSubconfig(vsys string, e Entry) error

SetWithoutSubconfig performs a DELETE to remove any subconfig before performing a SET to create an object.

func (*FwSyslog) Show

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

Show performs SHOW to retrieve information for the given uid.

func (*FwSyslog) ShowList

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

ShowList performs SHOW to retrieve a list of values.

type PanoSyslog

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

PanoSyslog is the client.Network.SyslogServerProfile namespace.

func (*PanoSyslog) Delete

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

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*PanoSyslog) Edit

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

Edit performs EDIT to create / update one object.

func (*PanoSyslog) Get

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

Get performs GET to retrieve information for the given uid.

func (*PanoSyslog) GetList

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

GetList performs GET to retrieve a list of values.

func (*PanoSyslog) Initialize

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

Initialize is invoked by client.Initialize().

func (*PanoSyslog) Set

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

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

func (*PanoSyslog) SetWithoutSubconfig added in v0.3.9

func (c *PanoSyslog) SetWithoutSubconfig(tmpl, ts, vsys, dg string, e Entry) error

SetWithoutSubconfig performs a DELETE to remove any subconfig before performing a SET to create an object.

func (*PanoSyslog) Show

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

Show performs SHOW to retrieve information for the given uid.

func (*PanoSyslog) ShowList

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

ShowList performs SHOW to retrieve a list of values.

Directories

Path Synopsis
Package server is the client.Object.SyslogServer namespace.
Package server is the client.Object.SyslogServer namespace.

Jump to

Keyboard shortcuts

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