Documentation ¶
Overview ¶
Package ike is the client.Network.IkeCryptoProfile namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwIke
- func (c *FwIke) Delete(e ...interface{}) error
- func (c *FwIke) Edit(e Entry) error
- func (c *FwIke) Get(name string) (Entry, error)
- func (c *FwIke) GetList() ([]string, error)
- func (c *FwIke) Initialize(con util.XapiClient)
- func (c *FwIke) Set(e ...Entry) error
- func (c *FwIke) Show(name string) (Entry, error)
- func (c *FwIke) ShowList() ([]string, error)
- type PanoIke
- func (c *PanoIke) Delete(tmpl, ts string, e ...interface{}) error
- func (c *PanoIke) Edit(tmpl, ts string, e Entry) error
- func (c *PanoIke) Get(tmpl, ts, name string) (Entry, error)
- func (c *PanoIke) GetList(tmpl, ts string) ([]string, error)
- func (c *PanoIke) Initialize(con util.XapiClient)
- func (c *PanoIke) Set(tmpl, ts string, e ...Entry) error
- func (c *PanoIke) Show(tmpl, ts, name string) (Entry, error)
- func (c *PanoIke) ShowList(tmpl, ts string) ([]string, error)
Constants ¶
const ( EncryptionDes = "des" Encryption3des = "3des" EncryptionAes128 = "aes-128-cbc" EncryptionAes192 = "aes-192-cbc" EncryptionAes256 = "aes-256-cbc" )
const ( TimeSeconds = "seconds" TimeMinutes = "minutes" TimeHours = "hours" TimeDays = "days" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string DhGroup []string Authentication []string Encryption []string LifetimeType string LifetimeValue int AuthenticationMultiple int }
Entry is a normalized, version independent representation of an interface management profile.
func (*Entry) Copy ¶
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.
func (*Entry) NormalizeEncryption ¶
func (o *Entry) NormalizeEncryption()
NormalizeEncryption normalizes the fields in o.Encryption.
func (*Entry) SpecifyEncryption ¶
SpecifyEncryption takes normalizes encryption values and changes them to the version specific values PAN-OS will be expecting.
Param v should be 1 if you're running against PAN-OS 6.1; 2 if you're running against 7.0 or later.
type FwIke ¶
type FwIke struct {
// contains filtered or unexported fields
}
FwIke is a namespace struct, included as part of pango.Client.
func (*FwIke) Delete ¶
Delete removes the given IKE crypto profile(s) from the firewall.
Profiles can be either a string or an Entry object.
func (*FwIke) Initialize ¶
func (c *FwIke) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.
type PanoIke ¶
type PanoIke struct {
// contains filtered or unexported fields
}
PanoIke is a namespace struct, included as part of pango.Client.
func (*PanoIke) Delete ¶
Delete removes the given IKE crypto profile(s) from the firewall.
Profiles can be either a string or an Entry object.
func (*PanoIke) Initialize ¶
func (c *PanoIke) Initialize(con util.XapiClient)
Initialize is invoked when Initialize on the pango.Client is called.