ikegw

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

Documentation

Overview

Package ikegw is the client.Network.IkeGateway namespace.

Normalized object: Entry

Index

Constants

View Source
const (
	Ikev1          = "ikev1"
	Ikev2          = "ikev2"
	Ikev2Preferred = "ikev2-preferred"
)
View Source
const (
	IdTypeIpAddress = "ipaddr"
	IdTypeFqdn      = "fqdn"
	IdTypeUfqdn     = "ufqdn"
	IdTypeKeyId     = "keyid"
	IdTypeDn        = "dn"
)
View Source
const (
	PeerTypeIp      = "ip"
	PeerTypeDynamic = "dynamic"
	PeerTypeFqdn    = "fqdn"
)
View Source
const (
	LocalTypeIp         = "ip"
	LocalTypeFloatingIp = "floating-ip"
)
View Source
const (
	AuthPreSharedKey = "pre-shared-key"
	AuthCertificate  = "certificate"
)
View Source
const (
	PeerIdCheckExact    = "exact"
	PeerIdCheckWildcard = "wildcard"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Name                          string
	Version                       string
	EnableIpv6                    bool
	Disabled                      bool
	PeerIpType                    string
	PeerIpValue                   string
	Interface                     string
	LocalIpAddressType            string
	LocalIpAddressValue           string
	AuthType                      string
	PreSharedKey                  string
	LocalIdType                   string
	LocalIdValue                  string
	PeerIdType                    string
	PeerIdValue                   string
	PeerIdCheck                   string
	LocalCert                     string
	CertEnableHashAndUrl          bool
	CertBaseUrl                   string
	CertUseManagementAsSource     bool
	CertPermitPayloadMismatch     bool
	CertProfile                   string
	CertEnableStrictValidation    bool
	EnablePassiveMode             bool
	EnableNatTraversal            bool
	NatTraversalKeepAlive         int
	NatTraversalEnableUdpChecksum bool
	EnableFragmentation           bool
	Ikev1ExchangeMode             string
	Ikev1CryptoProfile            string
	EnableDeadPeerDetection       bool
	DeadPeerDetectionInterval     int
	DeadPeerDetectionRetry        int
	Ikev2CryptoProfile            string
	Ikev2CookieValidation         bool
	EnableLivenessCheck           bool
	LivenessCheckInterval         int
}

Entry is a normalized, version independent representation of an IKE gateway.

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 FwIkeGw

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

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

func (*FwIkeGw) Delete

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

Delete removes the given IKE gateways from the firewall.

IKE gateways can be either a string or an Entry object.

func (*FwIkeGw) Edit

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

Edit performs EDIT to create / update an IKE gateway.

func (*FwIkeGw) Get

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

Get performs GET to retrieve information for the given IKE gateway.

func (*FwIkeGw) GetList

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

GetList performs GET to retrieve a list of IKE gateways.

func (*FwIkeGw) Initialize

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

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

func (*FwIkeGw) Set

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

Set performs SET to create / update one or more IKE gateways.

func (*FwIkeGw) Show

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

Get performs SHOW to retrieve information for the given IKE gateway.

func (*FwIkeGw) ShowList

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

ShowList performs SHOW to retrieve a list of IKE gateways.

type PanoIkeGw

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

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

func (*PanoIkeGw) Delete

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

Delete removes the given IKE gateways from the firewall.

IKE gateways can be either a string or an Entry object.

func (*PanoIkeGw) Edit

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

Edit performs EDIT to create / update an IKE gateway.

func (*PanoIkeGw) Get

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

Get performs GET to retrieve information for the given IKE gateway.

func (*PanoIkeGw) GetList

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

GetList performs GET to retrieve a list of IKE gateways.

func (*PanoIkeGw) Initialize

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

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

func (*PanoIkeGw) Set

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

Set performs SET to create / update one or more IKE gateways.

func (*PanoIkeGw) Show

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

Get performs SHOW to retrieve information for the given IKE gateway.

func (*PanoIkeGw) ShowList

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

ShowList performs SHOW to retrieve a list of IKE gateways.

Jump to

Keyboard shortcuts

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