connector

package
v0.0.3 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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notion

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

func New

func New(ctx context.Context, apiKey string, scimToken string) (*Notion, error)

New returns the Notion connector.

func (*Notion) Metadata

func (nt *Notion) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

Metadata returns metadata about the connector.

func (*Notion) ResourceSyncers

func (nt *Notion) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*Notion) Validate

func (nt *Notion) Validate(ctx context.Context) (annotations.Annotations, error)

Validate hits the Notion API to validate that the API key passed works.

Jump to

Keyboard shortcuts

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