usp_sophos

package
v1.26.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SophosAdapter

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

func NewSophosAdapter

func NewSophosAdapter(conf SophosConfig) (*SophosAdapter, chan struct{}, error)

func (*SophosAdapter) Close

func (a *SophosAdapter) Close() error

type SophosConfig

type SophosConfig struct {
	ClientOptions uspclient.ClientOptions `json:"client_options" yaml:"client_options"`
	ClientId      string                  `json:"clientid" yaml:"clientid"`
	ClientSecret  string                  `json:"clientsecret" yaml:"clientsecret"`
	TenantId      string                  `json:"tenantid" yaml:"tenantid"`
	URL           string                  `json:"url" yaml:"url"`
}

func (*SophosConfig) Validate

func (c *SophosConfig) Validate() error

Jump to

Keyboard shortcuts

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