ipv4

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: 3 Imported by: 2

Documentation

Overview

Package ipv4 is the client.Network.IpsecTunnelProxyId 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
	Local             string
	Remote            string
	ProtocolAny       bool
	ProtocolNumber    int
	ProtocolTcpLocal  int
	ProtocolTcpRemote int
	ProtocolUdpLocal  int
	ProtocolUdpRemote int
}

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 FwIpv4

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

FwIpv4 is a namespace struct, included as part of pango.Firewall.

func (*FwIpv4) Delete

func (c *FwIpv4) Delete(tun string, e ...interface{}) error

Delete removes the given IPSec tunnel proxy IDs from the firewall.

Items can be either a string or an Entry object.

func (*FwIpv4) Edit

func (c *FwIpv4) Edit(tun string, e Entry) error

Edit performs EDIT to create / update an IPSec tunnel proxy ID.

func (*FwIpv4) Get

func (c *FwIpv4) Get(tun, name string) (Entry, error)

Get performs GET to retrieve information for the given IPSec tunnel proxy ID.

func (*FwIpv4) GetList

func (c *FwIpv4) GetList(tun string) ([]string, error)

GetList performs GET to retrieve a list of IPSec tunnel proxy IDs.

func (*FwIpv4) Initialize

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

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

func (*FwIpv4) Set

func (c *FwIpv4) Set(tun string, e ...Entry) error

Set performs SET to create / update one or more IPSec tunnel proxy IDs.

func (*FwIpv4) Show

func (c *FwIpv4) Show(tun, name string) (Entry, error)

Get performs SHOW to retrieve information for the given IPSec tunnel proxy ID.

func (*FwIpv4) ShowList

func (c *FwIpv4) ShowList(tun string) ([]string, error)

ShowList performs SHOW to retrieve a list of IPSec tunnel proxy IDs.

type PanoIpv4

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

PanoIpv4 is a namespace struct, included as part of pango.Firewall.

func (*PanoIpv4) Delete

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

Delete removes the given IPSec tunnel proxy IDs from the firewall.

Items can be either a string or an Entry object.

func (*PanoIpv4) Edit

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

Edit performs EDIT to create / update an IPSec tunnel proxy ID.

func (*PanoIpv4) Get

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

Get performs GET to retrieve information for the given IPSec tunnel proxy ID.

func (*PanoIpv4) GetList

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

GetList performs GET to retrieve a list of IPSec tunnel proxy IDs.

func (*PanoIpv4) Initialize

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

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

func (*PanoIpv4) Set

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

Set performs SET to create / update one or more IPSec tunnel proxy IDs.

func (*PanoIpv4) Show

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

Get performs SHOW to retrieve information for the given IPSec tunnel proxy ID.

func (*PanoIpv4) ShowList

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

ShowList performs SHOW to retrieve a list of IPSec tunnel proxy IDs.

Jump to

Keyboard shortcuts

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