service

package
v1.24.0-basal-automated.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: BSD-3-Clause Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(str dataStore.Store, strDEPRECATED dataStoreDEPRECATED.Store) (*Client, error)

func (*Client) CreateDataSetsData

func (c *Client) CreateDataSetsData(ctx context.Context, datasetID string, datumArray []data.Datum) error

func (*Client) CreateUserDataSet

func (c *Client) CreateUserDataSet(ctx context.Context, userID string, create *data.DataSetCreate) (*data.DataSet, error)

func (*Client) CreateUserDataSource

func (c *Client) CreateUserDataSource(ctx context.Context, userID string, create *data.DataSourceCreate) (*data.DataSource, error)

func (*Client) DeleteDataSet

func (c *Client) DeleteDataSet(ctx context.Context, id string) error

func (*Client) DeleteDataSource

func (c *Client) DeleteDataSource(ctx context.Context, id string) error

func (*Client) DestroyDataForUserByID

func (c *Client) DestroyDataForUserByID(ctx context.Context, userID string) error

func (*Client) GetDataSet

func (c *Client) GetDataSet(ctx context.Context, id string) (*data.DataSet, error)

func (*Client) GetDataSource

func (c *Client) GetDataSource(ctx context.Context, id string) (*data.DataSource, error)

func (*Client) ListUserDataSets added in v1.21.0

func (c *Client) ListUserDataSets(ctx context.Context, userID string, filter *data.DataSetFilter, pagination *page.Pagination) (data.DataSets, error)

func (*Client) ListUserDataSources

func (c *Client) ListUserDataSources(ctx context.Context, userID string, filter *data.DataSourceFilter, pagination *page.Pagination) (data.DataSources, error)

func (*Client) UpdateDataSet

func (c *Client) UpdateDataSet(ctx context.Context, id string, update *data.DataSetUpdate) (*data.DataSet, error)

func (*Client) UpdateDataSource

func (c *Client) UpdateDataSource(ctx context.Context, id string, update *data.DataSourceUpdate) (*data.DataSource, error)

type Standard

type Standard struct {
	*service.DEPRECATEDService
	// contains filtered or unexported fields
}

func NewStandard

func NewStandard(prefix string) (*Standard, error)

func (*Standard) Initialize

func (s *Standard) Initialize() error

func (*Standard) Run

func (s *Standard) Run() error

func (*Standard) Terminate

func (s *Standard) Terminate()

Jump to

Keyboard shortcuts

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