connector

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourcesPageSize = 50

Functions

This section is empty.

Types

type Asana

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

func New

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

New returns the Asana connector.

func (*Asana) Metadata

func (as *Asana) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

Metadata returns metadata about the connector.

func (*Asana) ResourceSyncers

func (as *Asana) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*Asana) Validate

func (as *Asana) Validate(ctx context.Context) (annotations.Annotations, error)

Validate hits the Asana API to validate that the API key passed has admin rights.

Jump to

Keyboard shortcuts

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