connector

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionEnableUser  = "enable_user"
	ActionDisableUser = "disable_user"
	ActionUpdateUser  = "update_user"
)

Variables

This section is empty.

Functions

func New

New returns a new instance of the connector. It matches the cli.NewConnector[*cfg.Datadog] signature required by config.RunConnector for container/V2 deployment.

Types

type Datadog

type Datadog struct {
	SyncSecrets   bool
	SyncSchedules bool
	// contains filtered or unexported fields
}

func (*Datadog) Metadata

func (d *Datadog) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

Metadata returns metadata about the connector.

func (*Datadog) ResourceSyncers

func (d *Datadog) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncerV2

ResourceSyncers returns a ResourceSyncer for each resource type that should be synced from the upstream service.

func (*Datadog) Validate

func (d *Datadog) Validate(ctx context.Context) (annotations.Annotations, error)

Validate is called to ensure that the connector is properly configured. It should exercise any API credentials to be sure that they are valid.

Jump to

Keyboard shortcuts

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