Documentation
¶
Index ¶
Constants ¶
View Source
const ( ActionEnableUser = "enable_user" ActionDisableUser = "disable_user" ActionUpdateUser = "update_user" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, ddc *cfg.Datadog, _ *cli.ConnectorOpts) (connectorbuilder.ConnectorBuilderV2, []connectorbuilder.Opt, error)
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) 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.
Click to show internal directories.
Click to hide internal directories.