connector

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourcesPageSize = 50

Functions

This section is empty.

Types

type HubSpot

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

func New

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

New returns the HubSpot connector.

func (*HubSpot) Metadata

func (hs *HubSpot) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

Metadata returns metadata about the connector.

func (*HubSpot) ResourceSyncers

func (hs *HubSpot) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*HubSpot) Validate

func (hs *HubSpot) Validate(ctx context.Context) (annotations.Annotations, error)

Validate hits the HubSpot API to verify that the credentials are valid.

Jump to

Keyboard shortcuts

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