rudderstack

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *schema.Provider

func NewWithConfigureClientFunc

func NewWithConfigureClientFunc(f ConfigureClientFunc) *schema.Provider

Types

type Client

type Client struct {
	Sources      SourcesService
	Destinations DestinationsService
	Connections  ConnectionsService
}

func NewAPIClient

func NewAPIClient(accessToken string, options ...client.Option) (*Client, error)

type ConfigureClientFunc

type ConfigureClientFunc func(ctx context.Context, d *schema.ResourceData) (*Client, diag.Diagnostics)

type ConnectionsService

type ConnectionsService interface {
	Create(ctx context.Context, connection *client.Connection) (*client.Connection, error)
	Get(ctx context.Context, id string) (*client.Connection, error)
	Update(ctx context.Context, connection *client.Connection) (*client.Connection, error)
	Delete(ctx context.Context, id string) error
}

type DestinationsService

type DestinationsService interface {
	Create(ctx context.Context, destination *client.Destination) (*client.Destination, error)
	Get(ctx context.Context, id string) (*client.Destination, error)
	Update(ctx context.Context, destination *client.Destination) (*client.Destination, error)
	Delete(ctx context.Context, id string) error
}

type SourcesService

type SourcesService interface {
	Create(ctx context.Context, source *client.Source) (*client.Source, error)
	Get(ctx context.Context, id string) (*client.Source, error)
	Update(ctx context.Context, source *client.Source) (*client.Source, error)
	Delete(ctx context.Context, id string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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