group

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: ISC Imports: 3 Imported by: 2

Documentation

Overview

Package group is the client.Objects.AppGroup 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
	Applications []string // ordered
}

Entry is a normalized, version independent representation of an application group.

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 FwGroup

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

FwGroup is the client.Objects.AppGroup namespace.

func (*FwGroup) Delete

func (c *FwGroup) Delete(vsys string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*FwGroup) Edit

func (c *FwGroup) Edit(vsys string, e Entry) error

Edit performs EDIT to create / update one object.

func (*FwGroup) Get

func (c *FwGroup) Get(vsys, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*FwGroup) GetList

func (c *FwGroup) GetList(vsys string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*FwGroup) Initialize

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

Initialize is invoked by client.Initialize().

func (*FwGroup) Set

func (c *FwGroup) Set(vsys string, e ...Entry) error

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

func (*FwGroup) Show

func (c *FwGroup) Show(vsys, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*FwGroup) ShowList

func (c *FwGroup) ShowList(vsys string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

type PanoGroup

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

PanoGroup is the client.Objects.AppGroup namespace.

func (*PanoGroup) Delete

func (c *PanoGroup) Delete(dg string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*PanoGroup) Edit

func (c *PanoGroup) Edit(dg string, e Entry) error

Edit performs EDIT to create / update one object.

func (*PanoGroup) Get

func (c *PanoGroup) Get(dg, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*PanoGroup) GetList

func (c *PanoGroup) GetList(dg string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*PanoGroup) Initialize

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

Initialize is invoked by client.Initialize().

func (*PanoGroup) Set

func (c *PanoGroup) Set(dg string, e ...Entry) error

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

func (*PanoGroup) Show

func (c *PanoGroup) Show(dg, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*PanoGroup) ShowList

func (c *PanoGroup) ShowList(dg 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