firewallexclusion

package
v0.0.0-...-c3caef9 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2018 License: BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFirewallExclusionAPI

type CreateFirewallExclusionAPI struct {
	*api.BaseAPI
}

CreateFirewallExclusionAPI base object.

func NewCreate

func NewCreate(moid string) *CreateFirewallExclusionAPI

NewCreate returns a new object of CreateFirewallExclusionAPI.

func (CreateFirewallExclusionAPI) GetResponse

func (ga CreateFirewallExclusionAPI) GetResponse() string

GetResponse returns ResponseObject of CreateFirewallExclusionAPI.

type DeleteFirewallExclusionAPI

type DeleteFirewallExclusionAPI struct {
	*api.BaseAPI
}

DeleteFirewallExclusionAPI base object.

func NewDelete

func NewDelete(moid string) *DeleteFirewallExclusionAPI

NewDelete returns a new object of DeleteFirewallExclusionAPI.

func (DeleteFirewallExclusionAPI) GetResponse

func (ga DeleteFirewallExclusionAPI) GetResponse() string

GetResponse returns ResponseObject of DeleteFirewallExclusionAPI.

type FirewallExclusions

type FirewallExclusions struct {
	XMLName xml.Name `xml:"VshieldAppConfiguration"`
	Members []Member `xml:"excludeListConfiguration>excludeMember>member"`
}

FirewallExclusions - top level xml element

func (FirewallExclusions) CheckByMOID

func (a FirewallExclusions) CheckByMOID(moid string) bool

CheckByMOID - Returns true or false depending if moid is in FirewallExclusions

func (FirewallExclusions) FilterByMOID

func (a FirewallExclusions) FilterByMOID(moid string) *Member

FilterByMOID returns a single member object if it matches the moid in FirewallExclusions

func (FirewallExclusions) String

func (a FirewallExclusions) String() string

type GetAllFirewallExclusionAPI

type GetAllFirewallExclusionAPI struct {
	*api.BaseAPI
}

GetAllFirewallExclusionAPI base object.

func NewGetAll

func NewGetAll() *GetAllFirewallExclusionAPI

NewGetAll returns a new object of GetAllFirewallExclusionAPI.

func (GetAllFirewallExclusionAPI) GetResponse

GetResponse returns ResponseObject of GetAllIpSetAPI.

type Member

type Member struct {
	XMLName xml.Name `xml:"member"`
	MOID    string   `xml:"objectId"`
	Name    string   `xml:"name"`
}

Member object

func (Member) String

func (a Member) String() string

Jump to

Keyboard shortcuts

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