Documentation ¶
Overview ¶
Package mngtprof is the client.Network.ManagementProfile namespace.
Normalized object: Entry
Index ¶
- type Entry
- type FwMngtProf
- func (c *FwMngtProf) Delete(e ...interface{}) error
- func (c *FwMngtProf) Edit(e Entry) error
- func (c *FwMngtProf) Get(name string) (Entry, error)
- func (c *FwMngtProf) GetList() ([]string, error)
- func (c *FwMngtProf) Initialize(con util.XapiClient)
- func (c *FwMngtProf) Set(e ...Entry) error
- func (c *FwMngtProf) Show(name string) (Entry, error)
- func (c *FwMngtProf) ShowList() ([]string, error)
- type PanoMngtProf
- func (c *PanoMngtProf) Delete(tmpl, ts string, e ...interface{}) error
- func (c *PanoMngtProf) Edit(tmpl, ts string, e Entry) error
- func (c *PanoMngtProf) Get(tmpl, ts, name string) (Entry, error)
- func (c *PanoMngtProf) GetList(tmpl, ts string) ([]string, error)
- func (c *PanoMngtProf) Initialize(con util.XapiClient)
- func (c *PanoMngtProf) Set(tmpl, ts string, e ...Entry) error
- func (c *PanoMngtProf) Show(tmpl, ts, name string) (Entry, error)
- func (c *PanoMngtProf) ShowList(tmpl, ts string) ([]string, error)
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.
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.