mngtprof

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: ISC Imports: 3 Imported by: 2

Documentation

Overview

Package mngtprof is the client.Network.ManagementProfile namespace.

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
	Ping                    bool
	Telnet                  bool
	Ssh                     bool
	Http                    bool
	HttpOcsp                bool
	Https                   bool
	Snmp                    bool
	ResponsePages           bool
	UseridService           bool
	UseridSyslogListenerSsl bool
	UseridSyslogListenerUdp bool
	PermittedIps            []string
}

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

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 FwMngtProf

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

FwMngtProf is a namespace struct, included as part of pango.Client.

func (*FwMngtProf) Delete

func (c *FwMngtProf) Delete(e ...interface{}) error

Delete removes the given interface management profile(s) from the firewall.

Profiles can be either a string or an Entry object.

func (*FwMngtProf) Edit

func (c *FwMngtProf) Edit(e Entry) error

Edit performs EDIT to create / update an interface management profile.

func (*FwMngtProf) Get

func (c *FwMngtProf) Get(name string) (Entry, error)

Get performs GET to retrieve information for the given interface management profile.

func (*FwMngtProf) GetList

func (c *FwMngtProf) GetList() ([]string, error)

GetList performs GET to retrieve a list of interface management profiles.

func (*FwMngtProf) Initialize

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

Initialize is invoked when Initialize on the pango.Client is called.

func (*FwMngtProf) Set

func (c *FwMngtProf) Set(e ...Entry) error

Set performs SET to create / update one or more interface management profiles.

func (*FwMngtProf) Show

func (c *FwMngtProf) Show(name string) (Entry, error)

Get performs SHOW to retrieve information for the given interface management profile.

func (*FwMngtProf) ShowList

func (c *FwMngtProf) ShowList() ([]string, error)

ShowList performs SHOW to retrieve a list of interface management profiles.

type PanoMngtProf

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

PanoMngtProf is a namespace struct, included as part of pango.Client.

func (*PanoMngtProf) Delete

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

Delete removes the given interface management profile(s) from the firewall.

Profiles can be either a string or an Entry object.

func (*PanoMngtProf) Edit

func (c *PanoMngtProf) Edit(tmpl, ts string, e Entry) error

Edit performs EDIT to create / update an interface management profile.

func (*PanoMngtProf) Get

func (c *PanoMngtProf) Get(tmpl, ts, name string) (Entry, error)

Get performs GET to retrieve information for the given interface management profile.

func (*PanoMngtProf) GetList

func (c *PanoMngtProf) GetList(tmpl, ts string) ([]string, error)

GetList performs GET to retrieve a list of interface management profiles.

func (*PanoMngtProf) Initialize

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

Initialize is invoked when Initialize on the pango.Client is called.

func (*PanoMngtProf) Set

func (c *PanoMngtProf) Set(tmpl, ts string, e ...Entry) error

Set performs SET to create / update one or more interface management profiles.

func (*PanoMngtProf) Show

func (c *PanoMngtProf) Show(tmpl, ts, name string) (Entry, error)

Get performs SHOW to retrieve information for the given interface management profile.

func (*PanoMngtProf) ShowList

func (c *PanoMngtProf) ShowList(tmpl, ts string) ([]string, error)

ShowList performs SHOW to retrieve a list of interface management profiles.

Jump to

Keyboard shortcuts

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