auth

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: ISC Imports: 3 Imported by: 2

Documentation

Overview

Package auth is the client.Network.BgpAuthProfile 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
	Secret string
}

Entry is a normalized, version independent representation of an auth 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 FwAuth

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

FwAuth is the client.Network.BgpAuthProfile namespace.

func (*FwAuth) Delete

func (c *FwAuth) Delete(vr string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*FwAuth) Edit

func (c *FwAuth) Edit(vr string, e Entry) error

Edit performs EDIT to create / update one object.

func (*FwAuth) Get

func (c *FwAuth) Get(vr, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*FwAuth) GetList

func (c *FwAuth) GetList(vr string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*FwAuth) Initialize

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

Initialize is invoked by client.Initialize().

func (*FwAuth) Set

func (c *FwAuth) Set(vr string, e ...Entry) error

Set performs SET to create / update one or more objects.

func (*FwAuth) Show

func (c *FwAuth) Show(vr, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*FwAuth) ShowList

func (c *FwAuth) ShowList(vr string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

type PanoAuth

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

PanoAuth is the client.Network.BgpAuthProfile namespace.

func (*PanoAuth) Delete

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

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*PanoAuth) Edit

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

Edit performs EDIT to create / update one object.

func (*PanoAuth) Get

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

Get performs GET to retrieve information for the given uid.

func (*PanoAuth) GetList

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

GetList performs GET to retrieve a list of values.

func (*PanoAuth) Initialize

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

Initialize is invoked by client.Initialize().

func (*PanoAuth) Set

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

Set performs SET to create / update one or more objects.

func (*PanoAuth) Show

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

Show performs SHOW to retrieve information for the given uid.

func (*PanoAuth) ShowList

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

ShowList performs SHOW to retrieve a list of values.

Jump to

Keyboard shortcuts

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