connector

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const ResourcesPageSize = 50

Variables

This section is empty.

Functions

This section is empty.

Types

type PagerDuty

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

func New

func New(ctx context.Context, accessToken string) (*PagerDuty, error)

New returns the PagerDuty connector.

func (*PagerDuty) Metadata

func (pd *PagerDuty) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

Metadata returns metadata about the connector.

func (*PagerDuty) ResourceSyncers

func (pd *PagerDuty) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*PagerDuty) Validate

func (pd *PagerDuty) Validate(ctx context.Context) (annotations.Annotations, error)

Validate hits the PagerDuty 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