telemetry

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: ISC Imports: 2 Imported by: 2

Documentation

Overview

Package telemetry is the firewall.Device.Telemetry namespace.

Normalized object: Settings

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FwTelemetry

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

FwTelemetry is a namespace struct, included as part of pango.Firewall.

func (*FwTelemetry) Delete

func (c *FwTelemetry) Delete() error

Delete removes all telemetry sharing from the firewall.

func (*FwTelemetry) Edit

func (c *FwTelemetry) Edit(e Settings) error

Edit performs EDIT to update telemetry sharing settings.

func (*FwTelemetry) Get

func (c *FwTelemetry) Get() (Settings, error)

Get performs GET to retrieve telemetry sharing settings.

func (*FwTelemetry) Initialize

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

Initialize is invoked by client.Initialize().

func (*FwTelemetry) Set

func (c *FwTelemetry) Set(e Settings) error

Set performs SET to update telemetry sharing settings.

func (*FwTelemetry) Show

func (c *FwTelemetry) Show() (Settings, error)

Show performs SHOW to retrieve telemetry sharing settings.

type Settings

type Settings struct {
	ApplicationReports             bool
	ThreatPreventionReports        bool
	UrlReports                     bool
	FileTypeIdentificationReports  bool
	ThreatPreventionData           bool
	ThreatPreventionPacketCaptures bool
	ProductUsageStats              bool
	PassiveDnsMonitoring           bool
}

Settings is a normalized, version independent representation of telemetry sharing configuration.

func (*Settings) Copy

func (o *Settings) Copy(s Settings)

Copy copies the information from source Settings `s` to this object.

Jump to

Keyboard shortcuts

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