connector

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ResourcesPageSize = 50

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIConfig

type CLIConfig struct {
	Unsafe  bool
	Verbose bool
	Cloud   bool
}

type Splunk

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

func New

func New(ctx context.Context, auth string, config CLIConfig, deployments []string) (*Splunk, error)

New returns the Splunk connector.

func (*Splunk) Metadata

func (sp *Splunk) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

Metadata returns metadata about the connector.

func (*Splunk) ResourceSyncers

func (sp *Splunk) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*Splunk) Validate

func (sp *Splunk) Validate(ctx context.Context) (annotations.Annotations, error)

Validate hits the Splunk API to validate that the configured credentials are valid and compatible.

Jump to

Keyboard shortcuts

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