Documentation ¶
Index ¶
- type Client
- type ClientImpl
- func (c *ClientImpl) CreateDataSetsData(ctx context.Context, dataSetID string, datumArray []data.Datum) error
- func (c *ClientImpl) CreateUserDataSet(ctx context.Context, userID string, create *data.DataSetCreate) (*data.DataSet, error)
- func (c *ClientImpl) DeleteDataSet(ctx context.Context, id string) error
- func (c *ClientImpl) DestroyDataForUserByID(ctx context.Context, userID string) error
- func (c *ClientImpl) GetDataSet(ctx context.Context, id string) (*data.DataSet, error)
- func (c *ClientImpl) ListUserDataSets(ctx context.Context, userID string, filter *data.DataSetFilter, ...) (data.DataSets, error)
- func (c *ClientImpl) UpdateDataSet(ctx context.Context, id string, update *data.DataSetUpdate) (*data.DataSet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientImpl ¶
type ClientImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *platform.Config, authorizeAs platform.AuthorizeAs) (*ClientImpl, error)
func (*ClientImpl) CreateDataSetsData ¶
func (*ClientImpl) CreateUserDataSet ¶
func (c *ClientImpl) CreateUserDataSet(ctx context.Context, userID string, create *data.DataSetCreate) (*data.DataSet, error)
func (*ClientImpl) DeleteDataSet ¶
func (c *ClientImpl) DeleteDataSet(ctx context.Context, id string) error
func (*ClientImpl) DestroyDataForUserByID ¶
func (c *ClientImpl) DestroyDataForUserByID(ctx context.Context, userID string) error
func (*ClientImpl) GetDataSet ¶
func (*ClientImpl) ListUserDataSets ¶ added in v1.21.0
func (c *ClientImpl) ListUserDataSets(ctx context.Context, userID string, filter *data.DataSetFilter, pagination *page.Pagination) (data.DataSets, error)
func (*ClientImpl) UpdateDataSet ¶
func (c *ClientImpl) UpdateDataSet(ctx context.Context, id string, update *data.DataSetUpdate) (*data.DataSet, error)
Click to show internal directories.
Click to hide internal directories.