connector

package
v0.0.2 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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Panther

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

func New

func New(ctx context.Context, token, url string) (*Panther, error)

New returns the Panther connector.

func (*Panther) Metadata

func (pn *Panther) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

Metadata returns metadata about the connector.

func (*Panther) ResourceSyncers

func (pn *Panther) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*Panther) Validate

func (pn *Panther) Validate(ctx context.Context) (annotations.Annotations, error)

Validate hits the Panther API to ensure that the URL & API key passed are valid.

Jump to

Keyboard shortcuts

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