Documentation ¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.11.0 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewAdminCreateNamespaceRequest(server string, name string, body AdminCreateNamespaceJSONRequestBody) (*http.Request, error)
- func NewAdminCreateNamespaceRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewAdminListNamespacesRequest(server string) (*http.Request, error)
- func NewAuthGetAccessTokenRequest(server string, body AuthGetAccessTokenJSONRequestBody) (*http.Request, error)
- func NewAuthGetAccessTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewHealthAPIHealthRequest(server string) (*http.Request, error)
- func NewObservabilityQueryTimeSeriesMetricsRequest(server string, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody) (*http.Request, error)
- func NewObservabilityQueryTimeSeriesMetricsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisBeginTransactionRequest(server string, db string, body TigrisBeginTransactionJSONRequestBody) (*http.Request, error)
- func NewTigrisBeginTransactionRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisCommitTransactionRequest(server string, db string, body TigrisCommitTransactionJSONRequestBody) (*http.Request, error)
- func NewTigrisCommitTransactionRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisCreateDatabaseRequest(server string, db string, body TigrisCreateDatabaseJSONRequestBody) (*http.Request, error)
- func NewTigrisCreateDatabaseRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisCreateOrUpdateCollectionRequest(server string, db string, collection string, ...) (*http.Request, error)
- func NewTigrisCreateOrUpdateCollectionRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisDeleteRequest(server string, db string, collection string, body TigrisDeleteJSONRequestBody) (*http.Request, error)
- func NewTigrisDeleteRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisDescribeCollectionRequest(server string, db string, collection string, ...) (*http.Request, error)
- func NewTigrisDescribeCollectionRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisDescribeDatabaseRequest(server string, db string, body TigrisDescribeDatabaseJSONRequestBody) (*http.Request, error)
- func NewTigrisDescribeDatabaseRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisDropCollectionRequest(server string, db string, collection string, ...) (*http.Request, error)
- func NewTigrisDropCollectionRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisDropDatabaseRequest(server string, db string, body TigrisDropDatabaseJSONRequestBody) (*http.Request, error)
- func NewTigrisDropDatabaseRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisEventsRequest(server string, db string, collection string, body TigrisEventsJSONRequestBody) (*http.Request, error)
- func NewTigrisEventsRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisGetInfoRequest(server string) (*http.Request, error)
- func NewTigrisInsertRequest(server string, db string, collection string, body TigrisInsertJSONRequestBody) (*http.Request, error)
- func NewTigrisInsertRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisListCollectionsRequest(server string, db string, body TigrisListCollectionsJSONRequestBody) (*http.Request, error)
- func NewTigrisListCollectionsRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisListDatabasesRequest(server string) (*http.Request, error)
- func NewTigrisPublishRequest(server string, db string, collection string, body TigrisPublishJSONRequestBody) (*http.Request, error)
- func NewTigrisPublishRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisReadRequest(server string, db string, collection string, body TigrisReadJSONRequestBody) (*http.Request, error)
- func NewTigrisReadRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisReplaceRequest(server string, db string, collection string, body TigrisReplaceJSONRequestBody) (*http.Request, error)
- func NewTigrisReplaceRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisRollbackTransactionRequest(server string, db string, body TigrisRollbackTransactionJSONRequestBody) (*http.Request, error)
- func NewTigrisRollbackTransactionRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisSearchRequest(server string, db string, collection string, body TigrisSearchJSONRequestBody) (*http.Request, error)
- func NewTigrisSearchRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisSubscribeRequest(server string, db string, collection string, ...) (*http.Request, error)
- func NewTigrisSubscribeRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisUpdateRequest(server string, db string, collection string, body TigrisUpdateJSONRequestBody) (*http.Request, error)
- func NewTigrisUpdateRequestWithBody(server string, db string, collection string, contentType string, ...) (*http.Request, error)
- func NewUserCreateApplicationRequest(server string, body UserCreateApplicationJSONRequestBody) (*http.Request, error)
- func NewUserCreateApplicationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserDeleteApplicationRequest(server string, body UserDeleteApplicationJSONRequestBody) (*http.Request, error)
- func NewUserDeleteApplicationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserGetUserMetadataRequest(server string, metadataKey string, body UserGetUserMetadataJSONRequestBody) (*http.Request, error)
- func NewUserGetUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserInsertUserMetadataRequest(server string, metadataKey string, body UserInsertUserMetadataJSONRequestBody) (*http.Request, error)
- func NewUserInsertUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserListApplicationsRequest(server string, body UserListApplicationsJSONRequestBody) (*http.Request, error)
- func NewUserListApplicationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserRotateApplicationSecretRequest(server string, body UserRotateApplicationSecretJSONRequestBody) (*http.Request, error)
- func NewUserRotateApplicationSecretRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserUpdateApplicationRequest(server string, body UserUpdateApplicationJSONRequestBody) (*http.Request, error)
- func NewUserUpdateApplicationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserUpdateUserMetadataRequest(server string, metadataKey string, body UserUpdateUserMetadataJSONRequestBody) (*http.Request, error)
- func NewUserUpdateUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type AdditionalFunction
- type AdminCreateNamespaceJSONBody
- type AdminCreateNamespaceJSONRequestBody
- type AdminCreateNamespaceResponse
- type AdminListNamespacesResponse
- type Application
- type AuthGetAccessTokenJSONBody
- type AuthGetAccessTokenJSONRequestBody
- type AuthGetAccessTokenResponse
- type BeginTransactionRequest
- type BeginTransactionResponse
- type Client
- func (c *Client) AdminCreateNamespace(ctx context.Context, name string, body AdminCreateNamespaceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AdminCreateNamespaceWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AdminListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AuthGetAccessToken(ctx context.Context, body AuthGetAccessTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthGetAccessTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) HealthAPIHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ObservabilityQueryTimeSeriesMetrics(ctx context.Context, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ObservabilityQueryTimeSeriesMetricsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisBeginTransaction(ctx context.Context, db string, body TigrisBeginTransactionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisBeginTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisCommitTransaction(ctx context.Context, db string, body TigrisCommitTransactionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisCommitTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisCreateDatabase(ctx context.Context, db string, body TigrisCreateDatabaseJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisCreateDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisCreateOrUpdateCollection(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisCreateOrUpdateCollectionWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisDelete(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisDeleteWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisDescribeCollection(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisDescribeCollectionWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisDescribeDatabase(ctx context.Context, db string, body TigrisDescribeDatabaseJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisDescribeDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisDropCollection(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisDropCollectionWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisDropDatabase(ctx context.Context, db string, body TigrisDropDatabaseJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisDropDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisEvents(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisEventsWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisGetInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TigrisInsert(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisInsertWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisListCollections(ctx context.Context, db string, body TigrisListCollectionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisListCollectionsWithBody(ctx context.Context, db string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisListDatabases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TigrisPublish(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisPublishWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisRead(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisReadWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisReplace(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisReplaceWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisRollbackTransaction(ctx context.Context, db string, body TigrisRollbackTransactionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisRollbackTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisSearch(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisSearchWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisSubscribe(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisSubscribeWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisUpdate(ctx context.Context, db string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisUpdateWithBody(ctx context.Context, db string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) UserCreateApplication(ctx context.Context, body UserCreateApplicationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UserCreateApplicationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserDeleteApplication(ctx context.Context, body UserDeleteApplicationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UserDeleteApplicationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserGetUserMetadata(ctx context.Context, metadataKey string, ...) (*http.Response, error)
- func (c *Client) UserGetUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserInsertUserMetadata(ctx context.Context, metadataKey string, ...) (*http.Response, error)
- func (c *Client) UserInsertUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserListApplications(ctx context.Context, body UserListApplicationsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UserListApplicationsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserRotateApplicationSecret(ctx context.Context, body UserRotateApplicationSecretJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UserRotateApplicationSecretWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserUpdateApplication(ctx context.Context, body UserUpdateApplicationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UserUpdateApplicationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserUpdateUserMetadata(ctx context.Context, metadataKey string, ...) (*http.Response, error)
- func (c *Client) UserUpdateUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AdminCreateNamespaceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*AdminCreateNamespaceResponse, error)
- func (c *ClientWithResponses) AdminCreateNamespaceWithResponse(ctx context.Context, name string, body AdminCreateNamespaceJSONRequestBody, ...) (*AdminCreateNamespaceResponse, error)
- func (c *ClientWithResponses) AdminListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListNamespacesResponse, error)
- func (c *ClientWithResponses) AuthGetAccessTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthGetAccessTokenResponse, error)
- func (c *ClientWithResponses) AuthGetAccessTokenWithResponse(ctx context.Context, body AuthGetAccessTokenJSONRequestBody, ...) (*AuthGetAccessTokenResponse, error)
- func (c *ClientWithResponses) HealthAPIHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthAPIHealthResponse, error)
- func (c *ClientWithResponses) ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ObservabilityQueryTimeSeriesMetricsResponse, error)
- func (c *ClientWithResponses) ObservabilityQueryTimeSeriesMetricsWithResponse(ctx context.Context, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody, ...) (*ObservabilityQueryTimeSeriesMetricsResponse, error)
- func (c *ClientWithResponses) TigrisBeginTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, ...) (*TigrisBeginTransactionResponse, error)
- func (c *ClientWithResponses) TigrisBeginTransactionWithResponse(ctx context.Context, db string, body TigrisBeginTransactionJSONRequestBody, ...) (*TigrisBeginTransactionResponse, error)
- func (c *ClientWithResponses) TigrisCommitTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, ...) (*TigrisCommitTransactionResponse, error)
- func (c *ClientWithResponses) TigrisCommitTransactionWithResponse(ctx context.Context, db string, body TigrisCommitTransactionJSONRequestBody, ...) (*TigrisCommitTransactionResponse, error)
- func (c *ClientWithResponses) TigrisCreateDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, ...) (*TigrisCreateDatabaseResponse, error)
- func (c *ClientWithResponses) TigrisCreateDatabaseWithResponse(ctx context.Context, db string, body TigrisCreateDatabaseJSONRequestBody, ...) (*TigrisCreateDatabaseResponse, error)
- func (c *ClientWithResponses) TigrisCreateOrUpdateCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisCreateOrUpdateCollectionResponse, error)
- func (c *ClientWithResponses) TigrisCreateOrUpdateCollectionWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisCreateOrUpdateCollectionResponse, error)
- func (c *ClientWithResponses) TigrisDeleteWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisDeleteResponse, error)
- func (c *ClientWithResponses) TigrisDeleteWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisDeleteResponse, error)
- func (c *ClientWithResponses) TigrisDescribeCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisDescribeCollectionResponse, error)
- func (c *ClientWithResponses) TigrisDescribeCollectionWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisDescribeCollectionResponse, error)
- func (c *ClientWithResponses) TigrisDescribeDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, ...) (*TigrisDescribeDatabaseResponse, error)
- func (c *ClientWithResponses) TigrisDescribeDatabaseWithResponse(ctx context.Context, db string, body TigrisDescribeDatabaseJSONRequestBody, ...) (*TigrisDescribeDatabaseResponse, error)
- func (c *ClientWithResponses) TigrisDropCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisDropCollectionResponse, error)
- func (c *ClientWithResponses) TigrisDropCollectionWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisDropCollectionResponse, error)
- func (c *ClientWithResponses) TigrisDropDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, ...) (*TigrisDropDatabaseResponse, error)
- func (c *ClientWithResponses) TigrisDropDatabaseWithResponse(ctx context.Context, db string, body TigrisDropDatabaseJSONRequestBody, ...) (*TigrisDropDatabaseResponse, error)
- func (c *ClientWithResponses) TigrisEventsWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisEventsResponse, error)
- func (c *ClientWithResponses) TigrisEventsWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisEventsResponse, error)
- func (c *ClientWithResponses) TigrisGetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisGetInfoResponse, error)
- func (c *ClientWithResponses) TigrisInsertWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisInsertResponse, error)
- func (c *ClientWithResponses) TigrisInsertWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisInsertResponse, error)
- func (c *ClientWithResponses) TigrisListCollectionsWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, ...) (*TigrisListCollectionsResponse, error)
- func (c *ClientWithResponses) TigrisListCollectionsWithResponse(ctx context.Context, db string, body TigrisListCollectionsJSONRequestBody, ...) (*TigrisListCollectionsResponse, error)
- func (c *ClientWithResponses) TigrisListDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisListDatabasesResponse, error)
- func (c *ClientWithResponses) TigrisPublishWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisPublishResponse, error)
- func (c *ClientWithResponses) TigrisPublishWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisPublishResponse, error)
- func (c *ClientWithResponses) TigrisReadWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisReadResponse, error)
- func (c *ClientWithResponses) TigrisReadWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisReadResponse, error)
- func (c *ClientWithResponses) TigrisReplaceWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisReplaceResponse, error)
- func (c *ClientWithResponses) TigrisReplaceWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisReplaceResponse, error)
- func (c *ClientWithResponses) TigrisRollbackTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, ...) (*TigrisRollbackTransactionResponse, error)
- func (c *ClientWithResponses) TigrisRollbackTransactionWithResponse(ctx context.Context, db string, body TigrisRollbackTransactionJSONRequestBody, ...) (*TigrisRollbackTransactionResponse, error)
- func (c *ClientWithResponses) TigrisSearchWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisSearchResponse, error)
- func (c *ClientWithResponses) TigrisSearchWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisSearchResponse, error)
- func (c *ClientWithResponses) TigrisSubscribeWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisSubscribeResponse, error)
- func (c *ClientWithResponses) TigrisSubscribeWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisSubscribeResponse, error)
- func (c *ClientWithResponses) TigrisUpdateWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, ...) (*TigrisUpdateResponse, error)
- func (c *ClientWithResponses) TigrisUpdateWithResponse(ctx context.Context, db string, collection string, ...) (*TigrisUpdateResponse, error)
- func (c *ClientWithResponses) UserCreateApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UserCreateApplicationResponse, error)
- func (c *ClientWithResponses) UserCreateApplicationWithResponse(ctx context.Context, body UserCreateApplicationJSONRequestBody, ...) (*UserCreateApplicationResponse, error)
- func (c *ClientWithResponses) UserDeleteApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UserDeleteApplicationResponse, error)
- func (c *ClientWithResponses) UserDeleteApplicationWithResponse(ctx context.Context, body UserDeleteApplicationJSONRequestBody, ...) (*UserDeleteApplicationResponse, error)
- func (c *ClientWithResponses) UserGetUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*UserGetUserMetadataResponse, error)
- func (c *ClientWithResponses) UserGetUserMetadataWithResponse(ctx context.Context, metadataKey string, ...) (*UserGetUserMetadataResponse, error)
- func (c *ClientWithResponses) UserInsertUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*UserInsertUserMetadataResponse, error)
- func (c *ClientWithResponses) UserInsertUserMetadataWithResponse(ctx context.Context, metadataKey string, ...) (*UserInsertUserMetadataResponse, error)
- func (c *ClientWithResponses) UserListApplicationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UserListApplicationsResponse, error)
- func (c *ClientWithResponses) UserListApplicationsWithResponse(ctx context.Context, body UserListApplicationsJSONRequestBody, ...) (*UserListApplicationsResponse, error)
- func (c *ClientWithResponses) UserRotateApplicationSecretWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UserRotateApplicationSecretResponse, error)
- func (c *ClientWithResponses) UserRotateApplicationSecretWithResponse(ctx context.Context, body UserRotateApplicationSecretJSONRequestBody, ...) (*UserRotateApplicationSecretResponse, error)
- func (c *ClientWithResponses) UserUpdateApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UserUpdateApplicationResponse, error)
- func (c *ClientWithResponses) UserUpdateApplicationWithResponse(ctx context.Context, body UserUpdateApplicationJSONRequestBody, ...) (*UserUpdateApplicationResponse, error)
- func (c *ClientWithResponses) UserUpdateUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*UserUpdateUserMetadataResponse, error)
- func (c *ClientWithResponses) UserUpdateUserMetadataWithResponse(ctx context.Context, metadataKey string, ...) (*UserUpdateUserMetadataResponse, error)
- type ClientWithResponsesInterface
- type Collation
- type CollectionDescription
- type CollectionInfo
- type CollectionMetadata
- type CollectionOptions
- type CommitTransactionRequest
- type CommitTransactionResponse
- type CreateApplicationRequest
- type CreateApplicationResponse
- type CreateDatabaseRequest
- type CreateDatabaseResponse
- type CreateNamespaceRequest
- type CreateNamespaceResponse
- type CreateOrUpdateCollectionRequest
- type CreateOrUpdateCollectionResponse
- type DataPoint
- type DatabaseInfo
- type DatabaseMetadata
- type DatabaseOptions
- type DeleteApplicationResponse
- type DeleteApplicationsRequest
- type DeleteRequest
- type DeleteRequestOptions
- type DeleteResponse
- type DescribeCollectionRequest
- type DescribeCollectionResponse
- type DescribeDatabaseRequest
- type DescribeDatabaseResponse
- type DropCollectionRequest
- type DropCollectionResponse
- type DropDatabaseRequest
- type DropDatabaseResponse
- type Error
- type ErrorCode
- type EventsRequest
- type EventsRequestOptions
- type EventsResponse
- type FacetCount
- type FacetStats
- type GetAccessTokenRequest
- type GetAccessTokenRequestGrantType
- type GetAccessTokenResponse
- type GetInfoResponse
- type GetUserMetadataRequest
- type GetUserMetadataResponse
- type HealthAPIHealthResponse
- type HealthCheckResponse
- type HttpRequestDoer
- type InsertRequest
- type InsertRequestOptions
- type InsertResponse
- type InsertUserMetadataRequest
- type InsertUserMetadataResponse
- type ListApplicationsRequest
- type ListApplicationsResponse
- type ListCollectionsRequest
- type ListCollectionsResponse
- type ListDatabasesResponse
- type ListNamespacesResponse
- type MetricSeries
- type NamespaceInfo
- type ObservabilityQueryTimeSeriesMetricsJSONBody
- type ObservabilityQueryTimeSeriesMetricsJSONRequestBody
- type ObservabilityQueryTimeSeriesMetricsResponse
- type Page
- type PublishRequest
- type PublishRequestOptions
- type PublishResponse
- type QueryTimeSeriesMetricsRequest
- type QueryTimeSeriesMetricsRequestFunction
- type QueryTimeSeriesMetricsRequestSpaceAggregation
- type QueryTimeSeriesMetricsRequestTigrisOperation
- type QueryTimeSeriesMetricsResponse
- type ReadRequest
- type ReadRequestOptions
- type ReadResponse
- type ReplaceRequest
- type ReplaceRequestOptions
- type ReplaceResponse
- type RequestEditorFn
- type ResponseMetadata
- type RollbackTransactionRequest
- type RollbackTransactionResponse
- type RollupFunction
- type RollupFunctionAggregator
- type RotateApplicationSecretRequest
- type RotateApplicationSecretResponse
- type SearchFacet
- type SearchHit
- type SearchHitMeta
- type SearchMetadata
- type SearchRequest
- type SearchResponse
- type SearchResponse_Facets
- type Status
- type StreamEvent
- type StreamingEventsResponse
- type StreamingReadResponse
- type StreamingSearchResponse
- type StreamingSubscribeResponse
- type SubscribeRequest
- type SubscribeRequestOptions
- type SubscribeResponse
- type TigrisBeginTransactionJSONBody
- type TigrisBeginTransactionJSONRequestBody
- type TigrisBeginTransactionResponse
- type TigrisCommitTransactionJSONBody
- type TigrisCommitTransactionJSONRequestBody
- type TigrisCommitTransactionResponse
- type TigrisCreateDatabaseJSONBody
- type TigrisCreateDatabaseJSONRequestBody
- type TigrisCreateDatabaseResponse
- type TigrisCreateOrUpdateCollectionJSONBody
- type TigrisCreateOrUpdateCollectionJSONRequestBody
- type TigrisCreateOrUpdateCollectionResponse
- type TigrisDeleteJSONBody
- type TigrisDeleteJSONRequestBody
- type TigrisDeleteResponse
- type TigrisDescribeCollectionJSONBody
- type TigrisDescribeCollectionJSONRequestBody
- type TigrisDescribeCollectionResponse
- type TigrisDescribeDatabaseJSONBody
- type TigrisDescribeDatabaseJSONRequestBody
- type TigrisDescribeDatabaseResponse
- type TigrisDropCollectionJSONBody
- type TigrisDropCollectionJSONRequestBody
- type TigrisDropCollectionResponse
- type TigrisDropDatabaseJSONBody
- type TigrisDropDatabaseJSONRequestBody
- type TigrisDropDatabaseResponse
- type TigrisEventsJSONBody
- type TigrisEventsJSONRequestBody
- type TigrisEventsResponse
- type TigrisGetInfoResponse
- type TigrisInsertJSONBody
- type TigrisInsertJSONRequestBody
- type TigrisInsertResponse
- type TigrisListCollectionsJSONBody
- type TigrisListCollectionsJSONRequestBody
- type TigrisListCollectionsResponse
- type TigrisListDatabasesResponse
- type TigrisPublishJSONBody
- type TigrisPublishJSONRequestBody
- type TigrisPublishResponse
- type TigrisReadJSONBody
- type TigrisReadJSONRequestBody
- type TigrisReadResponse
- type TigrisReplaceJSONBody
- type TigrisReplaceJSONRequestBody
- type TigrisReplaceResponse
- type TigrisRollbackTransactionJSONBody
- type TigrisRollbackTransactionJSONRequestBody
- type TigrisRollbackTransactionResponse
- type TigrisSearchJSONBody
- type TigrisSearchJSONRequestBody
- type TigrisSearchResponse
- type TigrisSubscribeJSONBody
- type TigrisSubscribeJSONRequestBody
- type TigrisSubscribeResponse
- type TigrisUpdateJSONBody
- type TigrisUpdateJSONRequestBody
- type TigrisUpdateResponse
- type TransactionCtx
- type TransactionOptions
- type UpdateApplicationRequest
- type UpdateApplicationResponse
- type UpdateRequest
- type UpdateRequestOptions
- type UpdateResponse
- type UpdateUserMetadataRequest
- type UpdateUserMetadataResponse
- type UserCreateApplicationJSONBody
- type UserCreateApplicationJSONRequestBody
- type UserCreateApplicationResponse
- type UserDeleteApplicationJSONBody
- type UserDeleteApplicationJSONRequestBody
- type UserDeleteApplicationResponse
- type UserGetUserMetadataJSONBody
- type UserGetUserMetadataJSONRequestBody
- type UserGetUserMetadataResponse
- type UserInsertUserMetadataJSONBody
- type UserInsertUserMetadataJSONRequestBody
- type UserInsertUserMetadataResponse
- type UserListApplicationsJSONBody
- type UserListApplicationsJSONRequestBody
- type UserListApplicationsResponse
- type UserRotateApplicationSecretJSONBody
- type UserRotateApplicationSecretJSONRequestBody
- type UserRotateApplicationSecretResponse
- type UserUpdateApplicationJSONBody
- type UserUpdateApplicationJSONRequestBody
- type UserUpdateApplicationResponse
- type UserUpdateUserMetadataJSONBody
- type UserUpdateUserMetadataJSONRequestBody
- type UserUpdateUserMetadataResponse
- type WriteOptions
Constants ¶
const (
BearerAuthScopes = "BearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func NewAdminCreateNamespaceRequest ¶
func NewAdminCreateNamespaceRequest(server string, name string, body AdminCreateNamespaceJSONRequestBody) (*http.Request, error)
NewAdminCreateNamespaceRequest calls the generic AdminCreateNamespace builder with application/json body
func NewAdminCreateNamespaceRequestWithBody ¶
func NewAdminCreateNamespaceRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
NewAdminCreateNamespaceRequestWithBody generates requests for AdminCreateNamespace with any type of body
func NewAdminListNamespacesRequest ¶
NewAdminListNamespacesRequest generates requests for AdminListNamespaces
func NewAuthGetAccessTokenRequest ¶
func NewAuthGetAccessTokenRequest(server string, body AuthGetAccessTokenJSONRequestBody) (*http.Request, error)
NewAuthGetAccessTokenRequest calls the generic AuthGetAccessToken builder with application/json body
func NewAuthGetAccessTokenRequestWithBody ¶
func NewAuthGetAccessTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthGetAccessTokenRequestWithBody generates requests for AuthGetAccessToken with any type of body
func NewHealthAPIHealthRequest ¶
NewHealthAPIHealthRequest generates requests for HealthAPIHealth
func NewObservabilityQueryTimeSeriesMetricsRequest ¶
func NewObservabilityQueryTimeSeriesMetricsRequest(server string, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody) (*http.Request, error)
NewObservabilityQueryTimeSeriesMetricsRequest calls the generic ObservabilityQueryTimeSeriesMetrics builder with application/json body
func NewObservabilityQueryTimeSeriesMetricsRequestWithBody ¶
func NewObservabilityQueryTimeSeriesMetricsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewObservabilityQueryTimeSeriesMetricsRequestWithBody generates requests for ObservabilityQueryTimeSeriesMetrics with any type of body
func NewTigrisBeginTransactionRequest ¶
func NewTigrisBeginTransactionRequest(server string, db string, body TigrisBeginTransactionJSONRequestBody) (*http.Request, error)
NewTigrisBeginTransactionRequest calls the generic TigrisBeginTransaction builder with application/json body
func NewTigrisBeginTransactionRequestWithBody ¶
func NewTigrisBeginTransactionRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisBeginTransactionRequestWithBody generates requests for TigrisBeginTransaction with any type of body
func NewTigrisCommitTransactionRequest ¶
func NewTigrisCommitTransactionRequest(server string, db string, body TigrisCommitTransactionJSONRequestBody) (*http.Request, error)
NewTigrisCommitTransactionRequest calls the generic TigrisCommitTransaction builder with application/json body
func NewTigrisCommitTransactionRequestWithBody ¶
func NewTigrisCommitTransactionRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisCommitTransactionRequestWithBody generates requests for TigrisCommitTransaction with any type of body
func NewTigrisCreateDatabaseRequest ¶
func NewTigrisCreateDatabaseRequest(server string, db string, body TigrisCreateDatabaseJSONRequestBody) (*http.Request, error)
NewTigrisCreateDatabaseRequest calls the generic TigrisCreateDatabase builder with application/json body
func NewTigrisCreateDatabaseRequestWithBody ¶
func NewTigrisCreateDatabaseRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisCreateDatabaseRequestWithBody generates requests for TigrisCreateDatabase with any type of body
func NewTigrisCreateOrUpdateCollectionRequest ¶
func NewTigrisCreateOrUpdateCollectionRequest(server string, db string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody) (*http.Request, error)
NewTigrisCreateOrUpdateCollectionRequest calls the generic TigrisCreateOrUpdateCollection builder with application/json body
func NewTigrisCreateOrUpdateCollectionRequestWithBody ¶
func NewTigrisCreateOrUpdateCollectionRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisCreateOrUpdateCollectionRequestWithBody generates requests for TigrisCreateOrUpdateCollection with any type of body
func NewTigrisDeleteRequest ¶
func NewTigrisDeleteRequest(server string, db string, collection string, body TigrisDeleteJSONRequestBody) (*http.Request, error)
NewTigrisDeleteRequest calls the generic TigrisDelete builder with application/json body
func NewTigrisDeleteRequestWithBody ¶
func NewTigrisDeleteRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisDeleteRequestWithBody generates requests for TigrisDelete with any type of body
func NewTigrisDescribeCollectionRequest ¶
func NewTigrisDescribeCollectionRequest(server string, db string, collection string, body TigrisDescribeCollectionJSONRequestBody) (*http.Request, error)
NewTigrisDescribeCollectionRequest calls the generic TigrisDescribeCollection builder with application/json body
func NewTigrisDescribeCollectionRequestWithBody ¶
func NewTigrisDescribeCollectionRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisDescribeCollectionRequestWithBody generates requests for TigrisDescribeCollection with any type of body
func NewTigrisDescribeDatabaseRequest ¶
func NewTigrisDescribeDatabaseRequest(server string, db string, body TigrisDescribeDatabaseJSONRequestBody) (*http.Request, error)
NewTigrisDescribeDatabaseRequest calls the generic TigrisDescribeDatabase builder with application/json body
func NewTigrisDescribeDatabaseRequestWithBody ¶
func NewTigrisDescribeDatabaseRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisDescribeDatabaseRequestWithBody generates requests for TigrisDescribeDatabase with any type of body
func NewTigrisDropCollectionRequest ¶
func NewTigrisDropCollectionRequest(server string, db string, collection string, body TigrisDropCollectionJSONRequestBody) (*http.Request, error)
NewTigrisDropCollectionRequest calls the generic TigrisDropCollection builder with application/json body
func NewTigrisDropCollectionRequestWithBody ¶
func NewTigrisDropCollectionRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisDropCollectionRequestWithBody generates requests for TigrisDropCollection with any type of body
func NewTigrisDropDatabaseRequest ¶
func NewTigrisDropDatabaseRequest(server string, db string, body TigrisDropDatabaseJSONRequestBody) (*http.Request, error)
NewTigrisDropDatabaseRequest calls the generic TigrisDropDatabase builder with application/json body
func NewTigrisDropDatabaseRequestWithBody ¶
func NewTigrisDropDatabaseRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisDropDatabaseRequestWithBody generates requests for TigrisDropDatabase with any type of body
func NewTigrisEventsRequest ¶
func NewTigrisEventsRequest(server string, db string, collection string, body TigrisEventsJSONRequestBody) (*http.Request, error)
NewTigrisEventsRequest calls the generic TigrisEvents builder with application/json body
func NewTigrisEventsRequestWithBody ¶
func NewTigrisEventsRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisEventsRequestWithBody generates requests for TigrisEvents with any type of body
func NewTigrisGetInfoRequest ¶
NewTigrisGetInfoRequest generates requests for TigrisGetInfo
func NewTigrisInsertRequest ¶
func NewTigrisInsertRequest(server string, db string, collection string, body TigrisInsertJSONRequestBody) (*http.Request, error)
NewTigrisInsertRequest calls the generic TigrisInsert builder with application/json body
func NewTigrisInsertRequestWithBody ¶
func NewTigrisInsertRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisInsertRequestWithBody generates requests for TigrisInsert with any type of body
func NewTigrisListCollectionsRequest ¶
func NewTigrisListCollectionsRequest(server string, db string, body TigrisListCollectionsJSONRequestBody) (*http.Request, error)
NewTigrisListCollectionsRequest calls the generic TigrisListCollections builder with application/json body
func NewTigrisListCollectionsRequestWithBody ¶
func NewTigrisListCollectionsRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisListCollectionsRequestWithBody generates requests for TigrisListCollections with any type of body
func NewTigrisListDatabasesRequest ¶
NewTigrisListDatabasesRequest generates requests for TigrisListDatabases
func NewTigrisPublishRequest ¶
func NewTigrisPublishRequest(server string, db string, collection string, body TigrisPublishJSONRequestBody) (*http.Request, error)
NewTigrisPublishRequest calls the generic TigrisPublish builder with application/json body
func NewTigrisPublishRequestWithBody ¶
func NewTigrisPublishRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisPublishRequestWithBody generates requests for TigrisPublish with any type of body
func NewTigrisReadRequest ¶
func NewTigrisReadRequest(server string, db string, collection string, body TigrisReadJSONRequestBody) (*http.Request, error)
NewTigrisReadRequest calls the generic TigrisRead builder with application/json body
func NewTigrisReadRequestWithBody ¶
func NewTigrisReadRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisReadRequestWithBody generates requests for TigrisRead with any type of body
func NewTigrisReplaceRequest ¶
func NewTigrisReplaceRequest(server string, db string, collection string, body TigrisReplaceJSONRequestBody) (*http.Request, error)
NewTigrisReplaceRequest calls the generic TigrisReplace builder with application/json body
func NewTigrisReplaceRequestWithBody ¶
func NewTigrisReplaceRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisReplaceRequestWithBody generates requests for TigrisReplace with any type of body
func NewTigrisRollbackTransactionRequest ¶
func NewTigrisRollbackTransactionRequest(server string, db string, body TigrisRollbackTransactionJSONRequestBody) (*http.Request, error)
NewTigrisRollbackTransactionRequest calls the generic TigrisRollbackTransaction builder with application/json body
func NewTigrisRollbackTransactionRequestWithBody ¶
func NewTigrisRollbackTransactionRequestWithBody(server string, db string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisRollbackTransactionRequestWithBody generates requests for TigrisRollbackTransaction with any type of body
func NewTigrisSearchRequest ¶
func NewTigrisSearchRequest(server string, db string, collection string, body TigrisSearchJSONRequestBody) (*http.Request, error)
NewTigrisSearchRequest calls the generic TigrisSearch builder with application/json body
func NewTigrisSearchRequestWithBody ¶
func NewTigrisSearchRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisSearchRequestWithBody generates requests for TigrisSearch with any type of body
func NewTigrisSubscribeRequest ¶
func NewTigrisSubscribeRequest(server string, db string, collection string, body TigrisSubscribeJSONRequestBody) (*http.Request, error)
NewTigrisSubscribeRequest calls the generic TigrisSubscribe builder with application/json body
func NewTigrisSubscribeRequestWithBody ¶
func NewTigrisSubscribeRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisSubscribeRequestWithBody generates requests for TigrisSubscribe with any type of body
func NewTigrisUpdateRequest ¶
func NewTigrisUpdateRequest(server string, db string, collection string, body TigrisUpdateJSONRequestBody) (*http.Request, error)
NewTigrisUpdateRequest calls the generic TigrisUpdate builder with application/json body
func NewTigrisUpdateRequestWithBody ¶
func NewTigrisUpdateRequestWithBody(server string, db string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisUpdateRequestWithBody generates requests for TigrisUpdate with any type of body
func NewUserCreateApplicationRequest ¶
func NewUserCreateApplicationRequest(server string, body UserCreateApplicationJSONRequestBody) (*http.Request, error)
NewUserCreateApplicationRequest calls the generic UserCreateApplication builder with application/json body
func NewUserCreateApplicationRequestWithBody ¶
func NewUserCreateApplicationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUserCreateApplicationRequestWithBody generates requests for UserCreateApplication with any type of body
func NewUserDeleteApplicationRequest ¶
func NewUserDeleteApplicationRequest(server string, body UserDeleteApplicationJSONRequestBody) (*http.Request, error)
NewUserDeleteApplicationRequest calls the generic UserDeleteApplication builder with application/json body
func NewUserDeleteApplicationRequestWithBody ¶
func NewUserDeleteApplicationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUserDeleteApplicationRequestWithBody generates requests for UserDeleteApplication with any type of body
func NewUserGetUserMetadataRequest ¶
func NewUserGetUserMetadataRequest(server string, metadataKey string, body UserGetUserMetadataJSONRequestBody) (*http.Request, error)
NewUserGetUserMetadataRequest calls the generic UserGetUserMetadata builder with application/json body
func NewUserGetUserMetadataRequestWithBody ¶
func NewUserGetUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
NewUserGetUserMetadataRequestWithBody generates requests for UserGetUserMetadata with any type of body
func NewUserInsertUserMetadataRequest ¶
func NewUserInsertUserMetadataRequest(server string, metadataKey string, body UserInsertUserMetadataJSONRequestBody) (*http.Request, error)
NewUserInsertUserMetadataRequest calls the generic UserInsertUserMetadata builder with application/json body
func NewUserInsertUserMetadataRequestWithBody ¶
func NewUserInsertUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
NewUserInsertUserMetadataRequestWithBody generates requests for UserInsertUserMetadata with any type of body
func NewUserListApplicationsRequest ¶
func NewUserListApplicationsRequest(server string, body UserListApplicationsJSONRequestBody) (*http.Request, error)
NewUserListApplicationsRequest calls the generic UserListApplications builder with application/json body
func NewUserListApplicationsRequestWithBody ¶
func NewUserListApplicationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUserListApplicationsRequestWithBody generates requests for UserListApplications with any type of body
func NewUserRotateApplicationSecretRequest ¶
func NewUserRotateApplicationSecretRequest(server string, body UserRotateApplicationSecretJSONRequestBody) (*http.Request, error)
NewUserRotateApplicationSecretRequest calls the generic UserRotateApplicationSecret builder with application/json body
func NewUserRotateApplicationSecretRequestWithBody ¶
func NewUserRotateApplicationSecretRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUserRotateApplicationSecretRequestWithBody generates requests for UserRotateApplicationSecret with any type of body
func NewUserUpdateApplicationRequest ¶
func NewUserUpdateApplicationRequest(server string, body UserUpdateApplicationJSONRequestBody) (*http.Request, error)
NewUserUpdateApplicationRequest calls the generic UserUpdateApplication builder with application/json body
func NewUserUpdateApplicationRequestWithBody ¶
func NewUserUpdateApplicationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUserUpdateApplicationRequestWithBody generates requests for UserUpdateApplication with any type of body
func NewUserUpdateUserMetadataRequest ¶
func NewUserUpdateUserMetadataRequest(server string, metadataKey string, body UserUpdateUserMetadataJSONRequestBody) (*http.Request, error)
NewUserUpdateUserMetadataRequest calls the generic UserUpdateUserMetadata builder with application/json body
Types ¶
type AdditionalFunction ¶
type AdditionalFunction struct { // Rollup function aggregates the slices of metrics returned by original query and lets you operate on the slices using aggregator and constructs the bigger slice of your choice of interval (specified in seconds). Rollup *RollupFunction `json:"rollup,omitempty"` }
Additional function to apply on metrics query
type AdminCreateNamespaceJSONBody ¶
type AdminCreateNamespaceJSONBody = CreateNamespaceRequest
AdminCreateNamespaceJSONBody defines parameters for AdminCreateNamespace.
type AdminCreateNamespaceJSONRequestBody ¶
type AdminCreateNamespaceJSONRequestBody = AdminCreateNamespaceJSONBody
AdminCreateNamespaceJSONRequestBody defines body for AdminCreateNamespace for application/json ContentType.
type AdminCreateNamespaceResponse ¶
type AdminCreateNamespaceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateNamespaceResponse JSONDefault *Status }
func ParseAdminCreateNamespaceResponse ¶
func ParseAdminCreateNamespaceResponse(rsp *http.Response) (*AdminCreateNamespaceResponse, error)
ParseAdminCreateNamespaceResponse parses an HTTP response from a AdminCreateNamespaceWithResponse call
func (AdminCreateNamespaceResponse) Status ¶
func (r AdminCreateNamespaceResponse) Status() string
Status returns HTTPResponse.Status
func (AdminCreateNamespaceResponse) StatusCode ¶
func (r AdminCreateNamespaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminListNamespacesResponse ¶
type AdminListNamespacesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListNamespacesResponse JSONDefault *Status }
func ParseAdminListNamespacesResponse ¶
func ParseAdminListNamespacesResponse(rsp *http.Response) (*AdminListNamespacesResponse, error)
ParseAdminListNamespacesResponse parses an HTTP response from a AdminListNamespacesWithResponse call
func (AdminListNamespacesResponse) Status ¶
func (r AdminListNamespacesResponse) Status() string
Status returns HTTPResponse.Status
func (AdminListNamespacesResponse) StatusCode ¶
func (r AdminListNamespacesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Application ¶
type Application struct { // Created at CreatedAt *int64 `json:"created_at,omitempty"` // Created by CreatedBy *string `json:"created_by,omitempty"` // A human readable app description Description *string `json:"description,omitempty"` // Generated client id Id *string `json:"id,omitempty"` // A human readable app name Name *string `json:"name,omitempty"` // Generated app secret Secret *string `json:"secret,omitempty"` // Updated at UpdatedAt *int64 `json:"updated_at,omitempty"` // Updated by UpdatedBy *string `json:"updated_by,omitempty"` }
An user application
type AuthGetAccessTokenJSONBody ¶
type AuthGetAccessTokenJSONBody = GetAccessTokenRequest
AuthGetAccessTokenJSONBody defines parameters for AuthGetAccessToken.
type AuthGetAccessTokenJSONRequestBody ¶
type AuthGetAccessTokenJSONRequestBody = AuthGetAccessTokenJSONBody
AuthGetAccessTokenJSONRequestBody defines body for AuthGetAccessToken for application/json ContentType.
type AuthGetAccessTokenResponse ¶
type AuthGetAccessTokenResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetAccessTokenResponse JSONDefault *Status }
func ParseAuthGetAccessTokenResponse ¶
func ParseAuthGetAccessTokenResponse(rsp *http.Response) (*AuthGetAccessTokenResponse, error)
ParseAuthGetAccessTokenResponse parses an HTTP response from a AuthGetAccessTokenWithResponse call
func (AuthGetAccessTokenResponse) Status ¶
func (r AuthGetAccessTokenResponse) Status() string
Status returns HTTPResponse.Status
func (AuthGetAccessTokenResponse) StatusCode ¶
func (r AuthGetAccessTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BeginTransactionRequest ¶
type BeginTransactionRequest struct { // Options that can be used to modify the transaction semantics. Options *TransactionOptions `json:"options,omitempty"` }
Start new transaction in database specified by "db".
type BeginTransactionResponse ¶
type BeginTransactionResponse struct { // Contains ID which uniquely identifies transaction This context is returned by BeginTransaction request and should be passed in the metadata (headers) of subsequent requests in order to run them in the context of the same transaction. TxCtx *TransactionCtx `json:"tx_ctx,omitempty"` }
Start transaction returns transaction context which uniquely identifies the transaction
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AdminCreateNamespace ¶
func (c *Client) AdminCreateNamespace(ctx context.Context, name string, body AdminCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AdminCreateNamespaceWithBody ¶
func (*Client) AdminListNamespaces ¶
func (*Client) AuthGetAccessToken ¶
func (c *Client) AuthGetAccessToken(ctx context.Context, body AuthGetAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AuthGetAccessTokenWithBody ¶
func (*Client) HealthAPIHealth ¶
func (*Client) ObservabilityQueryTimeSeriesMetrics ¶
func (c *Client) ObservabilityQueryTimeSeriesMetrics(ctx context.Context, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ObservabilityQueryTimeSeriesMetricsWithBody ¶
func (*Client) TigrisBeginTransaction ¶
func (c *Client) TigrisBeginTransaction(ctx context.Context, db string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisBeginTransactionWithBody ¶
func (*Client) TigrisCommitTransaction ¶
func (c *Client) TigrisCommitTransaction(ctx context.Context, db string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisCommitTransactionWithBody ¶
func (*Client) TigrisCreateDatabase ¶
func (c *Client) TigrisCreateDatabase(ctx context.Context, db string, body TigrisCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisCreateDatabaseWithBody ¶
func (*Client) TigrisCreateOrUpdateCollection ¶
func (c *Client) TigrisCreateOrUpdateCollection(ctx context.Context, db string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisCreateOrUpdateCollectionWithBody ¶
func (*Client) TigrisDelete ¶
func (c *Client) TigrisDelete(ctx context.Context, db string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDeleteWithBody ¶
func (*Client) TigrisDescribeCollection ¶
func (c *Client) TigrisDescribeCollection(ctx context.Context, db string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDescribeCollectionWithBody ¶
func (*Client) TigrisDescribeDatabase ¶
func (c *Client) TigrisDescribeDatabase(ctx context.Context, db string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDescribeDatabaseWithBody ¶
func (*Client) TigrisDropCollection ¶
func (c *Client) TigrisDropCollection(ctx context.Context, db string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDropCollectionWithBody ¶
func (*Client) TigrisDropDatabase ¶
func (c *Client) TigrisDropDatabase(ctx context.Context, db string, body TigrisDropDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDropDatabaseWithBody ¶
func (*Client) TigrisEvents ¶
func (c *Client) TigrisEvents(ctx context.Context, db string, collection string, body TigrisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisEventsWithBody ¶
func (*Client) TigrisGetInfo ¶
func (*Client) TigrisInsert ¶
func (c *Client) TigrisInsert(ctx context.Context, db string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisInsertWithBody ¶
func (*Client) TigrisListCollections ¶
func (c *Client) TigrisListCollections(ctx context.Context, db string, body TigrisListCollectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisListCollectionsWithBody ¶
func (*Client) TigrisListDatabases ¶
func (*Client) TigrisPublish ¶
func (c *Client) TigrisPublish(ctx context.Context, db string, collection string, body TigrisPublishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisPublishWithBody ¶
func (*Client) TigrisRead ¶
func (c *Client) TigrisRead(ctx context.Context, db string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisReadWithBody ¶
func (*Client) TigrisReplace ¶
func (c *Client) TigrisReplace(ctx context.Context, db string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisReplaceWithBody ¶
func (*Client) TigrisRollbackTransaction ¶
func (c *Client) TigrisRollbackTransaction(ctx context.Context, db string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisRollbackTransactionWithBody ¶
func (*Client) TigrisSearch ¶
func (c *Client) TigrisSearch(ctx context.Context, db string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisSearchWithBody ¶
func (*Client) TigrisSubscribe ¶
func (c *Client) TigrisSubscribe(ctx context.Context, db string, collection string, body TigrisSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisSubscribeWithBody ¶
func (*Client) TigrisUpdate ¶
func (c *Client) TigrisUpdate(ctx context.Context, db string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisUpdateWithBody ¶
func (*Client) UserCreateApplication ¶
func (c *Client) UserCreateApplication(ctx context.Context, body UserCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserCreateApplicationWithBody ¶
func (*Client) UserDeleteApplication ¶
func (c *Client) UserDeleteApplication(ctx context.Context, body UserDeleteApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserDeleteApplicationWithBody ¶
func (*Client) UserGetUserMetadata ¶
func (c *Client) UserGetUserMetadata(ctx context.Context, metadataKey string, body UserGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserGetUserMetadataWithBody ¶
func (*Client) UserInsertUserMetadata ¶
func (c *Client) UserInsertUserMetadata(ctx context.Context, metadataKey string, body UserInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserInsertUserMetadataWithBody ¶
func (*Client) UserListApplications ¶
func (c *Client) UserListApplications(ctx context.Context, body UserListApplicationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserListApplicationsWithBody ¶
func (*Client) UserRotateApplicationSecret ¶
func (c *Client) UserRotateApplicationSecret(ctx context.Context, body UserRotateApplicationSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserRotateApplicationSecretWithBody ¶
func (*Client) UserUpdateApplication ¶
func (c *Client) UserUpdateApplication(ctx context.Context, body UserUpdateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserUpdateApplicationWithBody ¶
func (*Client) UserUpdateUserMetadata ¶
func (c *Client) UserUpdateUserMetadata(ctx context.Context, metadataKey string, body UserUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // AdminListNamespaces request AdminListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // AdminCreateNamespace request with any body AdminCreateNamespaceWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AdminCreateNamespace(ctx context.Context, name string, body AdminCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserCreateApplication request with any body UserCreateApplicationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserCreateApplication(ctx context.Context, body UserCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserDeleteApplication request with any body UserDeleteApplicationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserDeleteApplication(ctx context.Context, body UserDeleteApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserListApplications request with any body UserListApplicationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserListApplications(ctx context.Context, body UserListApplicationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserRotateApplicationSecret request with any body UserRotateApplicationSecretWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserRotateApplicationSecret(ctx context.Context, body UserRotateApplicationSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserUpdateApplication request with any body UserUpdateApplicationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserUpdateApplication(ctx context.Context, body UserUpdateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // AuthGetAccessToken request with any body AuthGetAccessTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AuthGetAccessToken(ctx context.Context, body AuthGetAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisListDatabases request TigrisListDatabases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisListCollections request with any body TigrisListCollectionsWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisListCollections(ctx context.Context, db string, body TigrisListCollectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisCreateOrUpdateCollection request with any body TigrisCreateOrUpdateCollectionWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisCreateOrUpdateCollection(ctx context.Context, db string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDescribeCollection request with any body TigrisDescribeCollectionWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDescribeCollection(ctx context.Context, db string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDelete request with any body TigrisDeleteWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDelete(ctx context.Context, db string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisInsert request with any body TigrisInsertWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisInsert(ctx context.Context, db string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisRead request with any body TigrisReadWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisRead(ctx context.Context, db string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisReplace request with any body TigrisReplaceWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisReplace(ctx context.Context, db string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisSearch request with any body TigrisSearchWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisSearch(ctx context.Context, db string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisUpdate request with any body TigrisUpdateWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisUpdate(ctx context.Context, db string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDropCollection request with any body TigrisDropCollectionWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDropCollection(ctx context.Context, db string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisEvents request with any body TigrisEventsWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisEvents(ctx context.Context, db string, collection string, body TigrisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisPublish request with any body TigrisPublishWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisPublish(ctx context.Context, db string, collection string, body TigrisPublishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisSubscribe request with any body TigrisSubscribeWithBody(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisSubscribe(ctx context.Context, db string, collection string, body TigrisSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisCreateDatabase request with any body TigrisCreateDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisCreateDatabase(ctx context.Context, db string, body TigrisCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDescribeDatabase request with any body TigrisDescribeDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDescribeDatabase(ctx context.Context, db string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDropDatabase request with any body TigrisDropDatabaseWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDropDatabase(ctx context.Context, db string, body TigrisDropDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisBeginTransaction request with any body TigrisBeginTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisBeginTransaction(ctx context.Context, db string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisCommitTransaction request with any body TigrisCommitTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisCommitTransaction(ctx context.Context, db string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisRollbackTransaction request with any body TigrisRollbackTransactionWithBody(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisRollbackTransaction(ctx context.Context, db string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // HealthAPIHealth request HealthAPIHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisGetInfo request TigrisGetInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ObservabilityQueryTimeSeriesMetrics request with any body ObservabilityQueryTimeSeriesMetricsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ObservabilityQueryTimeSeriesMetrics(ctx context.Context, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserGetUserMetadata request with any body UserGetUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserGetUserMetadata(ctx context.Context, metadataKey string, body UserGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserInsertUserMetadata request with any body UserInsertUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserInsertUserMetadata(ctx context.Context, metadataKey string, body UserInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UserUpdateUserMetadata request with any body UserUpdateUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UserUpdateUserMetadata(ctx context.Context, metadataKey string, body UserUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AdminCreateNamespaceWithBodyWithResponse ¶
func (c *ClientWithResponses) AdminCreateNamespaceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminCreateNamespaceResponse, error)
AdminCreateNamespaceWithBodyWithResponse request with arbitrary body returning *AdminCreateNamespaceResponse
func (*ClientWithResponses) AdminCreateNamespaceWithResponse ¶
func (c *ClientWithResponses) AdminCreateNamespaceWithResponse(ctx context.Context, name string, body AdminCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateNamespaceResponse, error)
func (*ClientWithResponses) AdminListNamespacesWithResponse ¶
func (c *ClientWithResponses) AdminListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListNamespacesResponse, error)
AdminListNamespacesWithResponse request returning *AdminListNamespacesResponse
func (*ClientWithResponses) AuthGetAccessTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthGetAccessTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthGetAccessTokenResponse, error)
AuthGetAccessTokenWithBodyWithResponse request with arbitrary body returning *AuthGetAccessTokenResponse
func (*ClientWithResponses) AuthGetAccessTokenWithResponse ¶
func (c *ClientWithResponses) AuthGetAccessTokenWithResponse(ctx context.Context, body AuthGetAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthGetAccessTokenResponse, error)
func (*ClientWithResponses) HealthAPIHealthWithResponse ¶
func (c *ClientWithResponses) HealthAPIHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthAPIHealthResponse, error)
HealthAPIHealthWithResponse request returning *HealthAPIHealthResponse
func (*ClientWithResponses) ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse ¶
func (c *ClientWithResponses) ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQueryTimeSeriesMetricsResponse, error)
ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse request with arbitrary body returning *ObservabilityQueryTimeSeriesMetricsResponse
func (*ClientWithResponses) ObservabilityQueryTimeSeriesMetricsWithResponse ¶
func (c *ClientWithResponses) ObservabilityQueryTimeSeriesMetricsWithResponse(ctx context.Context, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQueryTimeSeriesMetricsResponse, error)
func (*ClientWithResponses) TigrisBeginTransactionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisBeginTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error)
TigrisBeginTransactionWithBodyWithResponse request with arbitrary body returning *TigrisBeginTransactionResponse
func (*ClientWithResponses) TigrisBeginTransactionWithResponse ¶
func (c *ClientWithResponses) TigrisBeginTransactionWithResponse(ctx context.Context, db string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error)
func (*ClientWithResponses) TigrisCommitTransactionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisCommitTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error)
TigrisCommitTransactionWithBodyWithResponse request with arbitrary body returning *TigrisCommitTransactionResponse
func (*ClientWithResponses) TigrisCommitTransactionWithResponse ¶
func (c *ClientWithResponses) TigrisCommitTransactionWithResponse(ctx context.Context, db string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error)
func (*ClientWithResponses) TigrisCreateDatabaseWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisCreateDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateDatabaseResponse, error)
TigrisCreateDatabaseWithBodyWithResponse request with arbitrary body returning *TigrisCreateDatabaseResponse
func (*ClientWithResponses) TigrisCreateDatabaseWithResponse ¶
func (c *ClientWithResponses) TigrisCreateDatabaseWithResponse(ctx context.Context, db string, body TigrisCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateDatabaseResponse, error)
func (*ClientWithResponses) TigrisCreateOrUpdateCollectionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisCreateOrUpdateCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error)
TigrisCreateOrUpdateCollectionWithBodyWithResponse request with arbitrary body returning *TigrisCreateOrUpdateCollectionResponse
func (*ClientWithResponses) TigrisCreateOrUpdateCollectionWithResponse ¶
func (c *ClientWithResponses) TigrisCreateOrUpdateCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error)
func (*ClientWithResponses) TigrisDeleteWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDeleteWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error)
TigrisDeleteWithBodyWithResponse request with arbitrary body returning *TigrisDeleteResponse
func (*ClientWithResponses) TigrisDeleteWithResponse ¶
func (c *ClientWithResponses) TigrisDeleteWithResponse(ctx context.Context, db string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error)
func (*ClientWithResponses) TigrisDescribeCollectionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDescribeCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error)
TigrisDescribeCollectionWithBodyWithResponse request with arbitrary body returning *TigrisDescribeCollectionResponse
func (*ClientWithResponses) TigrisDescribeCollectionWithResponse ¶
func (c *ClientWithResponses) TigrisDescribeCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error)
func (*ClientWithResponses) TigrisDescribeDatabaseWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDescribeDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error)
TigrisDescribeDatabaseWithBodyWithResponse request with arbitrary body returning *TigrisDescribeDatabaseResponse
func (*ClientWithResponses) TigrisDescribeDatabaseWithResponse ¶
func (c *ClientWithResponses) TigrisDescribeDatabaseWithResponse(ctx context.Context, db string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error)
func (*ClientWithResponses) TigrisDropCollectionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDropCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error)
TigrisDropCollectionWithBodyWithResponse request with arbitrary body returning *TigrisDropCollectionResponse
func (*ClientWithResponses) TigrisDropCollectionWithResponse ¶
func (c *ClientWithResponses) TigrisDropCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error)
func (*ClientWithResponses) TigrisDropDatabaseWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDropDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDropDatabaseResponse, error)
TigrisDropDatabaseWithBodyWithResponse request with arbitrary body returning *TigrisDropDatabaseResponse
func (*ClientWithResponses) TigrisDropDatabaseWithResponse ¶
func (c *ClientWithResponses) TigrisDropDatabaseWithResponse(ctx context.Context, db string, body TigrisDropDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropDatabaseResponse, error)
func (*ClientWithResponses) TigrisEventsWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisEventsWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisEventsResponse, error)
TigrisEventsWithBodyWithResponse request with arbitrary body returning *TigrisEventsResponse
func (*ClientWithResponses) TigrisEventsWithResponse ¶
func (c *ClientWithResponses) TigrisEventsWithResponse(ctx context.Context, db string, collection string, body TigrisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisEventsResponse, error)
func (*ClientWithResponses) TigrisGetInfoWithResponse ¶
func (c *ClientWithResponses) TigrisGetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisGetInfoResponse, error)
TigrisGetInfoWithResponse request returning *TigrisGetInfoResponse
func (*ClientWithResponses) TigrisInsertWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisInsertWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error)
TigrisInsertWithBodyWithResponse request with arbitrary body returning *TigrisInsertResponse
func (*ClientWithResponses) TigrisInsertWithResponse ¶
func (c *ClientWithResponses) TigrisInsertWithResponse(ctx context.Context, db string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error)
func (*ClientWithResponses) TigrisListCollectionsWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisListCollectionsWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error)
TigrisListCollectionsWithBodyWithResponse request with arbitrary body returning *TigrisListCollectionsResponse
func (*ClientWithResponses) TigrisListCollectionsWithResponse ¶
func (c *ClientWithResponses) TigrisListCollectionsWithResponse(ctx context.Context, db string, body TigrisListCollectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error)
func (*ClientWithResponses) TigrisListDatabasesWithResponse ¶
func (c *ClientWithResponses) TigrisListDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisListDatabasesResponse, error)
TigrisListDatabasesWithResponse request returning *TigrisListDatabasesResponse
func (*ClientWithResponses) TigrisPublishWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisPublishWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisPublishResponse, error)
TigrisPublishWithBodyWithResponse request with arbitrary body returning *TigrisPublishResponse
func (*ClientWithResponses) TigrisPublishWithResponse ¶
func (c *ClientWithResponses) TigrisPublishWithResponse(ctx context.Context, db string, collection string, body TigrisPublishJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisPublishResponse, error)
func (*ClientWithResponses) TigrisReadWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisReadWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error)
TigrisReadWithBodyWithResponse request with arbitrary body returning *TigrisReadResponse
func (*ClientWithResponses) TigrisReadWithResponse ¶
func (c *ClientWithResponses) TigrisReadWithResponse(ctx context.Context, db string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error)
func (*ClientWithResponses) TigrisReplaceWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisReplaceWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error)
TigrisReplaceWithBodyWithResponse request with arbitrary body returning *TigrisReplaceResponse
func (*ClientWithResponses) TigrisReplaceWithResponse ¶
func (c *ClientWithResponses) TigrisReplaceWithResponse(ctx context.Context, db string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error)
func (*ClientWithResponses) TigrisRollbackTransactionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisRollbackTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error)
TigrisRollbackTransactionWithBodyWithResponse request with arbitrary body returning *TigrisRollbackTransactionResponse
func (*ClientWithResponses) TigrisRollbackTransactionWithResponse ¶
func (c *ClientWithResponses) TigrisRollbackTransactionWithResponse(ctx context.Context, db string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error)
func (*ClientWithResponses) TigrisSearchWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisSearchWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error)
TigrisSearchWithBodyWithResponse request with arbitrary body returning *TigrisSearchResponse
func (*ClientWithResponses) TigrisSearchWithResponse ¶
func (c *ClientWithResponses) TigrisSearchWithResponse(ctx context.Context, db string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error)
func (*ClientWithResponses) TigrisSubscribeWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisSubscribeWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisSubscribeResponse, error)
TigrisSubscribeWithBodyWithResponse request with arbitrary body returning *TigrisSubscribeResponse
func (*ClientWithResponses) TigrisSubscribeWithResponse ¶
func (c *ClientWithResponses) TigrisSubscribeWithResponse(ctx context.Context, db string, collection string, body TigrisSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSubscribeResponse, error)
func (*ClientWithResponses) TigrisUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisUpdateWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error)
TigrisUpdateWithBodyWithResponse request with arbitrary body returning *TigrisUpdateResponse
func (*ClientWithResponses) TigrisUpdateWithResponse ¶
func (c *ClientWithResponses) TigrisUpdateWithResponse(ctx context.Context, db string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error)
func (*ClientWithResponses) UserCreateApplicationWithBodyWithResponse ¶
func (c *ClientWithResponses) UserCreateApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserCreateApplicationResponse, error)
UserCreateApplicationWithBodyWithResponse request with arbitrary body returning *UserCreateApplicationResponse
func (*ClientWithResponses) UserCreateApplicationWithResponse ¶
func (c *ClientWithResponses) UserCreateApplicationWithResponse(ctx context.Context, body UserCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*UserCreateApplicationResponse, error)
func (*ClientWithResponses) UserDeleteApplicationWithBodyWithResponse ¶
func (c *ClientWithResponses) UserDeleteApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserDeleteApplicationResponse, error)
UserDeleteApplicationWithBodyWithResponse request with arbitrary body returning *UserDeleteApplicationResponse
func (*ClientWithResponses) UserDeleteApplicationWithResponse ¶
func (c *ClientWithResponses) UserDeleteApplicationWithResponse(ctx context.Context, body UserDeleteApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*UserDeleteApplicationResponse, error)
func (*ClientWithResponses) UserGetUserMetadataWithBodyWithResponse ¶
func (c *ClientWithResponses) UserGetUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserGetUserMetadataResponse, error)
UserGetUserMetadataWithBodyWithResponse request with arbitrary body returning *UserGetUserMetadataResponse
func (*ClientWithResponses) UserGetUserMetadataWithResponse ¶
func (c *ClientWithResponses) UserGetUserMetadataWithResponse(ctx context.Context, metadataKey string, body UserGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*UserGetUserMetadataResponse, error)
func (*ClientWithResponses) UserInsertUserMetadataWithBodyWithResponse ¶
func (c *ClientWithResponses) UserInsertUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserInsertUserMetadataResponse, error)
UserInsertUserMetadataWithBodyWithResponse request with arbitrary body returning *UserInsertUserMetadataResponse
func (*ClientWithResponses) UserInsertUserMetadataWithResponse ¶
func (c *ClientWithResponses) UserInsertUserMetadataWithResponse(ctx context.Context, metadataKey string, body UserInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*UserInsertUserMetadataResponse, error)
func (*ClientWithResponses) UserListApplicationsWithBodyWithResponse ¶
func (c *ClientWithResponses) UserListApplicationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserListApplicationsResponse, error)
UserListApplicationsWithBodyWithResponse request with arbitrary body returning *UserListApplicationsResponse
func (*ClientWithResponses) UserListApplicationsWithResponse ¶
func (c *ClientWithResponses) UserListApplicationsWithResponse(ctx context.Context, body UserListApplicationsJSONRequestBody, reqEditors ...RequestEditorFn) (*UserListApplicationsResponse, error)
func (*ClientWithResponses) UserRotateApplicationSecretWithBodyWithResponse ¶
func (c *ClientWithResponses) UserRotateApplicationSecretWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserRotateApplicationSecretResponse, error)
UserRotateApplicationSecretWithBodyWithResponse request with arbitrary body returning *UserRotateApplicationSecretResponse
func (*ClientWithResponses) UserRotateApplicationSecretWithResponse ¶
func (c *ClientWithResponses) UserRotateApplicationSecretWithResponse(ctx context.Context, body UserRotateApplicationSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*UserRotateApplicationSecretResponse, error)
func (*ClientWithResponses) UserUpdateApplicationWithBodyWithResponse ¶
func (c *ClientWithResponses) UserUpdateApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserUpdateApplicationResponse, error)
UserUpdateApplicationWithBodyWithResponse request with arbitrary body returning *UserUpdateApplicationResponse
func (*ClientWithResponses) UserUpdateApplicationWithResponse ¶
func (c *ClientWithResponses) UserUpdateApplicationWithResponse(ctx context.Context, body UserUpdateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdateApplicationResponse, error)
func (*ClientWithResponses) UserUpdateUserMetadataWithBodyWithResponse ¶
func (c *ClientWithResponses) UserUpdateUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserUpdateUserMetadataResponse, error)
UserUpdateUserMetadataWithBodyWithResponse request with arbitrary body returning *UserUpdateUserMetadataResponse
func (*ClientWithResponses) UserUpdateUserMetadataWithResponse ¶
func (c *ClientWithResponses) UserUpdateUserMetadataWithResponse(ctx context.Context, metadataKey string, body UserUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdateUserMetadataResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // AdminListNamespaces request AdminListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListNamespacesResponse, error) // AdminCreateNamespace request with any body AdminCreateNamespaceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminCreateNamespaceResponse, error) AdminCreateNamespaceWithResponse(ctx context.Context, name string, body AdminCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminCreateNamespaceResponse, error) // UserCreateApplication request with any body UserCreateApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserCreateApplicationResponse, error) UserCreateApplicationWithResponse(ctx context.Context, body UserCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*UserCreateApplicationResponse, error) // UserDeleteApplication request with any body UserDeleteApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserDeleteApplicationResponse, error) UserDeleteApplicationWithResponse(ctx context.Context, body UserDeleteApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*UserDeleteApplicationResponse, error) // UserListApplications request with any body UserListApplicationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserListApplicationsResponse, error) UserListApplicationsWithResponse(ctx context.Context, body UserListApplicationsJSONRequestBody, reqEditors ...RequestEditorFn) (*UserListApplicationsResponse, error) // UserRotateApplicationSecret request with any body UserRotateApplicationSecretWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserRotateApplicationSecretResponse, error) UserRotateApplicationSecretWithResponse(ctx context.Context, body UserRotateApplicationSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*UserRotateApplicationSecretResponse, error) // UserUpdateApplication request with any body UserUpdateApplicationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserUpdateApplicationResponse, error) UserUpdateApplicationWithResponse(ctx context.Context, body UserUpdateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdateApplicationResponse, error) // AuthGetAccessToken request with any body AuthGetAccessTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthGetAccessTokenResponse, error) AuthGetAccessTokenWithResponse(ctx context.Context, body AuthGetAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthGetAccessTokenResponse, error) // TigrisListDatabases request TigrisListDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisListDatabasesResponse, error) // TigrisListCollections request with any body TigrisListCollectionsWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error) TigrisListCollectionsWithResponse(ctx context.Context, db string, body TigrisListCollectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error) // TigrisCreateOrUpdateCollection request with any body TigrisCreateOrUpdateCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error) TigrisCreateOrUpdateCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error) // TigrisDescribeCollection request with any body TigrisDescribeCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error) TigrisDescribeCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error) // TigrisDelete request with any body TigrisDeleteWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error) TigrisDeleteWithResponse(ctx context.Context, db string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error) // TigrisInsert request with any body TigrisInsertWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error) TigrisInsertWithResponse(ctx context.Context, db string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error) // TigrisRead request with any body TigrisReadWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error) TigrisReadWithResponse(ctx context.Context, db string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error) // TigrisReplace request with any body TigrisReplaceWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error) TigrisReplaceWithResponse(ctx context.Context, db string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error) // TigrisSearch request with any body TigrisSearchWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error) TigrisSearchWithResponse(ctx context.Context, db string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error) // TigrisUpdate request with any body TigrisUpdateWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error) TigrisUpdateWithResponse(ctx context.Context, db string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error) // TigrisDropCollection request with any body TigrisDropCollectionWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error) TigrisDropCollectionWithResponse(ctx context.Context, db string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error) // TigrisEvents request with any body TigrisEventsWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisEventsResponse, error) TigrisEventsWithResponse(ctx context.Context, db string, collection string, body TigrisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisEventsResponse, error) // TigrisPublish request with any body TigrisPublishWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisPublishResponse, error) TigrisPublishWithResponse(ctx context.Context, db string, collection string, body TigrisPublishJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisPublishResponse, error) // TigrisSubscribe request with any body TigrisSubscribeWithBodyWithResponse(ctx context.Context, db string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisSubscribeResponse, error) TigrisSubscribeWithResponse(ctx context.Context, db string, collection string, body TigrisSubscribeJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSubscribeResponse, error) // TigrisCreateDatabase request with any body TigrisCreateDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateDatabaseResponse, error) TigrisCreateDatabaseWithResponse(ctx context.Context, db string, body TigrisCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateDatabaseResponse, error) // TigrisDescribeDatabase request with any body TigrisDescribeDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error) TigrisDescribeDatabaseWithResponse(ctx context.Context, db string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error) // TigrisDropDatabase request with any body TigrisDropDatabaseWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDropDatabaseResponse, error) TigrisDropDatabaseWithResponse(ctx context.Context, db string, body TigrisDropDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropDatabaseResponse, error) // TigrisBeginTransaction request with any body TigrisBeginTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error) TigrisBeginTransactionWithResponse(ctx context.Context, db string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error) // TigrisCommitTransaction request with any body TigrisCommitTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error) TigrisCommitTransactionWithResponse(ctx context.Context, db string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error) // TigrisRollbackTransaction request with any body TigrisRollbackTransactionWithBodyWithResponse(ctx context.Context, db string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error) TigrisRollbackTransactionWithResponse(ctx context.Context, db string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error) // HealthAPIHealth request HealthAPIHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthAPIHealthResponse, error) // TigrisGetInfo request TigrisGetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisGetInfoResponse, error) // ObservabilityQueryTimeSeriesMetrics request with any body ObservabilityQueryTimeSeriesMetricsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQueryTimeSeriesMetricsResponse, error) ObservabilityQueryTimeSeriesMetricsWithResponse(ctx context.Context, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQueryTimeSeriesMetricsResponse, error) // UserGetUserMetadata request with any body UserGetUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserGetUserMetadataResponse, error) UserGetUserMetadataWithResponse(ctx context.Context, metadataKey string, body UserGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*UserGetUserMetadataResponse, error) // UserInsertUserMetadata request with any body UserInsertUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserInsertUserMetadataResponse, error) UserInsertUserMetadataWithResponse(ctx context.Context, metadataKey string, body UserInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*UserInsertUserMetadataResponse, error) // UserUpdateUserMetadata request with any body UserUpdateUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserUpdateUserMetadataResponse, error) UserUpdateUserMetadataWithResponse(ctx context.Context, metadataKey string, body UserUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdateUserMetadataResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Collation ¶
type Collation struct {
Case *string `json:"case,omitempty"`
}
A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set this option to 'ci' that will apply to all the text fields in the filters.
type CollectionDescription ¶
type CollectionDescription struct { // Name of the collection. Collection *string `json:"collection,omitempty"` Metadata *CollectionMetadata `json:"metadata,omitempty"` // Collections schema Schema json.RawMessage `json:"schema,omitempty"` // Collection size in bytes Size *int64 `json:"size,omitempty"` }
CollectionDescription defines model for CollectionDescription.
type CollectionInfo ¶
type CollectionInfo struct { // Collection name. Collection *string `json:"collection,omitempty"` Metadata *CollectionMetadata `json:"metadata,omitempty"` }
CollectionInfo defines model for CollectionInfo.
type CollectionMetadata ¶
type CollectionMetadata = map[string]interface{}
CollectionMetadata defines model for CollectionMetadata.
type CollectionOptions ¶
type CollectionOptions = map[string]interface{}
Collection requests modifying options.
type CommitTransactionRequest ¶
type CommitTransactionRequest = map[string]interface{}
Commit transaction with the given ID
type CommitTransactionResponse ¶
type CommitTransactionResponse struct { // Status of commit transaction operation. Status *string `json:"status,omitempty"` }
CommitTransactionResponse defines model for CommitTransactionResponse.
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { // A human readable app description Description *string `json:"description,omitempty"` // A human readable app name Name *string `json:"name,omitempty"` }
Request creation of user application
type CreateApplicationResponse ¶
type CreateApplicationResponse struct { // An user application CreatedApplication *Application `json:"created_application,omitempty"` }
CreateApplication returns created application
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { // Database requests modifying options. Options *DatabaseOptions `json:"options,omitempty"` }
CreateDatabaseRequest defines model for CreateDatabaseRequest.
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct { // A detailed response message. Message *string `json:"message,omitempty"` // An enum with value set as "created". Status *string `json:"status,omitempty"` }
CreateDatabaseResponse defines model for CreateDatabaseResponse.
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct { // A unique namespace id. Id *int32 `json:"id,omitempty"` }
CreateNamespaceRequest defines model for CreateNamespaceRequest.
type CreateNamespaceResponse ¶
type CreateNamespaceResponse struct { // A detailed response message. Message *string `json:"message,omitempty"` // An enum with value set as "created". Status *string `json:"status,omitempty"` }
CreateNamespaceResponse defines model for CreateNamespaceResponse.
type CreateOrUpdateCollectionRequest ¶
type CreateOrUpdateCollectionRequest struct { // If set to true then the update schema request to the collection will fail by returning a conflict with HTTP Status code 409. The default is false. OnlyCreate *bool `json:"only_create,omitempty"` // Collection requests modifying options. Options *CollectionOptions `json:"options,omitempty"` // Schema of the documents in this collection. The schema specifications are same as JSON schema specification defined <a href="https://json-schema.org/specification.html" title="here">here</a>. <p></p>The following is an schema example: `{ "title": "user", "description": "Collection of documents with details of users", "properties": { "id": { "description": "A unique identifier for the user", "type": "integer" }, "name": { "description": "Name of the user", "type": "string", "maxLength": 100 }, "balance": { "description": "User account balance", "type": "number" } }, "primary_key": ["id"] }` Schema json.RawMessage `json:"schema,omitempty"` }
CreateOrUpdateCollectionRequest defines model for CreateOrUpdateCollectionRequest.
type CreateOrUpdateCollectionResponse ¶
type CreateOrUpdateCollectionResponse struct { // A detailed response message. Message *string `json:"message,omitempty"` // An enum with value set as "created" or "updated" Status *string `json:"status,omitempty"` }
CreateOrUpdateCollectionResponse defines model for CreateOrUpdateCollectionResponse.
type DataPoint ¶
type DataPoint struct { Timestamp *int64 `json:"timestamp,omitempty"` Value *float64 `json:"value,omitempty"` }
Represents the data point in timeseries.
type DatabaseInfo ¶
type DatabaseInfo struct { // Database name. Db *string `json:"db,omitempty"` Metadata *DatabaseMetadata `json:"metadata,omitempty"` }
DatabaseInfo defines model for DatabaseInfo.
type DatabaseMetadata ¶
type DatabaseMetadata = map[string]interface{}
DatabaseMetadata defines model for DatabaseMetadata.
type DatabaseOptions ¶
type DatabaseOptions = map[string]interface{}
Database requests modifying options.
type DeleteApplicationResponse ¶
type DeleteApplicationResponse struct { // status flag for delete operation Deleted *bool `json:"deleted,omitempty"` }
DeleteApplication returns the flag to convey if application was deleted
type DeleteApplicationsRequest ¶
type DeleteApplicationsRequest struct { // application id Id *string `json:"id,omitempty"` }
Request deletion of an application
type DeleteRequest ¶
type DeleteRequest struct { // Delete documents which matching specified filter. A filter can simply be key, value where key is the field name and value would be the value for this field. Or a filter can be logical where two or more fields can be logically joined using $or and $and. A few examples of filter: <li> To delete a user document where the id has a value 1: “`{"id": 1 }“` <li> To delete all the user documents where the key "id" has a value 1 or 2 or 3: `{"$or": [{"id": 1}, {"id": 2}, {"id": 3}]}` Filter json.RawMessage `json:"filter,omitempty"` // Additional options for deleted requests. Options *DeleteRequestOptions `json:"options,omitempty"` }
DeleteRequest defines model for DeleteRequest.
type DeleteRequestOptions ¶
type DeleteRequestOptions struct { // A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set this option to 'ci' that will apply to all the text fields in the filters. Collation *Collation `json:"collation,omitempty"` // Additional options to modify write requests. WriteOptions *WriteOptions `json:"write_options,omitempty"` }
Additional options for deleted requests.
type DeleteResponse ¶
type DeleteResponse struct { // Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // an enum with value set as "deleted" Status *string `json:"status,omitempty"` }
DeleteResponse defines model for DeleteResponse.
type DescribeCollectionRequest ¶
type DescribeCollectionRequest struct { // Name of the collection. Collection *string `json:"collection,omitempty"` // Name of the database. Db *string `json:"db,omitempty"` // Collection requests modifying options. Options *CollectionOptions `json:"options,omitempty"` }
DescribeCollectionRequest defines model for DescribeCollectionRequest.
type DescribeCollectionResponse ¶
type DescribeCollectionResponse struct { // Name of the collection. Collection *string `json:"collection,omitempty"` Metadata *CollectionMetadata `json:"metadata,omitempty"` // Schema of this collection. Schema json.RawMessage `json:"schema,omitempty"` // The size of this collection in bytes. Size *int64 `json:"size,omitempty"` }
A detailed description of the collection. The description returns collection metadata and the schema.
type DescribeDatabaseRequest ¶
type DescribeDatabaseRequest struct { // Name of the database. Db *string `json:"db,omitempty"` }
DescribeDatabaseRequest defines model for DescribeDatabaseRequest.
type DescribeDatabaseResponse ¶
type DescribeDatabaseResponse struct { // A detailed description about all the collections. The description returns collection metadata and the schema. Collections *[]CollectionDescription `json:"collections,omitempty"` // Name of the database. Db *string `json:"db,omitempty"` Metadata *DatabaseMetadata `json:"metadata,omitempty"` // Sum of all the collections sizes present in this database Size *int64 `json:"size,omitempty"` }
A detailed description of the database and all the associated collections. Description of the collection includes schema details as well.
type DropCollectionRequest ¶
type DropCollectionRequest struct { // Collection requests modifying options. Options *CollectionOptions `json:"options,omitempty"` }
DropCollectionRequest defines model for DropCollectionRequest.
type DropCollectionResponse ¶
type DropCollectionResponse struct { // A detailed response message. Message *string `json:"message,omitempty"` // An enum with value set as "dropped". Status *string `json:"status,omitempty"` }
DropCollectionResponse defines model for DropCollectionResponse.
type DropDatabaseRequest ¶
type DropDatabaseRequest struct { // Database requests modifying options. Options *DatabaseOptions `json:"options,omitempty"` }
DropDatabaseRequest defines model for DropDatabaseRequest.
type DropDatabaseResponse ¶
type DropDatabaseResponse struct { // A detailed response message. Message *string `json:"message,omitempty"` // An enum with value set as "dropped". Status *string `json:"status,omitempty"` }
DropDatabaseResponse defines model for DropDatabaseResponse.
type Error ¶
type Error struct { // The status code is a short, machine parsable string, which uniquely identifies the error type. Tigris to HTTP code mapping [here](/reference/http-code) Code *ErrorCode `json:"code,omitempty"` // A developer-facing descriptive error message Message *string `json:"message,omitempty"` }
The Error type defines a logical error model
type ErrorCode ¶
type ErrorCode string
The status code is a short, machine parsable string, which uniquely identifies the error type. Tigris to HTTP code mapping [here](/reference/http-code)
const ( ABORTED ErrorCode = "ABORTED" ALREADYEXISTS ErrorCode = "ALREADY_EXISTS" BADGATEWAY ErrorCode = "BAD_GATEWAY" CANCELLED ErrorCode = "CANCELLED" CONFLICT ErrorCode = "CONFLICT" DATALOSS ErrorCode = "DATA_LOSS" DEADLINEEXCEEDED ErrorCode = "DEADLINE_EXCEEDED" FAILEDPRECONDITION ErrorCode = "FAILED_PRECONDITION" INTERNAL ErrorCode = "INTERNAL" INVALIDARGUMENT ErrorCode = "INVALID_ARGUMENT" METHODNOTALLOWED ErrorCode = "METHOD_NOT_ALLOWED" NOTFOUND ErrorCode = "NOT_FOUND" OK ErrorCode = "OK" OUTOFRANGE ErrorCode = "OUT_OF_RANGE" PERMISSIONDENIED ErrorCode = "PERMISSION_DENIED" RESOURCEEXHAUSTED ErrorCode = "RESOURCE_EXHAUSTED" UNAUTHENTICATED ErrorCode = "UNAUTHENTICATED" UNAVAILABLE ErrorCode = "UNAVAILABLE" UNIMPLEMENTED ErrorCode = "UNIMPLEMENTED" UNKNOWN ErrorCode = "UNKNOWN" )
Defines values for ErrorCode.
type EventsRequest ¶
type EventsRequest struct { Collection *string `json:"collection,omitempty"` Db *string `json:"db,omitempty"` Options *EventsRequestOptions `json:"options,omitempty"` }
EventsRequest defines model for EventsRequest.
type EventsRequestOptions ¶
type EventsRequestOptions = map[string]interface{}
EventsRequestOptions defines model for EventsRequestOptions.
type EventsResponse ¶
type EventsResponse struct {
Event *StreamEvent `json:"event,omitempty"`
}
EventsResponse defines model for EventsResponse.
type FacetCount ¶
type FacetCount struct { Count *int64 `json:"count,omitempty"` Value *string `json:"value,omitempty"` }
FacetCount defines model for FacetCount.
type FacetStats ¶
type FacetStats struct { // Average of all values in a field. Only available for numeric fields Avg *float64 `json:"avg,omitempty"` // Total number of values in a field Count *int64 `json:"count,omitempty"` // Maximum of all values in a field. Only available for numeric fields Max *float64 `json:"max,omitempty"` // Minimum of all values in a field. Only available for numeric fields Min *float64 `json:"min,omitempty"` // Sum of all values in a field. Only available for numeric fields Sum *float64 `json:"sum,omitempty"` }
Additional stats for faceted field
type GetAccessTokenRequest ¶
type GetAccessTokenRequest struct { // case: client_credentials: A valid credentials (client_id, client_secret, audience) ClientId *string `json:"client_id,omitempty"` ClientSecret *string `json:"client_secret,omitempty"` GrantType *GetAccessTokenRequestGrantType `json:"grant_type,omitempty"` // case: refresh_token: A valid refresh token RefreshToken *string `json:"refresh_token,omitempty"` }
Requests the access token by specifying grant_type:refresh_token & refresh_token or grant_type:client_credentials & [client_id, client_secret]
type GetAccessTokenRequestGrantType ¶
type GetAccessTokenRequestGrantType string
GetAccessTokenRequestGrantType defines model for GetAccessTokenRequest.GrantType.
const ( CLIENTCREDENTIALS GetAccessTokenRequestGrantType = "CLIENT_CREDENTIALS" REFRESHTOKEN GetAccessTokenRequestGrantType = "REFRESH_TOKEN" )
Defines values for GetAccessTokenRequestGrantType.
type GetAccessTokenResponse ¶
type GetAccessTokenResponse struct { // An access token. AccessToken *string `json:"access_token,omitempty"` // Access token expiration timeout in seconds ExpiresIn *int32 `json:"expires_in,omitempty"` // Refresh token. RefreshToken *string `json:"refresh_token,omitempty"` }
GetAccessToken returns response containing access_token and optionally refresh_token
type GetInfoResponse ¶
type GetInfoResponse struct {
ServerVersion *string `json:"server_version,omitempty"`
}
GetInfoResponse defines model for GetInfoResponse.
type GetUserMetadataRequest ¶
type GetUserMetadataRequest struct { MetadataKey *string `json:"metadataKey,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
Request user metadata
type GetUserMetadataResponse ¶
type GetUserMetadataResponse struct { MetadataKey *string `json:"metadataKey,omitempty"` NamespaceId *uint32 `json:"namespaceId,omitempty"` UserId *string `json:"userId,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
User metadata response
type HealthAPIHealthResponse ¶
type HealthAPIHealthResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HealthCheckResponse JSONDefault *Status }
func ParseHealthAPIHealthResponse ¶
func ParseHealthAPIHealthResponse(rsp *http.Response) (*HealthAPIHealthResponse, error)
ParseHealthAPIHealthResponse parses an HTTP response from a HealthAPIHealthWithResponse call
func (HealthAPIHealthResponse) Status ¶
func (r HealthAPIHealthResponse) Status() string
Status returns HTTPResponse.Status
func (HealthAPIHealthResponse) StatusCode ¶
func (r HealthAPIHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HealthCheckResponse ¶
type HealthCheckResponse struct {
Response *string `json:"response,omitempty"`
}
HealthCheckResponse defines model for HealthCheckResponse.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InsertRequest ¶
type InsertRequest struct { // Array of documents to insert. Each document is a JSON object. Documents *[]json.RawMessage `json:"documents,omitempty"` // additional options for insert requests. Options *InsertRequestOptions `json:"options,omitempty"` }
InsertRequest defines model for InsertRequest.
type InsertRequestOptions ¶
type InsertRequestOptions struct { // Additional options to modify write requests. WriteOptions *WriteOptions `json:"write_options,omitempty"` }
additional options for insert requests.
type InsertResponse ¶
type InsertResponse struct { // an array returns the value of the primary keys. Keys *[][]byte `json:"keys,omitempty"` // Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // An enum with value set as "inserted" Status *string `json:"status,omitempty"` }
InsertResponse defines model for InsertResponse.
type InsertUserMetadataRequest ¶
type InsertUserMetadataRequest struct { MetadataKey *string `json:"metadataKey,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
Request insertion of user metadata
type InsertUserMetadataResponse ¶
type InsertUserMetadataResponse struct { MetadataKey *string `json:"metadataKey,omitempty"` NamespaceId *uint32 `json:"namespaceId,omitempty"` UserId *string `json:"userId,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
Insertion of user metadata response
type ListApplicationsRequest ¶
type ListApplicationsRequest = map[string]interface{}
Request listing of all the application those are visible to requesting actor
type ListApplicationsResponse ¶
type ListApplicationsResponse struct {
Applications *[]Application `json:"applications,omitempty"`
}
ListApplication returns one or more visible application to user
type ListCollectionsRequest ¶
type ListCollectionsRequest struct { // Collection requests modifying options. Options *CollectionOptions `json:"options,omitempty"` }
ListCollectionsRequest defines model for ListCollectionsRequest.
type ListCollectionsResponse ¶
type ListCollectionsResponse struct { // List of the collections info in the database. Collections *[]CollectionInfo `json:"collections,omitempty"` // Name of the database. Db *string `json:"db,omitempty"` }
ListCollectionsResponse defines model for ListCollectionsResponse.
type ListDatabasesResponse ¶
type ListDatabasesResponse struct { // List of the databases. Databases *[]DatabaseInfo `json:"databases,omitempty"` }
ListDatabasesResponse defines model for ListDatabasesResponse.
type ListNamespacesResponse ¶
type ListNamespacesResponse struct {
Namespaces *[]NamespaceInfo `json:"namespaces,omitempty"`
}
ListNamespacesResponse defines model for ListNamespacesResponse.
type MetricSeries ¶
type MetricSeries struct { DataPoints *[]DataPoint `json:"dataPoints,omitempty"` From *int64 `json:"from,omitempty"` Metric *string `json:"metric,omitempty"` Scope *string `json:"scope,omitempty"` To *int64 `json:"to,omitempty"` }
Represents series in timeseries based on input query.
type NamespaceInfo ¶
type NamespaceInfo struct { // A unique namespace id. Id *int32 `json:"id,omitempty"` // A namespace name. Name *string `json:"name,omitempty"` }
NamespaceInfo defines model for NamespaceInfo.
type ObservabilityQueryTimeSeriesMetricsJSONBody ¶
type ObservabilityQueryTimeSeriesMetricsJSONBody = QueryTimeSeriesMetricsRequest
ObservabilityQueryTimeSeriesMetricsJSONBody defines parameters for ObservabilityQueryTimeSeriesMetrics.
type ObservabilityQueryTimeSeriesMetricsJSONRequestBody ¶
type ObservabilityQueryTimeSeriesMetricsJSONRequestBody = ObservabilityQueryTimeSeriesMetricsJSONBody
ObservabilityQueryTimeSeriesMetricsJSONRequestBody defines body for ObservabilityQueryTimeSeriesMetrics for application/json ContentType.
type ObservabilityQueryTimeSeriesMetricsResponse ¶
type ObservabilityQueryTimeSeriesMetricsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *QueryTimeSeriesMetricsResponse JSONDefault *Status }
func ParseObservabilityQueryTimeSeriesMetricsResponse ¶
func ParseObservabilityQueryTimeSeriesMetricsResponse(rsp *http.Response) (*ObservabilityQueryTimeSeriesMetricsResponse, error)
ParseObservabilityQueryTimeSeriesMetricsResponse parses an HTTP response from a ObservabilityQueryTimeSeriesMetricsWithResponse call
func (ObservabilityQueryTimeSeriesMetricsResponse) Status ¶
func (r ObservabilityQueryTimeSeriesMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityQueryTimeSeriesMetricsResponse) StatusCode ¶
func (r ObservabilityQueryTimeSeriesMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Page ¶
type Page struct { // Number representing the current page of results Current *int32 `json:"current,omitempty"` // Maximum number of results per page Size *int32 `json:"size,omitempty"` }
Pagination metadata for SearchResponse
type PublishRequest ¶
type PublishRequest struct { Collection *string `json:"collection,omitempty"` Db *string `json:"db,omitempty"` Messages *[]map[string]interface{} `json:"messages,omitempty"` Options *PublishRequestOptions `json:"options,omitempty"` }
PublishRequest defines model for PublishRequest.
type PublishRequestOptions ¶
type PublishRequestOptions struct {
Partition *int32 `json:"partition,omitempty"`
}
PublishRequestOptions defines model for PublishRequestOptions.
type PublishResponse ¶
type PublishResponse struct { Keys *[][]byte `json:"keys,omitempty"` // Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` Status *string `json:"status,omitempty"` }
PublishResponse defines model for PublishResponse.
type QueryTimeSeriesMetricsRequest ¶
type QueryTimeSeriesMetricsRequest struct { AdditionalFunctions *[]AdditionalFunction `json:"additionalFunctions,omitempty"` Collection *string `json:"collection,omitempty"` Db *string `json:"db,omitempty"` From *int64 `json:"from,omitempty"` Function *QueryTimeSeriesMetricsRequestFunction `json:"function,omitempty"` MetricName *string `json:"metric_name,omitempty"` Quantile *float32 `json:"quantile,omitempty"` SpaceAggregatedBy *[]string `json:"space_aggregated_by,omitempty"` SpaceAggregation *QueryTimeSeriesMetricsRequestSpaceAggregation `json:"space_aggregation,omitempty"` TigrisOperation *QueryTimeSeriesMetricsRequestTigrisOperation `json:"tigris_operation,omitempty"` To *int64 `json:"to,omitempty"` }
Requests the time series metrics
type QueryTimeSeriesMetricsRequestFunction ¶
type QueryTimeSeriesMetricsRequestFunction string
QueryTimeSeriesMetricsRequestFunction defines model for QueryTimeSeriesMetricsRequest.Function.
const ( COUNT QueryTimeSeriesMetricsRequestFunction = "COUNT" NONE QueryTimeSeriesMetricsRequestFunction = "NONE" RATE QueryTimeSeriesMetricsRequestFunction = "RATE" )
Defines values for QueryTimeSeriesMetricsRequestFunction.
type QueryTimeSeriesMetricsRequestSpaceAggregation ¶
type QueryTimeSeriesMetricsRequestSpaceAggregation string
QueryTimeSeriesMetricsRequestSpaceAggregation defines model for QueryTimeSeriesMetricsRequest.SpaceAggregation.
const ( AVG QueryTimeSeriesMetricsRequestSpaceAggregation = "AVG" MAX QueryTimeSeriesMetricsRequestSpaceAggregation = "MAX" MIN QueryTimeSeriesMetricsRequestSpaceAggregation = "MIN" SUM QueryTimeSeriesMetricsRequestSpaceAggregation = "SUM" )
Defines values for QueryTimeSeriesMetricsRequestSpaceAggregation.
type QueryTimeSeriesMetricsRequestTigrisOperation ¶
type QueryTimeSeriesMetricsRequestTigrisOperation string
QueryTimeSeriesMetricsRequestTigrisOperation defines model for QueryTimeSeriesMetricsRequest.TigrisOperation.
const ( ALL QueryTimeSeriesMetricsRequestTigrisOperation = "ALL" READ QueryTimeSeriesMetricsRequestTigrisOperation = "READ" WRITE QueryTimeSeriesMetricsRequestTigrisOperation = "WRITE" )
Defines values for QueryTimeSeriesMetricsRequestTigrisOperation.
type QueryTimeSeriesMetricsResponse ¶
type QueryTimeSeriesMetricsResponse struct { From *int64 `json:"from,omitempty"` Query *string `json:"query,omitempty"` Series *[]MetricSeries `json:"series,omitempty"` To *int64 `json:"to,omitempty"` }
QueryTimeSeriesMetric responds with this type.
type ReadRequest ¶
type ReadRequest struct { // To read specific fields from a document. Default is all. Fields json.RawMessage `json:"fields,omitempty"` // Returns documents matching this filter. A filter can simply be a key, value pair where a key is the field name and the value would be the value for this field. Tigris also allows complex filtering by passing logical expressions. Logical filters are applied on two or more fields using `$or` and `$and`. A few examples of filters: <li> To read a user document where the id has a value 1: “`{"id": 1 }“` <li> To read all the user documents where the key "id" has a value 1 or 2 or 3: `{"$or": [{"id": 1}, {"id": 2}, {"id": 3}]}` Filter allows setting collation on an individual field level. To set collation for all the fields see options. The detailed documentation of the filter is <a href="https://docs.tigrisdata.com/overview/query#specification-1" title="here">here</a>. Filter json.RawMessage `json:"filter,omitempty"` // Options that can be used to modify the results, for example "limit" to control the number of documents returned by the server. Options *ReadRequestOptions `json:"options,omitempty"` }
ReadRequest defines model for ReadRequest.
type ReadRequestOptions ¶
type ReadRequestOptions struct { // A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set this option to 'ci' that will apply to all the text fields in the filters. Collation *Collation `json:"collation,omitempty"` // Limit the number of documents returned by the read operation. Limit *int64 `json:"limit,omitempty"` // A cursor for use in pagination. The next streams will return documents after this offset. Offset *[]byte `json:"offset,omitempty"` // Number of documents to skip before starting to return resulting documents. Skip *int64 `json:"skip,omitempty"` }
Options that can be used to modify the results, for example "limit" to control the number of documents returned by the server.
type ReadResponse ¶
type ReadResponse struct { // Object containing the collection document. Data json.RawMessage `json:"data,omitempty"` // Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // An internal key, used for pagination. ResumeToken *[]byte `json:"resume_token,omitempty"` }
ReadResponse defines model for ReadResponse.
type ReplaceRequest ¶
type ReplaceRequest struct { // Array of documents to be replaced. Each document is a JSON object. Documents *[]json.RawMessage `json:"documents,omitempty"` // Additional options for replace requests. Options *ReplaceRequestOptions `json:"options,omitempty"` }
ReplaceRequest defines model for ReplaceRequest.
type ReplaceRequestOptions ¶
type ReplaceRequestOptions struct { // Additional options to modify write requests. WriteOptions *WriteOptions `json:"write_options,omitempty"` }
Additional options for replace requests.
type ReplaceResponse ¶
type ReplaceResponse struct { // an array returns the value of the primary keys. Keys *[][]byte `json:"keys,omitempty"` // Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // an enum with value set as "replaced" Status *string `json:"status,omitempty"` }
ReplaceResponse defines model for ReplaceResponse.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResponseMetadata ¶
type ResponseMetadata struct { // Time at which the document was inserted/replaced. Measured in nano-seconds since the Unix epoch. CreatedAt *time.Time `json:"created_at,omitempty"` // Time at which the document was deleted. Measured in nano-seconds since the Unix epoch. DeletedAt *time.Time `json:"deleted_at,omitempty"` // Time at which the document was updated. Measured in nano-seconds since the Unix epoch. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
Has metadata related to the documents stored.
type RollbackTransactionRequest ¶
type RollbackTransactionRequest = map[string]interface{}
Rollback transaction with the given ID
type RollbackTransactionResponse ¶
type RollbackTransactionResponse struct { // Status of rollback transaction operation. Status *string `json:"status,omitempty"` }
RollbackTransactionResponse defines model for RollbackTransactionResponse.
type RollupFunction ¶
type RollupFunction struct { Aggregator *RollupFunctionAggregator `json:"aggregator,omitempty"` Interval *int64 `json:"interval,omitempty"` }
Rollup function aggregates the slices of metrics returned by original query and lets you operate on the slices using aggregator and constructs the bigger slice of your choice of interval (specified in seconds).
type RollupFunctionAggregator ¶
type RollupFunctionAggregator string
RollupFunctionAggregator defines model for RollupFunction.Aggregator.
const ( ROLLUPAGGREGATORAVG RollupFunctionAggregator = "ROLLUP_AGGREGATOR_AVG" ROLLUPAGGREGATORCOUNT RollupFunctionAggregator = "ROLLUP_AGGREGATOR_COUNT" ROLLUPAGGREGATORMAX RollupFunctionAggregator = "ROLLUP_AGGREGATOR_MAX" ROLLUPAGGREGATORMIN RollupFunctionAggregator = "ROLLUP_AGGREGATOR_MIN" ROLLUPAGGREGATORSUM RollupFunctionAggregator = "ROLLUP_AGGREGATOR_SUM" )
Defines values for RollupFunctionAggregator.
type RotateApplicationSecretRequest ¶
type RotateApplicationSecretRequest struct {
Id *string `json:"id,omitempty"`
}
Request rotation of an application secret
type RotateApplicationSecretResponse ¶
type RotateApplicationSecretResponse struct { // An user application Application *Application `json:"application,omitempty"` }
RotateApplicationRequest returns the new application with rotated secret
type SearchFacet ¶
type SearchFacet struct { Counts *[]FacetCount `json:"counts,omitempty"` // Additional stats for faceted field Stats *FacetStats `json:"stats,omitempty"` }
SearchFacet defines model for SearchFacet.
type SearchHit ¶
type SearchHit struct { // Actual search document Data json.RawMessage `json:"data,omitempty"` // Contains metadata related to the search hit, has information about document created_at/updated_at as well. Metadata *SearchHitMeta `json:"metadata,omitempty"` }
SearchHit defines model for SearchHit.
type SearchHitMeta ¶
type SearchHitMeta struct { // Time at which the document was inserted/replaced. Measured in nano-seconds since the Unix epoch. CreatedAt *time.Time `json:"created_at,omitempty"` // Time at which the document was updated. Measured in nano-seconds since the Unix epoch. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
Contains metadata related to the search hit, has information about document created_at/updated_at as well.
type SearchMetadata ¶
type SearchMetadata struct { // Total number of search results across all pages Found *int64 `json:"found,omitempty"` // Pagination metadata for SearchResponse Page *Page `json:"page,omitempty"` // Number representing the total pages of results TotalPages *int32 `json:"total_pages,omitempty"` }
SearchMetadata defines model for SearchMetadata.
type SearchRequest ¶
type SearchRequest struct { // A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set this option to 'ci' that will apply to all the text fields in the filters. Collation *Collation `json:"collation,omitempty"` // Array of document field names to exclude from results. `include_fields`, if specified, takes precedence over `exclude_fields`. ExcludeFields *[]string `json:"exclude_fields,omitempty"` // Facet query to aggregate results on given fields. The field name for the facet search can be passed like this `{"brand": { "size": 10 }}` where the size controls the total facets for this field. Facet json.RawMessage `json:"facet,omitempty"` Fields json.RawMessage `json:"fields,omitempty"` // Filter stacks on top of query results to further narrow down the results. Similar to `ReadRequest.filter` Filter json.RawMessage `json:"filter,omitempty"` // Array of document field names to include in results. By default, all fields are included. IncludeFields *[]string `json:"include_fields,omitempty"` // Optionally can specify the page to retrieve. If page is set then only hits for this page is returned Page *int32 `json:"page,omitempty"` // Optionally can set the number of hits to be returned per page, default is 20. PageSize *int32 `json:"page_size,omitempty"` // Query string for searching across text fields Q *string `json:"q,omitempty"` // Array of fields to project search query against SearchFields *[]string `json:"search_fields,omitempty"` // Array of fields and corresponding sort orders to order the results `[{ "salary": "$desc" }]` Sort json.RawMessage `json:"sort,omitempty"` }
SearchRequest defines model for SearchRequest.
type SearchResponse ¶
type SearchResponse struct { Facets *SearchResponse_Facets `json:"facets,omitempty"` Hits *[]SearchHit `json:"hits,omitempty"` Meta *SearchMetadata `json:"meta,omitempty"` }
Response struct for search
type SearchResponse_Facets ¶
type SearchResponse_Facets struct {
AdditionalProperties map[string]SearchFacet `json:"-"`
}
SearchResponse_Facets defines model for SearchResponse.Facets.
func (SearchResponse_Facets) Get ¶
func (a SearchResponse_Facets) Get(fieldName string) (value SearchFacet, found bool)
Getter for additional properties for SearchResponse_Facets. Returns the specified element and whether it was found
func (SearchResponse_Facets) MarshalJSON ¶
func (a SearchResponse_Facets) MarshalJSON() ([]byte, error)
Override default JSON handling for SearchResponse_Facets to handle AdditionalProperties
func (*SearchResponse_Facets) Set ¶
func (a *SearchResponse_Facets) Set(fieldName string, value SearchFacet)
Setter for additional properties for SearchResponse_Facets
func (*SearchResponse_Facets) UnmarshalJSON ¶
func (a *SearchResponse_Facets) UnmarshalJSON(b []byte) error
Override default JSON handling for SearchResponse_Facets to handle AdditionalProperties
type Status ¶
type Status struct { // The Error type defines a logical error model Error *Error `json:"error,omitempty"` }
Status defines model for Status.
type StreamEvent ¶
type StreamEvent struct { Collection *string `json:"collection,omitempty"` Data json.RawMessage `json:"data,omitempty"` Key *[]byte `json:"key,omitempty"` Last *bool `json:"last,omitempty"` Lkey *[]byte `json:"lkey,omitempty"` Op *string `json:"op,omitempty"` Rkey *[]byte `json:"rkey,omitempty"` TxId *[]byte `json:"tx_id,omitempty"` }
StreamEvent defines model for StreamEvent.
type StreamingEventsResponse ¶
type StreamingEventsResponse struct { // The Error type defines a logical error model Error *Error `json:"error,omitempty"` Result *EventsResponse `json:"result,omitempty"` }
StreamingEventsResponse defines model for StreamingEventsResponse.
type StreamingReadResponse ¶
type StreamingReadResponse struct { // The Error type defines a logical error model Error *Error `json:"error,omitempty"` Result *ReadResponse `json:"result,omitempty"` }
StreamingReadResponse defines model for StreamingReadResponse.
type StreamingSearchResponse ¶
type StreamingSearchResponse struct { // The Error type defines a logical error model Error *Error `json:"error,omitempty"` // Response struct for search Result *SearchResponse `json:"result,omitempty"` }
StreamingSearchResponse defines model for StreamingSearchResponse.
type StreamingSubscribeResponse ¶
type StreamingSubscribeResponse struct { // The Error type defines a logical error model Error *Error `json:"error,omitempty"` Result *SubscribeResponse `json:"result,omitempty"` }
StreamingSubscribeResponse defines model for StreamingSubscribeResponse.
type SubscribeRequest ¶
type SubscribeRequest struct { Collection *string `json:"collection,omitempty"` Db *string `json:"db,omitempty"` Options *SubscribeRequestOptions `json:"options,omitempty"` }
SubscribeRequest defines model for SubscribeRequest.
type SubscribeRequestOptions ¶
type SubscribeRequestOptions struct {
Partitions *[]int32 `json:"partitions,omitempty"`
}
SubscribeRequestOptions defines model for SubscribeRequestOptions.
type SubscribeResponse ¶
type SubscribeResponse struct {
Message *[]byte `json:"message,omitempty"`
}
SubscribeResponse defines model for SubscribeResponse.
type TigrisBeginTransactionJSONBody ¶
type TigrisBeginTransactionJSONBody = BeginTransactionRequest
TigrisBeginTransactionJSONBody defines parameters for TigrisBeginTransaction.
type TigrisBeginTransactionJSONRequestBody ¶
type TigrisBeginTransactionJSONRequestBody = TigrisBeginTransactionJSONBody
TigrisBeginTransactionJSONRequestBody defines body for TigrisBeginTransaction for application/json ContentType.
type TigrisBeginTransactionResponse ¶
type TigrisBeginTransactionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *BeginTransactionResponse JSONDefault *Status }
func ParseTigrisBeginTransactionResponse ¶
func ParseTigrisBeginTransactionResponse(rsp *http.Response) (*TigrisBeginTransactionResponse, error)
ParseTigrisBeginTransactionResponse parses an HTTP response from a TigrisBeginTransactionWithResponse call
func (TigrisBeginTransactionResponse) Status ¶
func (r TigrisBeginTransactionResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisBeginTransactionResponse) StatusCode ¶
func (r TigrisBeginTransactionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisCommitTransactionJSONBody ¶
type TigrisCommitTransactionJSONBody = CommitTransactionRequest
TigrisCommitTransactionJSONBody defines parameters for TigrisCommitTransaction.
type TigrisCommitTransactionJSONRequestBody ¶
type TigrisCommitTransactionJSONRequestBody = TigrisCommitTransactionJSONBody
TigrisCommitTransactionJSONRequestBody defines body for TigrisCommitTransaction for application/json ContentType.
type TigrisCommitTransactionResponse ¶
type TigrisCommitTransactionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CommitTransactionResponse JSONDefault *Status }
func ParseTigrisCommitTransactionResponse ¶
func ParseTigrisCommitTransactionResponse(rsp *http.Response) (*TigrisCommitTransactionResponse, error)
ParseTigrisCommitTransactionResponse parses an HTTP response from a TigrisCommitTransactionWithResponse call
func (TigrisCommitTransactionResponse) Status ¶
func (r TigrisCommitTransactionResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisCommitTransactionResponse) StatusCode ¶
func (r TigrisCommitTransactionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisCreateDatabaseJSONBody ¶
type TigrisCreateDatabaseJSONBody = CreateDatabaseRequest
TigrisCreateDatabaseJSONBody defines parameters for TigrisCreateDatabase.
type TigrisCreateDatabaseJSONRequestBody ¶
type TigrisCreateDatabaseJSONRequestBody = TigrisCreateDatabaseJSONBody
TigrisCreateDatabaseJSONRequestBody defines body for TigrisCreateDatabase for application/json ContentType.
type TigrisCreateDatabaseResponse ¶
type TigrisCreateDatabaseResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateDatabaseResponse JSONDefault *Status }
func ParseTigrisCreateDatabaseResponse ¶
func ParseTigrisCreateDatabaseResponse(rsp *http.Response) (*TigrisCreateDatabaseResponse, error)
ParseTigrisCreateDatabaseResponse parses an HTTP response from a TigrisCreateDatabaseWithResponse call
func (TigrisCreateDatabaseResponse) Status ¶
func (r TigrisCreateDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisCreateDatabaseResponse) StatusCode ¶
func (r TigrisCreateDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisCreateOrUpdateCollectionJSONBody ¶
type TigrisCreateOrUpdateCollectionJSONBody = CreateOrUpdateCollectionRequest
TigrisCreateOrUpdateCollectionJSONBody defines parameters for TigrisCreateOrUpdateCollection.
type TigrisCreateOrUpdateCollectionJSONRequestBody ¶
type TigrisCreateOrUpdateCollectionJSONRequestBody = TigrisCreateOrUpdateCollectionJSONBody
TigrisCreateOrUpdateCollectionJSONRequestBody defines body for TigrisCreateOrUpdateCollection for application/json ContentType.
type TigrisCreateOrUpdateCollectionResponse ¶
type TigrisCreateOrUpdateCollectionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateOrUpdateCollectionResponse JSONDefault *Status }
func ParseTigrisCreateOrUpdateCollectionResponse ¶
func ParseTigrisCreateOrUpdateCollectionResponse(rsp *http.Response) (*TigrisCreateOrUpdateCollectionResponse, error)
ParseTigrisCreateOrUpdateCollectionResponse parses an HTTP response from a TigrisCreateOrUpdateCollectionWithResponse call
func (TigrisCreateOrUpdateCollectionResponse) Status ¶
func (r TigrisCreateOrUpdateCollectionResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisCreateOrUpdateCollectionResponse) StatusCode ¶
func (r TigrisCreateOrUpdateCollectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisDeleteJSONBody ¶
type TigrisDeleteJSONBody = DeleteRequest
TigrisDeleteJSONBody defines parameters for TigrisDelete.
type TigrisDeleteJSONRequestBody ¶
type TigrisDeleteJSONRequestBody = TigrisDeleteJSONBody
TigrisDeleteJSONRequestBody defines body for TigrisDelete for application/json ContentType.
type TigrisDeleteResponse ¶
type TigrisDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteResponse JSONDefault *Status }
func ParseTigrisDeleteResponse ¶
func ParseTigrisDeleteResponse(rsp *http.Response) (*TigrisDeleteResponse, error)
ParseTigrisDeleteResponse parses an HTTP response from a TigrisDeleteWithResponse call
func (TigrisDeleteResponse) Status ¶
func (r TigrisDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisDeleteResponse) StatusCode ¶
func (r TigrisDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisDescribeCollectionJSONBody ¶
type TigrisDescribeCollectionJSONBody = DescribeCollectionRequest
TigrisDescribeCollectionJSONBody defines parameters for TigrisDescribeCollection.
type TigrisDescribeCollectionJSONRequestBody ¶
type TigrisDescribeCollectionJSONRequestBody = TigrisDescribeCollectionJSONBody
TigrisDescribeCollectionJSONRequestBody defines body for TigrisDescribeCollection for application/json ContentType.
type TigrisDescribeCollectionResponse ¶
type TigrisDescribeCollectionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DescribeCollectionResponse JSONDefault *Status }
func ParseTigrisDescribeCollectionResponse ¶
func ParseTigrisDescribeCollectionResponse(rsp *http.Response) (*TigrisDescribeCollectionResponse, error)
ParseTigrisDescribeCollectionResponse parses an HTTP response from a TigrisDescribeCollectionWithResponse call
func (TigrisDescribeCollectionResponse) Status ¶
func (r TigrisDescribeCollectionResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisDescribeCollectionResponse) StatusCode ¶
func (r TigrisDescribeCollectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisDescribeDatabaseJSONBody ¶
type TigrisDescribeDatabaseJSONBody = DescribeDatabaseRequest
TigrisDescribeDatabaseJSONBody defines parameters for TigrisDescribeDatabase.
type TigrisDescribeDatabaseJSONRequestBody ¶
type TigrisDescribeDatabaseJSONRequestBody = TigrisDescribeDatabaseJSONBody
TigrisDescribeDatabaseJSONRequestBody defines body for TigrisDescribeDatabase for application/json ContentType.
type TigrisDescribeDatabaseResponse ¶
type TigrisDescribeDatabaseResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DescribeDatabaseResponse JSONDefault *Status }
func ParseTigrisDescribeDatabaseResponse ¶
func ParseTigrisDescribeDatabaseResponse(rsp *http.Response) (*TigrisDescribeDatabaseResponse, error)
ParseTigrisDescribeDatabaseResponse parses an HTTP response from a TigrisDescribeDatabaseWithResponse call
func (TigrisDescribeDatabaseResponse) Status ¶
func (r TigrisDescribeDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisDescribeDatabaseResponse) StatusCode ¶
func (r TigrisDescribeDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisDropCollectionJSONBody ¶
type TigrisDropCollectionJSONBody = DropCollectionRequest
TigrisDropCollectionJSONBody defines parameters for TigrisDropCollection.
type TigrisDropCollectionJSONRequestBody ¶
type TigrisDropCollectionJSONRequestBody = TigrisDropCollectionJSONBody
TigrisDropCollectionJSONRequestBody defines body for TigrisDropCollection for application/json ContentType.
type TigrisDropCollectionResponse ¶
type TigrisDropCollectionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DropCollectionResponse JSONDefault *Status }
func ParseTigrisDropCollectionResponse ¶
func ParseTigrisDropCollectionResponse(rsp *http.Response) (*TigrisDropCollectionResponse, error)
ParseTigrisDropCollectionResponse parses an HTTP response from a TigrisDropCollectionWithResponse call
func (TigrisDropCollectionResponse) Status ¶
func (r TigrisDropCollectionResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisDropCollectionResponse) StatusCode ¶
func (r TigrisDropCollectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisDropDatabaseJSONBody ¶
type TigrisDropDatabaseJSONBody = DropDatabaseRequest
TigrisDropDatabaseJSONBody defines parameters for TigrisDropDatabase.
type TigrisDropDatabaseJSONRequestBody ¶
type TigrisDropDatabaseJSONRequestBody = TigrisDropDatabaseJSONBody
TigrisDropDatabaseJSONRequestBody defines body for TigrisDropDatabase for application/json ContentType.
type TigrisDropDatabaseResponse ¶
type TigrisDropDatabaseResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DropDatabaseResponse JSONDefault *Status }
func ParseTigrisDropDatabaseResponse ¶
func ParseTigrisDropDatabaseResponse(rsp *http.Response) (*TigrisDropDatabaseResponse, error)
ParseTigrisDropDatabaseResponse parses an HTTP response from a TigrisDropDatabaseWithResponse call
func (TigrisDropDatabaseResponse) Status ¶
func (r TigrisDropDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisDropDatabaseResponse) StatusCode ¶
func (r TigrisDropDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisEventsJSONBody ¶
type TigrisEventsJSONBody = EventsRequest
TigrisEventsJSONBody defines parameters for TigrisEvents.
type TigrisEventsJSONRequestBody ¶
type TigrisEventsJSONRequestBody = TigrisEventsJSONBody
TigrisEventsJSONRequestBody defines body for TigrisEvents for application/json ContentType.
type TigrisEventsResponse ¶
type TigrisEventsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *StreamingEventsResponse JSONDefault *Status }
func ParseTigrisEventsResponse ¶
func ParseTigrisEventsResponse(rsp *http.Response) (*TigrisEventsResponse, error)
ParseTigrisEventsResponse parses an HTTP response from a TigrisEventsWithResponse call
func (TigrisEventsResponse) Status ¶
func (r TigrisEventsResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisEventsResponse) StatusCode ¶
func (r TigrisEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisGetInfoResponse ¶
type TigrisGetInfoResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetInfoResponse JSONDefault *Status }
func ParseTigrisGetInfoResponse ¶
func ParseTigrisGetInfoResponse(rsp *http.Response) (*TigrisGetInfoResponse, error)
ParseTigrisGetInfoResponse parses an HTTP response from a TigrisGetInfoWithResponse call
func (TigrisGetInfoResponse) Status ¶
func (r TigrisGetInfoResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisGetInfoResponse) StatusCode ¶
func (r TigrisGetInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisInsertJSONBody ¶
type TigrisInsertJSONBody = InsertRequest
TigrisInsertJSONBody defines parameters for TigrisInsert.
type TigrisInsertJSONRequestBody ¶
type TigrisInsertJSONRequestBody = TigrisInsertJSONBody
TigrisInsertJSONRequestBody defines body for TigrisInsert for application/json ContentType.
type TigrisInsertResponse ¶
type TigrisInsertResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InsertResponse JSONDefault *Status }
func ParseTigrisInsertResponse ¶
func ParseTigrisInsertResponse(rsp *http.Response) (*TigrisInsertResponse, error)
ParseTigrisInsertResponse parses an HTTP response from a TigrisInsertWithResponse call
func (TigrisInsertResponse) Status ¶
func (r TigrisInsertResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisInsertResponse) StatusCode ¶
func (r TigrisInsertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisListCollectionsJSONBody ¶
type TigrisListCollectionsJSONBody = ListCollectionsRequest
TigrisListCollectionsJSONBody defines parameters for TigrisListCollections.
type TigrisListCollectionsJSONRequestBody ¶
type TigrisListCollectionsJSONRequestBody = TigrisListCollectionsJSONBody
TigrisListCollectionsJSONRequestBody defines body for TigrisListCollections for application/json ContentType.
type TigrisListCollectionsResponse ¶
type TigrisListCollectionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListCollectionsResponse JSONDefault *Status }
func ParseTigrisListCollectionsResponse ¶
func ParseTigrisListCollectionsResponse(rsp *http.Response) (*TigrisListCollectionsResponse, error)
ParseTigrisListCollectionsResponse parses an HTTP response from a TigrisListCollectionsWithResponse call
func (TigrisListCollectionsResponse) Status ¶
func (r TigrisListCollectionsResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisListCollectionsResponse) StatusCode ¶
func (r TigrisListCollectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisListDatabasesResponse ¶
type TigrisListDatabasesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListDatabasesResponse JSONDefault *Status }
func ParseTigrisListDatabasesResponse ¶
func ParseTigrisListDatabasesResponse(rsp *http.Response) (*TigrisListDatabasesResponse, error)
ParseTigrisListDatabasesResponse parses an HTTP response from a TigrisListDatabasesWithResponse call
func (TigrisListDatabasesResponse) Status ¶
func (r TigrisListDatabasesResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisListDatabasesResponse) StatusCode ¶
func (r TigrisListDatabasesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisPublishJSONBody ¶
type TigrisPublishJSONBody = PublishRequest
TigrisPublishJSONBody defines parameters for TigrisPublish.
type TigrisPublishJSONRequestBody ¶
type TigrisPublishJSONRequestBody = TigrisPublishJSONBody
TigrisPublishJSONRequestBody defines body for TigrisPublish for application/json ContentType.
type TigrisPublishResponse ¶
type TigrisPublishResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PublishResponse JSONDefault *Status }
func ParseTigrisPublishResponse ¶
func ParseTigrisPublishResponse(rsp *http.Response) (*TigrisPublishResponse, error)
ParseTigrisPublishResponse parses an HTTP response from a TigrisPublishWithResponse call
func (TigrisPublishResponse) Status ¶
func (r TigrisPublishResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisPublishResponse) StatusCode ¶
func (r TigrisPublishResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisReadJSONBody ¶
type TigrisReadJSONBody = ReadRequest
TigrisReadJSONBody defines parameters for TigrisRead.
type TigrisReadJSONRequestBody ¶
type TigrisReadJSONRequestBody = TigrisReadJSONBody
TigrisReadJSONRequestBody defines body for TigrisRead for application/json ContentType.
type TigrisReadResponse ¶
type TigrisReadResponse struct { Body []byte HTTPResponse *http.Response JSON200 *StreamingReadResponse JSONDefault *Status }
func ParseTigrisReadResponse ¶
func ParseTigrisReadResponse(rsp *http.Response) (*TigrisReadResponse, error)
ParseTigrisReadResponse parses an HTTP response from a TigrisReadWithResponse call
func (TigrisReadResponse) Status ¶
func (r TigrisReadResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisReadResponse) StatusCode ¶
func (r TigrisReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisReplaceJSONBody ¶
type TigrisReplaceJSONBody = ReplaceRequest
TigrisReplaceJSONBody defines parameters for TigrisReplace.
type TigrisReplaceJSONRequestBody ¶
type TigrisReplaceJSONRequestBody = TigrisReplaceJSONBody
TigrisReplaceJSONRequestBody defines body for TigrisReplace for application/json ContentType.
type TigrisReplaceResponse ¶
type TigrisReplaceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ReplaceResponse JSONDefault *Status }
func ParseTigrisReplaceResponse ¶
func ParseTigrisReplaceResponse(rsp *http.Response) (*TigrisReplaceResponse, error)
ParseTigrisReplaceResponse parses an HTTP response from a TigrisReplaceWithResponse call
func (TigrisReplaceResponse) Status ¶
func (r TigrisReplaceResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisReplaceResponse) StatusCode ¶
func (r TigrisReplaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisRollbackTransactionJSONBody ¶
type TigrisRollbackTransactionJSONBody = RollbackTransactionRequest
TigrisRollbackTransactionJSONBody defines parameters for TigrisRollbackTransaction.
type TigrisRollbackTransactionJSONRequestBody ¶
type TigrisRollbackTransactionJSONRequestBody = TigrisRollbackTransactionJSONBody
TigrisRollbackTransactionJSONRequestBody defines body for TigrisRollbackTransaction for application/json ContentType.
type TigrisRollbackTransactionResponse ¶
type TigrisRollbackTransactionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RollbackTransactionResponse JSONDefault *Status }
func ParseTigrisRollbackTransactionResponse ¶
func ParseTigrisRollbackTransactionResponse(rsp *http.Response) (*TigrisRollbackTransactionResponse, error)
ParseTigrisRollbackTransactionResponse parses an HTTP response from a TigrisRollbackTransactionWithResponse call
func (TigrisRollbackTransactionResponse) Status ¶
func (r TigrisRollbackTransactionResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisRollbackTransactionResponse) StatusCode ¶
func (r TigrisRollbackTransactionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisSearchJSONBody ¶
type TigrisSearchJSONBody = SearchRequest
TigrisSearchJSONBody defines parameters for TigrisSearch.
type TigrisSearchJSONRequestBody ¶
type TigrisSearchJSONRequestBody = TigrisSearchJSONBody
TigrisSearchJSONRequestBody defines body for TigrisSearch for application/json ContentType.
type TigrisSearchResponse ¶
type TigrisSearchResponse struct { Body []byte HTTPResponse *http.Response JSON200 *StreamingSearchResponse JSONDefault *Status }
func ParseTigrisSearchResponse ¶
func ParseTigrisSearchResponse(rsp *http.Response) (*TigrisSearchResponse, error)
ParseTigrisSearchResponse parses an HTTP response from a TigrisSearchWithResponse call
func (TigrisSearchResponse) Status ¶
func (r TigrisSearchResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisSearchResponse) StatusCode ¶
func (r TigrisSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisSubscribeJSONBody ¶
type TigrisSubscribeJSONBody = SubscribeRequest
TigrisSubscribeJSONBody defines parameters for TigrisSubscribe.
type TigrisSubscribeJSONRequestBody ¶
type TigrisSubscribeJSONRequestBody = TigrisSubscribeJSONBody
TigrisSubscribeJSONRequestBody defines body for TigrisSubscribe for application/json ContentType.
type TigrisSubscribeResponse ¶
type TigrisSubscribeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *StreamingSubscribeResponse JSONDefault *Status }
func ParseTigrisSubscribeResponse ¶
func ParseTigrisSubscribeResponse(rsp *http.Response) (*TigrisSubscribeResponse, error)
ParseTigrisSubscribeResponse parses an HTTP response from a TigrisSubscribeWithResponse call
func (TigrisSubscribeResponse) Status ¶
func (r TigrisSubscribeResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisSubscribeResponse) StatusCode ¶
func (r TigrisSubscribeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisUpdateJSONBody ¶
type TigrisUpdateJSONBody = UpdateRequest
TigrisUpdateJSONBody defines parameters for TigrisUpdate.
type TigrisUpdateJSONRequestBody ¶
type TigrisUpdateJSONRequestBody = TigrisUpdateJSONBody
TigrisUpdateJSONRequestBody defines body for TigrisUpdate for application/json ContentType.
type TigrisUpdateResponse ¶
type TigrisUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateResponse JSONDefault *Status }
func ParseTigrisUpdateResponse ¶
func ParseTigrisUpdateResponse(rsp *http.Response) (*TigrisUpdateResponse, error)
ParseTigrisUpdateResponse parses an HTTP response from a TigrisUpdateWithResponse call
func (TigrisUpdateResponse) Status ¶
func (r TigrisUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisUpdateResponse) StatusCode ¶
func (r TigrisUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TransactionCtx ¶
type TransactionCtx struct { // Unique for a single transactional request. Id *string `json:"id,omitempty"` // Serves as an internal identifier. Origin *string `json:"origin,omitempty"` }
Contains ID which uniquely identifies transaction This context is returned by BeginTransaction request and should be passed in the metadata (headers) of subsequent requests in order to run them in the context of the same transaction.
type TransactionOptions ¶
type TransactionOptions = map[string]interface{}
Options that can be used to modify the transaction semantics.
type UpdateApplicationRequest ¶
type UpdateApplicationRequest struct { // A new human readable app description Description *string `json:"description,omitempty"` // application id Id *string `json:"id,omitempty"` // A new human readable app name Name *string `json:"name,omitempty"` }
Request creation of user application
type UpdateApplicationResponse ¶
type UpdateApplicationResponse struct { // An user application UpdatedApplication *Application `json:"updated_application,omitempty"` }
CreateApplication returns created application
type UpdateRequest ¶
type UpdateRequest struct { // Fields contains set of fields with the values which need to be updated. Should be proper JSON object. Fields json.RawMessage `json:"fields,omitempty"` // Update documents which matching specified filter. A filter can simply be key, value where key is the field name and value would be the value for this field. Or a filter can be logical where two or more fields can be logically joined using $or and $and. A few examples of filter: <li> To update a user document where the id has a value 1: “`{"id": 1 }“` <li> To update all the user documents where the key "id" has a value 1 or 2 or 3: `{"$or": [{"id": 1}, {"id": 2}, {"id": 3}]}` Filter json.RawMessage `json:"filter,omitempty"` // Additional options for update requests. Options *UpdateRequestOptions `json:"options,omitempty"` }
UpdateRequest defines model for UpdateRequest.
type UpdateRequestOptions ¶
type UpdateRequestOptions struct { // A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set this option to 'ci' that will apply to all the text fields in the filters. Collation *Collation `json:"collation,omitempty"` // Additional options to modify write requests. WriteOptions *WriteOptions `json:"write_options,omitempty"` }
Additional options for update requests.
type UpdateResponse ¶
type UpdateResponse struct { // Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // Returns the number of documents modified. ModifiedCount *int32 `json:"modified_count,omitempty"` // an enum with value set as "updated". Status *string `json:"status,omitempty"` }
UpdateResponse defines model for UpdateResponse.
type UpdateUserMetadataRequest ¶
type UpdateUserMetadataRequest struct { MetadataKey *string `json:"metadataKey,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
Request update of user metadata
type UpdateUserMetadataResponse ¶
type UpdateUserMetadataResponse struct { MetadataKey *string `json:"metadataKey,omitempty"` NamespaceId *uint32 `json:"namespaceId,omitempty"` UserId *string `json:"userId,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
Update of user metadata response
type UserCreateApplicationJSONBody ¶
type UserCreateApplicationJSONBody = CreateApplicationRequest
UserCreateApplicationJSONBody defines parameters for UserCreateApplication.
type UserCreateApplicationJSONRequestBody ¶
type UserCreateApplicationJSONRequestBody = UserCreateApplicationJSONBody
UserCreateApplicationJSONRequestBody defines body for UserCreateApplication for application/json ContentType.
type UserCreateApplicationResponse ¶
type UserCreateApplicationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateApplicationResponse JSONDefault *Status }
func ParseUserCreateApplicationResponse ¶
func ParseUserCreateApplicationResponse(rsp *http.Response) (*UserCreateApplicationResponse, error)
ParseUserCreateApplicationResponse parses an HTTP response from a UserCreateApplicationWithResponse call
func (UserCreateApplicationResponse) Status ¶
func (r UserCreateApplicationResponse) Status() string
Status returns HTTPResponse.Status
func (UserCreateApplicationResponse) StatusCode ¶
func (r UserCreateApplicationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserDeleteApplicationJSONBody ¶
type UserDeleteApplicationJSONBody = DeleteApplicationsRequest
UserDeleteApplicationJSONBody defines parameters for UserDeleteApplication.
type UserDeleteApplicationJSONRequestBody ¶
type UserDeleteApplicationJSONRequestBody = UserDeleteApplicationJSONBody
UserDeleteApplicationJSONRequestBody defines body for UserDeleteApplication for application/json ContentType.
type UserDeleteApplicationResponse ¶
type UserDeleteApplicationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteApplicationResponse JSONDefault *Status }
func ParseUserDeleteApplicationResponse ¶
func ParseUserDeleteApplicationResponse(rsp *http.Response) (*UserDeleteApplicationResponse, error)
ParseUserDeleteApplicationResponse parses an HTTP response from a UserDeleteApplicationWithResponse call
func (UserDeleteApplicationResponse) Status ¶
func (r UserDeleteApplicationResponse) Status() string
Status returns HTTPResponse.Status
func (UserDeleteApplicationResponse) StatusCode ¶
func (r UserDeleteApplicationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserGetUserMetadataJSONBody ¶
type UserGetUserMetadataJSONBody = GetUserMetadataRequest
UserGetUserMetadataJSONBody defines parameters for UserGetUserMetadata.
type UserGetUserMetadataJSONRequestBody ¶
type UserGetUserMetadataJSONRequestBody = UserGetUserMetadataJSONBody
UserGetUserMetadataJSONRequestBody defines body for UserGetUserMetadata for application/json ContentType.
type UserGetUserMetadataResponse ¶
type UserGetUserMetadataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetUserMetadataResponse JSONDefault *Status }
func ParseUserGetUserMetadataResponse ¶
func ParseUserGetUserMetadataResponse(rsp *http.Response) (*UserGetUserMetadataResponse, error)
ParseUserGetUserMetadataResponse parses an HTTP response from a UserGetUserMetadataWithResponse call
func (UserGetUserMetadataResponse) Status ¶
func (r UserGetUserMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (UserGetUserMetadataResponse) StatusCode ¶
func (r UserGetUserMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserInsertUserMetadataJSONBody ¶
type UserInsertUserMetadataJSONBody = InsertUserMetadataRequest
UserInsertUserMetadataJSONBody defines parameters for UserInsertUserMetadata.
type UserInsertUserMetadataJSONRequestBody ¶
type UserInsertUserMetadataJSONRequestBody = UserInsertUserMetadataJSONBody
UserInsertUserMetadataJSONRequestBody defines body for UserInsertUserMetadata for application/json ContentType.
type UserInsertUserMetadataResponse ¶
type UserInsertUserMetadataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InsertUserMetadataResponse JSONDefault *Status }
func ParseUserInsertUserMetadataResponse ¶
func ParseUserInsertUserMetadataResponse(rsp *http.Response) (*UserInsertUserMetadataResponse, error)
ParseUserInsertUserMetadataResponse parses an HTTP response from a UserInsertUserMetadataWithResponse call
func (UserInsertUserMetadataResponse) Status ¶
func (r UserInsertUserMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (UserInsertUserMetadataResponse) StatusCode ¶
func (r UserInsertUserMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserListApplicationsJSONBody ¶
type UserListApplicationsJSONBody = ListApplicationsRequest
UserListApplicationsJSONBody defines parameters for UserListApplications.
type UserListApplicationsJSONRequestBody ¶
type UserListApplicationsJSONRequestBody = UserListApplicationsJSONBody
UserListApplicationsJSONRequestBody defines body for UserListApplications for application/json ContentType.
type UserListApplicationsResponse ¶
type UserListApplicationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListApplicationsResponse JSONDefault *Status }
func ParseUserListApplicationsResponse ¶
func ParseUserListApplicationsResponse(rsp *http.Response) (*UserListApplicationsResponse, error)
ParseUserListApplicationsResponse parses an HTTP response from a UserListApplicationsWithResponse call
func (UserListApplicationsResponse) Status ¶
func (r UserListApplicationsResponse) Status() string
Status returns HTTPResponse.Status
func (UserListApplicationsResponse) StatusCode ¶
func (r UserListApplicationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserRotateApplicationSecretJSONBody ¶
type UserRotateApplicationSecretJSONBody = RotateApplicationSecretRequest
UserRotateApplicationSecretJSONBody defines parameters for UserRotateApplicationSecret.
type UserRotateApplicationSecretJSONRequestBody ¶
type UserRotateApplicationSecretJSONRequestBody = UserRotateApplicationSecretJSONBody
UserRotateApplicationSecretJSONRequestBody defines body for UserRotateApplicationSecret for application/json ContentType.
type UserRotateApplicationSecretResponse ¶
type UserRotateApplicationSecretResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RotateApplicationSecretResponse JSONDefault *Status }
func ParseUserRotateApplicationSecretResponse ¶
func ParseUserRotateApplicationSecretResponse(rsp *http.Response) (*UserRotateApplicationSecretResponse, error)
ParseUserRotateApplicationSecretResponse parses an HTTP response from a UserRotateApplicationSecretWithResponse call
func (UserRotateApplicationSecretResponse) Status ¶
func (r UserRotateApplicationSecretResponse) Status() string
Status returns HTTPResponse.Status
func (UserRotateApplicationSecretResponse) StatusCode ¶
func (r UserRotateApplicationSecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserUpdateApplicationJSONBody ¶
type UserUpdateApplicationJSONBody = UpdateApplicationRequest
UserUpdateApplicationJSONBody defines parameters for UserUpdateApplication.
type UserUpdateApplicationJSONRequestBody ¶
type UserUpdateApplicationJSONRequestBody = UserUpdateApplicationJSONBody
UserUpdateApplicationJSONRequestBody defines body for UserUpdateApplication for application/json ContentType.
type UserUpdateApplicationResponse ¶
type UserUpdateApplicationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateApplicationResponse JSONDefault *Status }
func ParseUserUpdateApplicationResponse ¶
func ParseUserUpdateApplicationResponse(rsp *http.Response) (*UserUpdateApplicationResponse, error)
ParseUserUpdateApplicationResponse parses an HTTP response from a UserUpdateApplicationWithResponse call
func (UserUpdateApplicationResponse) Status ¶
func (r UserUpdateApplicationResponse) Status() string
Status returns HTTPResponse.Status
func (UserUpdateApplicationResponse) StatusCode ¶
func (r UserUpdateApplicationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserUpdateUserMetadataJSONBody ¶
type UserUpdateUserMetadataJSONBody = UpdateUserMetadataRequest
UserUpdateUserMetadataJSONBody defines parameters for UserUpdateUserMetadata.
type UserUpdateUserMetadataJSONRequestBody ¶
type UserUpdateUserMetadataJSONRequestBody = UserUpdateUserMetadataJSONBody
UserUpdateUserMetadataJSONRequestBody defines body for UserUpdateUserMetadata for application/json ContentType.
type UserUpdateUserMetadataResponse ¶
type UserUpdateUserMetadataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateUserMetadataResponse JSONDefault *Status }
func ParseUserUpdateUserMetadataResponse ¶
func ParseUserUpdateUserMetadataResponse(rsp *http.Response) (*UserUpdateUserMetadataResponse, error)
ParseUserUpdateUserMetadataResponse parses an HTTP response from a UserUpdateUserMetadataWithResponse call
func (UserUpdateUserMetadataResponse) Status ¶
func (r UserUpdateUserMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (UserUpdateUserMetadataResponse) StatusCode ¶
func (r UserUpdateUserMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WriteOptions ¶
type WriteOptions = map[string]interface{}
Additional options to modify write requests.