connector

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const ResourcesPageSize = 50

Variables

This section is empty.

Functions

This section is empty.

Types

type Xsoar

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

func New

func New(ctx context.Context, token, apiUrl string, unsafe bool) (*Xsoar, error)

func (*Xsoar) Metadata

func (xs *Xsoar) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

func (*Xsoar) ResourceSyncers

func (xs *Xsoar) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*Xsoar) Validate

func (xs *Xsoar) Validate(ctx context.Context) (annotations.Annotations, error)

Validate does a simple validation of the provided access token to confirm that the provided config is correct. It does not validate that the provided token has all required permissions.

Jump to

Keyboard shortcuts

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