Documentation ¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewAuthGetAccessTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCacheCreateCacheRequest(server string, project string, name string, ...) (*http.Request, error)
- func NewCacheCreateCacheRequestWithBody(server string, project string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewCacheDelRequest(server string, project string, name string, key string, ...) (*http.Request, error)
- func NewCacheDelRequestWithBody(server string, project string, name string, key string, contentType string, ...) (*http.Request, error)
- func NewCacheDeleteCacheRequest(server string, project string, name string, ...) (*http.Request, error)
- func NewCacheDeleteCacheRequestWithBody(server string, project string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewCacheGetRequest(server string, project string, name string, key string) (*http.Request, error)
- func NewCacheGetSetRequest(server string, project string, name string, key string, ...) (*http.Request, error)
- func NewCacheGetSetRequestWithBody(server string, project string, name string, key string, contentType string, ...) (*http.Request, error)
- func NewCacheKeysRequest(server string, project string, name string, params *CacheKeysParams) (*http.Request, error)
- func NewCacheListCachesRequest(server string, project string) (*http.Request, error)
- func NewCacheSetRequest(server string, project string, name string, key string, ...) (*http.Request, error)
- func NewCacheSetRequestWithBody(server string, project string, name string, key string, contentType string, ...) (*http.Request, error)
- func NewHealthAPIHealthRequest(server string) (*http.Request, error)
- func NewManagementCreateNamespaceRequest(server string, body ManagementCreateNamespaceJSONRequestBody) (*http.Request, error)
- func NewManagementCreateNamespaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewManagementDescribeNamespacesRequest(server string) (*http.Request, error)
- func NewManagementGetNamespaceMetadataRequest(server string, metadataKey string, ...) (*http.Request, error)
- func NewManagementGetNamespaceMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
- func NewManagementGetUserMetadataRequest(server string, metadataKey string, ...) (*http.Request, error)
- func NewManagementGetUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
- func NewManagementInsertNamespaceMetadataRequest(server string, metadataKey string, ...) (*http.Request, error)
- func NewManagementInsertNamespaceMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
- func NewManagementInsertUserMetadataRequest(server string, metadataKey string, ...) (*http.Request, error)
- func NewManagementInsertUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
- func NewManagementListNamespacesRequest(server string) (*http.Request, error)
- func NewManagementUpdateNamespaceMetadataRequest(server string, metadataKey string, ...) (*http.Request, error)
- func NewManagementUpdateNamespaceMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
- func NewManagementUpdateUserMetadataRequest(server string, metadataKey string, ...) (*http.Request, error)
- func NewManagementUpdateUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
- func NewObservabilityGetInfoRequest(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 NewObservabilityQuotaLimitsRequest(server string, body ObservabilityQuotaLimitsJSONRequestBody) (*http.Request, error)
- func NewObservabilityQuotaLimitsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewObservabilityQuotaUsageRequest(server string, body ObservabilityQuotaUsageJSONRequestBody) (*http.Request, error)
- func NewObservabilityQuotaUsageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRealtimeGetRTChannelRequest(server string, project string, channel string) (*http.Request, error)
- func NewRealtimeGetRTChannelsRequest(server string, project string) (*http.Request, error)
- func NewRealtimeListSubscriptionsRequest(server string, project string, channel string, ...) (*http.Request, error)
- func NewRealtimeMessagesRequest(server string, project string, channel string, ...) (*http.Request, error)
- func NewRealtimeMessagesRequestWithBody(server string, project string, channel string, contentType string, ...) (*http.Request, error)
- func NewRealtimePresenceRequest(server string, project string, channel string) (*http.Request, error)
- func NewRealtimeReadMessagesRequest(server string, project string, channel string, ...) (*http.Request, error)
- func NewSearchCreateByIdRequest(server string, project string, index string, id string, ...) (*http.Request, error)
- func NewSearchCreateByIdRequestWithBody(server string, project string, index string, id string, contentType string, ...) (*http.Request, error)
- func NewSearchCreateOrReplaceRequest(server string, project string, index string, ...) (*http.Request, error)
- func NewSearchCreateOrReplaceRequestWithBody(server string, project string, index string, contentType string, ...) (*http.Request, error)
- func NewSearchCreateOrUpdateIndexRequest(server string, project string, name string, ...) (*http.Request, error)
- func NewSearchCreateOrUpdateIndexRequestWithBody(server string, project string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchCreateRequest(server string, project string, index string, body SearchCreateJSONRequestBody) (*http.Request, error)
- func NewSearchCreateRequestWithBody(server string, project string, index string, contentType string, ...) (*http.Request, error)
- func NewSearchDeleteByQueryRequest(server string, project string, index string, ...) (*http.Request, error)
- func NewSearchDeleteByQueryRequestWithBody(server string, project string, index string, contentType string, ...) (*http.Request, error)
- func NewSearchDeleteIndexRequest(server string, project string, name string, ...) (*http.Request, error)
- func NewSearchDeleteIndexRequestWithBody(server string, project string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchDeleteRequest(server string, project string, index string, body SearchDeleteJSONRequestBody) (*http.Request, error)
- func NewSearchDeleteRequestWithBody(server string, project string, index string, contentType string, ...) (*http.Request, error)
- func NewSearchGetIndexRequest(server string, project string, name string) (*http.Request, error)
- func NewSearchGetRequest(server string, project string, index string, params *SearchGetParams) (*http.Request, error)
- func NewSearchListIndexesRequest(server string, project string, params *SearchListIndexesParams) (*http.Request, error)
- func NewSearchSearchRequest(server string, project string, index string, body SearchSearchJSONRequestBody) (*http.Request, error)
- func NewSearchSearchRequestWithBody(server string, project string, index string, contentType string, ...) (*http.Request, error)
- func NewSearchUpdateRequest(server string, project string, index string, body SearchUpdateJSONRequestBody) (*http.Request, error)
- func NewSearchUpdateRequestWithBody(server string, project string, index string, contentType string, ...) (*http.Request, error)
- func NewTigrisBeginTransactionRequest(server string, project string, body TigrisBeginTransactionJSONRequestBody) (*http.Request, error)
- func NewTigrisBeginTransactionRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisCommitTransactionRequest(server string, project string, body TigrisCommitTransactionJSONRequestBody) (*http.Request, error)
- func NewTigrisCommitTransactionRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisCreateAppKeyRequest(server string, project string, body TigrisCreateAppKeyJSONRequestBody) (*http.Request, error)
- func NewTigrisCreateAppKeyRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisCreateBranchRequest(server string, project string, branch string, ...) (*http.Request, error)
- func NewTigrisCreateBranchRequestWithBody(server string, project string, branch string, contentType string, ...) (*http.Request, error)
- func NewTigrisCreateOrUpdateCollectionRequest(server string, project string, collection string, ...) (*http.Request, error)
- func NewTigrisCreateOrUpdateCollectionRequestWithBody(server string, project string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisCreateProjectRequest(server string, project string, body TigrisCreateProjectJSONRequestBody) (*http.Request, error)
- func NewTigrisCreateProjectRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisDeleteAppKeyRequest(server string, project string, body TigrisDeleteAppKeyJSONRequestBody) (*http.Request, error)
- func NewTigrisDeleteAppKeyRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisDeleteBranchRequest(server string, project string, branch string, ...) (*http.Request, error)
- func NewTigrisDeleteBranchRequestWithBody(server string, project string, branch string, contentType string, ...) (*http.Request, error)
- func NewTigrisDeleteProjectRequest(server string, project string, body TigrisDeleteProjectJSONRequestBody) (*http.Request, error)
- func NewTigrisDeleteProjectRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisDeleteRequest(server string, project string, collection string, ...) (*http.Request, error)
- func NewTigrisDeleteRequestWithBody(server string, project string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisDescribeCollectionRequest(server string, project string, collection string, ...) (*http.Request, error)
- func NewTigrisDescribeCollectionRequestWithBody(server string, project string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisDescribeDatabaseRequest(server string, project string, body TigrisDescribeDatabaseJSONRequestBody) (*http.Request, error)
- func NewTigrisDescribeDatabaseRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisDropCollectionRequest(server string, project string, collection string, ...) (*http.Request, error)
- func NewTigrisDropCollectionRequestWithBody(server string, project string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisImportRequest(server string, project string, collection string, ...) (*http.Request, error)
- func NewTigrisImportRequestWithBody(server string, project string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisInsertRequest(server string, project string, collection string, ...) (*http.Request, error)
- func NewTigrisInsertRequestWithBody(server string, project string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisListAppKeysRequest(server string, project string) (*http.Request, error)
- func NewTigrisListBranchesRequest(server string, project string) (*http.Request, error)
- func NewTigrisListCollectionsRequest(server string, project string, params *TigrisListCollectionsParams) (*http.Request, error)
- func NewTigrisListProjectsRequest(server string) (*http.Request, error)
- func NewTigrisReadRequest(server string, project string, collection string, ...) (*http.Request, error)
- func NewTigrisReadRequestWithBody(server string, project string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisReplaceRequest(server string, project string, collection string, ...) (*http.Request, error)
- func NewTigrisReplaceRequestWithBody(server string, project string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisRollbackTransactionRequest(server string, project string, body TigrisRollbackTransactionJSONRequestBody) (*http.Request, error)
- func NewTigrisRollbackTransactionRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisRotateAppKeySecretRequest(server string, project string, body TigrisRotateAppKeySecretJSONRequestBody) (*http.Request, error)
- func NewTigrisRotateAppKeySecretRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisSearchRequest(server string, project string, collection string, ...) (*http.Request, error)
- func NewTigrisSearchRequestWithBody(server string, project string, collection string, contentType string, ...) (*http.Request, error)
- func NewTigrisUpdateAppKeyRequest(server string, project string, body TigrisUpdateAppKeyJSONRequestBody) (*http.Request, error)
- func NewTigrisUpdateAppKeyRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
- func NewTigrisUpdateRequest(server string, project string, collection string, ...) (*http.Request, error)
- func NewTigrisUpdateRequestWithBody(server string, project string, collection string, contentType string, ...) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type AdditionalFunction
- type AppKey
- type AuthGetAccessTokenResponse
- type BeginTransactionRequest
- type BeginTransactionResponse
- type BranchInfo
- type BranchMetadata
- type CacheCreateCacheJSONRequestBody
- type CacheCreateCacheResponse
- type CacheDelJSONRequestBody
- type CacheDelResponse
- type CacheDeleteCacheJSONRequestBody
- type CacheDeleteCacheResponse
- type CacheGetResponse
- type CacheGetSetJSONRequestBody
- type CacheGetSetResponse
- type CacheKeysParams
- type CacheKeysResponse
- type CacheListCachesResponse
- type CacheMetadata
- type CacheSetJSONRequestBody
- type CacheSetResponse
- type ChannelMetadata
- type Client
- func (c *Client) AuthGetAccessTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CacheCreateCache(ctx context.Context, project string, name string, ...) (*http.Response, error)
- func (c *Client) CacheCreateCacheWithBody(ctx context.Context, project string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) CacheDel(ctx context.Context, project string, name string, key string, ...) (*http.Response, error)
- func (c *Client) CacheDelWithBody(ctx context.Context, project string, name string, key string, ...) (*http.Response, error)
- func (c *Client) CacheDeleteCache(ctx context.Context, project string, name string, ...) (*http.Response, error)
- func (c *Client) CacheDeleteCacheWithBody(ctx context.Context, project string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) CacheGet(ctx context.Context, project string, name string, key string, ...) (*http.Response, error)
- func (c *Client) CacheGetSet(ctx context.Context, project string, name string, key string, ...) (*http.Response, error)
- func (c *Client) CacheGetSetWithBody(ctx context.Context, project string, name string, key string, ...) (*http.Response, error)
- func (c *Client) CacheKeys(ctx context.Context, project string, name string, params *CacheKeysParams, ...) (*http.Response, error)
- func (c *Client) CacheListCaches(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CacheSet(ctx context.Context, project string, name string, key string, ...) (*http.Response, error)
- func (c *Client) CacheSetWithBody(ctx context.Context, project string, name string, key string, ...) (*http.Response, error)
- func (c *Client) HealthAPIHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ManagementCreateNamespace(ctx context.Context, body ManagementCreateNamespaceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ManagementCreateNamespaceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ManagementDescribeNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ManagementGetNamespaceMetadata(ctx context.Context, metadataKey string, ...) (*http.Response, error)
- func (c *Client) ManagementGetNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ManagementGetUserMetadata(ctx context.Context, metadataKey string, ...) (*http.Response, error)
- func (c *Client) ManagementGetUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ManagementInsertNamespaceMetadata(ctx context.Context, metadataKey string, ...) (*http.Response, error)
- func (c *Client) ManagementInsertNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ManagementInsertUserMetadata(ctx context.Context, metadataKey string, ...) (*http.Response, error)
- func (c *Client) ManagementInsertUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ManagementListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ManagementUpdateNamespaceMetadata(ctx context.Context, metadataKey string, ...) (*http.Response, error)
- func (c *Client) ManagementUpdateNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ManagementUpdateUserMetadata(ctx context.Context, metadataKey string, ...) (*http.Response, error)
- func (c *Client) ManagementUpdateUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ObservabilityGetInfo(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) ObservabilityQuotaLimits(ctx context.Context, body ObservabilityQuotaLimitsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ObservabilityQuotaLimitsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ObservabilityQuotaUsage(ctx context.Context, body ObservabilityQuotaUsageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ObservabilityQuotaUsageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RealtimeGetRTChannel(ctx context.Context, project string, channel string, ...) (*http.Response, error)
- func (c *Client) RealtimeGetRTChannels(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RealtimeListSubscriptions(ctx context.Context, project string, channel string, ...) (*http.Response, error)
- func (c *Client) RealtimeMessages(ctx context.Context, project string, channel string, ...) (*http.Response, error)
- func (c *Client) RealtimeMessagesWithBody(ctx context.Context, project string, channel string, contentType string, ...) (*http.Response, error)
- func (c *Client) RealtimePresence(ctx context.Context, project string, channel string, ...) (*http.Response, error)
- func (c *Client) RealtimeReadMessages(ctx context.Context, project string, channel string, ...) (*http.Response, error)
- func (c *Client) SearchCreate(ctx context.Context, project string, index string, ...) (*http.Response, error)
- func (c *Client) SearchCreateById(ctx context.Context, project string, index string, id string, ...) (*http.Response, error)
- func (c *Client) SearchCreateByIdWithBody(ctx context.Context, project string, index string, id string, ...) (*http.Response, error)
- func (c *Client) SearchCreateOrReplace(ctx context.Context, project string, index string, ...) (*http.Response, error)
- func (c *Client) SearchCreateOrReplaceWithBody(ctx context.Context, project string, index string, contentType string, ...) (*http.Response, error)
- func (c *Client) SearchCreateOrUpdateIndex(ctx context.Context, project string, name string, ...) (*http.Response, error)
- func (c *Client) SearchCreateOrUpdateIndexWithBody(ctx context.Context, project string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) SearchCreateWithBody(ctx context.Context, project string, index string, contentType string, ...) (*http.Response, error)
- func (c *Client) SearchDelete(ctx context.Context, project string, index string, ...) (*http.Response, error)
- func (c *Client) SearchDeleteByQuery(ctx context.Context, project string, index string, ...) (*http.Response, error)
- func (c *Client) SearchDeleteByQueryWithBody(ctx context.Context, project string, index string, contentType string, ...) (*http.Response, error)
- func (c *Client) SearchDeleteIndex(ctx context.Context, project string, name string, ...) (*http.Response, error)
- func (c *Client) SearchDeleteIndexWithBody(ctx context.Context, project string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) SearchDeleteWithBody(ctx context.Context, project string, index string, contentType string, ...) (*http.Response, error)
- func (c *Client) SearchGet(ctx context.Context, project string, index string, params *SearchGetParams, ...) (*http.Response, error)
- func (c *Client) SearchGetIndex(ctx context.Context, project string, name string, ...) (*http.Response, error)
- func (c *Client) SearchListIndexes(ctx context.Context, project string, params *SearchListIndexesParams, ...) (*http.Response, error)
- func (c *Client) SearchSearch(ctx context.Context, project string, index string, ...) (*http.Response, error)
- func (c *Client) SearchSearchWithBody(ctx context.Context, project string, index string, contentType string, ...) (*http.Response, error)
- func (c *Client) SearchUpdate(ctx context.Context, project string, index string, ...) (*http.Response, error)
- func (c *Client) SearchUpdateWithBody(ctx context.Context, project string, index string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisBeginTransaction(ctx context.Context, project string, ...) (*http.Response, error)
- func (c *Client) TigrisBeginTransactionWithBody(ctx context.Context, project string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisCommitTransaction(ctx context.Context, project string, ...) (*http.Response, error)
- func (c *Client) TigrisCommitTransactionWithBody(ctx context.Context, project string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisCreateAppKey(ctx context.Context, project string, body TigrisCreateAppKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisCreateAppKeyWithBody(ctx context.Context, project string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisCreateBranch(ctx context.Context, project string, branch string, ...) (*http.Response, error)
- func (c *Client) TigrisCreateBranchWithBody(ctx context.Context, project string, branch string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisCreateOrUpdateCollection(ctx context.Context, project string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisCreateOrUpdateCollectionWithBody(ctx context.Context, project string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisCreateProject(ctx context.Context, project string, body TigrisCreateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisCreateProjectWithBody(ctx context.Context, project string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisDelete(ctx context.Context, project string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisDeleteAppKey(ctx context.Context, project string, body TigrisDeleteAppKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisDeleteAppKeyWithBody(ctx context.Context, project string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisDeleteBranch(ctx context.Context, project string, branch string, ...) (*http.Response, error)
- func (c *Client) TigrisDeleteBranchWithBody(ctx context.Context, project string, branch string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisDeleteProject(ctx context.Context, project string, body TigrisDeleteProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisDeleteProjectWithBody(ctx context.Context, project string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisDeleteWithBody(ctx context.Context, project string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisDescribeCollection(ctx context.Context, project string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisDescribeCollectionWithBody(ctx context.Context, project string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisDescribeDatabase(ctx context.Context, project string, ...) (*http.Response, error)
- func (c *Client) TigrisDescribeDatabaseWithBody(ctx context.Context, project string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisDropCollection(ctx context.Context, project string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisDropCollectionWithBody(ctx context.Context, project string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisImport(ctx context.Context, project string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisImportWithBody(ctx context.Context, project string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisInsert(ctx context.Context, project string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisInsertWithBody(ctx context.Context, project string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisListAppKeys(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TigrisListBranches(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TigrisListCollections(ctx context.Context, project string, params *TigrisListCollectionsParams, ...) (*http.Response, error)
- func (c *Client) TigrisListProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TigrisRead(ctx context.Context, project string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisReadWithBody(ctx context.Context, project string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisReplace(ctx context.Context, project string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisReplaceWithBody(ctx context.Context, project string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisRollbackTransaction(ctx context.Context, project string, ...) (*http.Response, error)
- func (c *Client) TigrisRollbackTransactionWithBody(ctx context.Context, project string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisRotateAppKeySecret(ctx context.Context, project string, ...) (*http.Response, error)
- func (c *Client) TigrisRotateAppKeySecretWithBody(ctx context.Context, project string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisSearch(ctx context.Context, project string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisSearchWithBody(ctx context.Context, project string, collection string, contentType string, ...) (*http.Response, error)
- func (c *Client) TigrisUpdate(ctx context.Context, project string, collection string, ...) (*http.Response, error)
- func (c *Client) TigrisUpdateAppKey(ctx context.Context, project string, body TigrisUpdateAppKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TigrisUpdateAppKeyWithBody(ctx context.Context, project string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TigrisUpdateWithBody(ctx context.Context, project string, collection string, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AuthGetAccessTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthGetAccessTokenResponse, error)
- func (c *ClientWithResponses) CacheCreateCacheWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, ...) (*CacheCreateCacheResponse, error)
- func (c *ClientWithResponses) CacheCreateCacheWithResponse(ctx context.Context, project string, name string, ...) (*CacheCreateCacheResponse, error)
- func (c *ClientWithResponses) CacheDelWithBodyWithResponse(ctx context.Context, project string, name string, key string, ...) (*CacheDelResponse, error)
- func (c *ClientWithResponses) CacheDelWithResponse(ctx context.Context, project string, name string, key string, ...) (*CacheDelResponse, error)
- func (c *ClientWithResponses) CacheDeleteCacheWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, ...) (*CacheDeleteCacheResponse, error)
- func (c *ClientWithResponses) CacheDeleteCacheWithResponse(ctx context.Context, project string, name string, ...) (*CacheDeleteCacheResponse, error)
- func (c *ClientWithResponses) CacheGetSetWithBodyWithResponse(ctx context.Context, project string, name string, key string, ...) (*CacheGetSetResponse, error)
- func (c *ClientWithResponses) CacheGetSetWithResponse(ctx context.Context, project string, name string, key string, ...) (*CacheGetSetResponse, error)
- func (c *ClientWithResponses) CacheGetWithResponse(ctx context.Context, project string, name string, key string, ...) (*CacheGetResponse, error)
- func (c *ClientWithResponses) CacheKeysWithResponse(ctx context.Context, project string, name string, params *CacheKeysParams, ...) (*CacheKeysResponse, error)
- func (c *ClientWithResponses) CacheListCachesWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*CacheListCachesResponse, error)
- func (c *ClientWithResponses) CacheSetWithBodyWithResponse(ctx context.Context, project string, name string, key string, ...) (*CacheSetResponse, error)
- func (c *ClientWithResponses) CacheSetWithResponse(ctx context.Context, project string, name string, key string, ...) (*CacheSetResponse, error)
- func (c *ClientWithResponses) HealthAPIHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthAPIHealthResponse, error)
- func (c *ClientWithResponses) ManagementCreateNamespaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ManagementCreateNamespaceResponse, error)
- func (c *ClientWithResponses) ManagementCreateNamespaceWithResponse(ctx context.Context, body ManagementCreateNamespaceJSONRequestBody, ...) (*ManagementCreateNamespaceResponse, error)
- func (c *ClientWithResponses) ManagementDescribeNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementDescribeNamespacesResponse, error)
- func (c *ClientWithResponses) ManagementGetNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*ManagementGetNamespaceMetadataResponse, error)
- func (c *ClientWithResponses) ManagementGetNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, ...) (*ManagementGetNamespaceMetadataResponse, error)
- func (c *ClientWithResponses) ManagementGetUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*ManagementGetUserMetadataResponse, error)
- func (c *ClientWithResponses) ManagementGetUserMetadataWithResponse(ctx context.Context, metadataKey string, ...) (*ManagementGetUserMetadataResponse, error)
- func (c *ClientWithResponses) ManagementInsertNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*ManagementInsertNamespaceMetadataResponse, error)
- func (c *ClientWithResponses) ManagementInsertNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, ...) (*ManagementInsertNamespaceMetadataResponse, error)
- func (c *ClientWithResponses) ManagementInsertUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*ManagementInsertUserMetadataResponse, error)
- func (c *ClientWithResponses) ManagementInsertUserMetadataWithResponse(ctx context.Context, metadataKey string, ...) (*ManagementInsertUserMetadataResponse, error)
- func (c *ClientWithResponses) ManagementListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementListNamespacesResponse, error)
- func (c *ClientWithResponses) ManagementUpdateNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*ManagementUpdateNamespaceMetadataResponse, error)
- func (c *ClientWithResponses) ManagementUpdateNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, ...) (*ManagementUpdateNamespaceMetadataResponse, error)
- func (c *ClientWithResponses) ManagementUpdateUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, ...) (*ManagementUpdateUserMetadataResponse, error)
- func (c *ClientWithResponses) ManagementUpdateUserMetadataWithResponse(ctx context.Context, metadataKey string, ...) (*ManagementUpdateUserMetadataResponse, error)
- func (c *ClientWithResponses) ObservabilityGetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ObservabilityGetInfoResponse, 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) ObservabilityQuotaLimitsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ObservabilityQuotaLimitsResponse, error)
- func (c *ClientWithResponses) ObservabilityQuotaLimitsWithResponse(ctx context.Context, body ObservabilityQuotaLimitsJSONRequestBody, ...) (*ObservabilityQuotaLimitsResponse, error)
- func (c *ClientWithResponses) ObservabilityQuotaUsageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ObservabilityQuotaUsageResponse, error)
- func (c *ClientWithResponses) ObservabilityQuotaUsageWithResponse(ctx context.Context, body ObservabilityQuotaUsageJSONRequestBody, ...) (*ObservabilityQuotaUsageResponse, error)
- func (c *ClientWithResponses) RealtimeGetRTChannelWithResponse(ctx context.Context, project string, channel string, ...) (*RealtimeGetRTChannelResponse, error)
- func (c *ClientWithResponses) RealtimeGetRTChannelsWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*RealtimeGetRTChannelsResponse, error)
- func (c *ClientWithResponses) RealtimeListSubscriptionsWithResponse(ctx context.Context, project string, channel string, ...) (*RealtimeListSubscriptionsResponse, error)
- func (c *ClientWithResponses) RealtimeMessagesWithBodyWithResponse(ctx context.Context, project string, channel string, contentType string, ...) (*RealtimeMessagesResponse, error)
- func (c *ClientWithResponses) RealtimeMessagesWithResponse(ctx context.Context, project string, channel string, ...) (*RealtimeMessagesResponse, error)
- func (c *ClientWithResponses) RealtimePresenceWithResponse(ctx context.Context, project string, channel string, ...) (*RealtimePresenceResponse, error)
- func (c *ClientWithResponses) RealtimeReadMessagesWithResponse(ctx context.Context, project string, channel string, ...) (*RealtimeReadMessagesResponse, error)
- func (c *ClientWithResponses) SearchCreateByIdWithBodyWithResponse(ctx context.Context, project string, index string, id string, ...) (*SearchCreateByIdResponse, error)
- func (c *ClientWithResponses) SearchCreateByIdWithResponse(ctx context.Context, project string, index string, id string, ...) (*SearchCreateByIdResponse, error)
- func (c *ClientWithResponses) SearchCreateOrReplaceWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, ...) (*SearchCreateOrReplaceResponse, error)
- func (c *ClientWithResponses) SearchCreateOrReplaceWithResponse(ctx context.Context, project string, index string, ...) (*SearchCreateOrReplaceResponse, error)
- func (c *ClientWithResponses) SearchCreateOrUpdateIndexWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, ...) (*SearchCreateOrUpdateIndexResponse, error)
- func (c *ClientWithResponses) SearchCreateOrUpdateIndexWithResponse(ctx context.Context, project string, name string, ...) (*SearchCreateOrUpdateIndexResponse, error)
- func (c *ClientWithResponses) SearchCreateWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, ...) (*SearchCreateResponse, error)
- func (c *ClientWithResponses) SearchCreateWithResponse(ctx context.Context, project string, index string, ...) (*SearchCreateResponse, error)
- func (c *ClientWithResponses) SearchDeleteByQueryWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, ...) (*SearchDeleteByQueryResponse, error)
- func (c *ClientWithResponses) SearchDeleteByQueryWithResponse(ctx context.Context, project string, index string, ...) (*SearchDeleteByQueryResponse, error)
- func (c *ClientWithResponses) SearchDeleteIndexWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, ...) (*SearchDeleteIndexResponse, error)
- func (c *ClientWithResponses) SearchDeleteIndexWithResponse(ctx context.Context, project string, name string, ...) (*SearchDeleteIndexResponse, error)
- func (c *ClientWithResponses) SearchDeleteWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, ...) (*SearchDeleteResponse, error)
- func (c *ClientWithResponses) SearchDeleteWithResponse(ctx context.Context, project string, index string, ...) (*SearchDeleteResponse, error)
- func (c *ClientWithResponses) SearchGetIndexWithResponse(ctx context.Context, project string, name string, ...) (*SearchGetIndexResponse, error)
- func (c *ClientWithResponses) SearchGetWithResponse(ctx context.Context, project string, index string, params *SearchGetParams, ...) (*SearchGetResponse, error)
- func (c *ClientWithResponses) SearchListIndexesWithResponse(ctx context.Context, project string, params *SearchListIndexesParams, ...) (*SearchListIndexesResponse, error)
- func (c *ClientWithResponses) SearchSearchWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, ...) (*SearchSearchResponse, error)
- func (c *ClientWithResponses) SearchSearchWithResponse(ctx context.Context, project string, index string, ...) (*SearchSearchResponse, error)
- func (c *ClientWithResponses) SearchUpdateWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, ...) (*SearchUpdateResponse, error)
- func (c *ClientWithResponses) SearchUpdateWithResponse(ctx context.Context, project string, index string, ...) (*SearchUpdateResponse, error)
- func (c *ClientWithResponses) TigrisBeginTransactionWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, ...) (*TigrisBeginTransactionResponse, error)
- func (c *ClientWithResponses) TigrisBeginTransactionWithResponse(ctx context.Context, project string, ...) (*TigrisBeginTransactionResponse, error)
- func (c *ClientWithResponses) TigrisCommitTransactionWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, ...) (*TigrisCommitTransactionResponse, error)
- func (c *ClientWithResponses) TigrisCommitTransactionWithResponse(ctx context.Context, project string, ...) (*TigrisCommitTransactionResponse, error)
- func (c *ClientWithResponses) TigrisCreateAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, ...) (*TigrisCreateAppKeyResponse, error)
- func (c *ClientWithResponses) TigrisCreateAppKeyWithResponse(ctx context.Context, project string, body TigrisCreateAppKeyJSONRequestBody, ...) (*TigrisCreateAppKeyResponse, error)
- func (c *ClientWithResponses) TigrisCreateBranchWithBodyWithResponse(ctx context.Context, project string, branch string, contentType string, ...) (*TigrisCreateBranchResponse, error)
- func (c *ClientWithResponses) TigrisCreateBranchWithResponse(ctx context.Context, project string, branch string, ...) (*TigrisCreateBranchResponse, error)
- func (c *ClientWithResponses) TigrisCreateOrUpdateCollectionWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, ...) (*TigrisCreateOrUpdateCollectionResponse, error)
- func (c *ClientWithResponses) TigrisCreateOrUpdateCollectionWithResponse(ctx context.Context, project string, collection string, ...) (*TigrisCreateOrUpdateCollectionResponse, error)
- func (c *ClientWithResponses) TigrisCreateProjectWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, ...) (*TigrisCreateProjectResponse, error)
- func (c *ClientWithResponses) TigrisCreateProjectWithResponse(ctx context.Context, project string, body TigrisCreateProjectJSONRequestBody, ...) (*TigrisCreateProjectResponse, error)
- func (c *ClientWithResponses) TigrisDeleteAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, ...) (*TigrisDeleteAppKeyResponse, error)
- func (c *ClientWithResponses) TigrisDeleteAppKeyWithResponse(ctx context.Context, project string, body TigrisDeleteAppKeyJSONRequestBody, ...) (*TigrisDeleteAppKeyResponse, error)
- func (c *ClientWithResponses) TigrisDeleteBranchWithBodyWithResponse(ctx context.Context, project string, branch string, contentType string, ...) (*TigrisDeleteBranchResponse, error)
- func (c *ClientWithResponses) TigrisDeleteBranchWithResponse(ctx context.Context, project string, branch string, ...) (*TigrisDeleteBranchResponse, error)
- func (c *ClientWithResponses) TigrisDeleteProjectWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, ...) (*TigrisDeleteProjectResponse, error)
- func (c *ClientWithResponses) TigrisDeleteProjectWithResponse(ctx context.Context, project string, body TigrisDeleteProjectJSONRequestBody, ...) (*TigrisDeleteProjectResponse, error)
- func (c *ClientWithResponses) TigrisDeleteWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, ...) (*TigrisDeleteResponse, error)
- func (c *ClientWithResponses) TigrisDeleteWithResponse(ctx context.Context, project string, collection string, ...) (*TigrisDeleteResponse, error)
- func (c *ClientWithResponses) TigrisDescribeCollectionWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, ...) (*TigrisDescribeCollectionResponse, error)
- func (c *ClientWithResponses) TigrisDescribeCollectionWithResponse(ctx context.Context, project string, collection string, ...) (*TigrisDescribeCollectionResponse, error)
- func (c *ClientWithResponses) TigrisDescribeDatabaseWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, ...) (*TigrisDescribeDatabaseResponse, error)
- func (c *ClientWithResponses) TigrisDescribeDatabaseWithResponse(ctx context.Context, project string, ...) (*TigrisDescribeDatabaseResponse, error)
- func (c *ClientWithResponses) TigrisDropCollectionWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, ...) (*TigrisDropCollectionResponse, error)
- func (c *ClientWithResponses) TigrisDropCollectionWithResponse(ctx context.Context, project string, collection string, ...) (*TigrisDropCollectionResponse, error)
- func (c *ClientWithResponses) TigrisImportWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, ...) (*TigrisImportResponse, error)
- func (c *ClientWithResponses) TigrisImportWithResponse(ctx context.Context, project string, collection string, ...) (*TigrisImportResponse, error)
- func (c *ClientWithResponses) TigrisInsertWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, ...) (*TigrisInsertResponse, error)
- func (c *ClientWithResponses) TigrisInsertWithResponse(ctx context.Context, project string, collection string, ...) (*TigrisInsertResponse, error)
- func (c *ClientWithResponses) TigrisListAppKeysWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*TigrisListAppKeysResponse, error)
- func (c *ClientWithResponses) TigrisListBranchesWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*TigrisListBranchesResponse, error)
- func (c *ClientWithResponses) TigrisListCollectionsWithResponse(ctx context.Context, project string, params *TigrisListCollectionsParams, ...) (*TigrisListCollectionsResponse, error)
- func (c *ClientWithResponses) TigrisListProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisListProjectsResponse, error)
- func (c *ClientWithResponses) TigrisReadWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, ...) (*TigrisReadResponse, error)
- func (c *ClientWithResponses) TigrisReadWithResponse(ctx context.Context, project string, collection string, ...) (*TigrisReadResponse, error)
- func (c *ClientWithResponses) TigrisReplaceWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, ...) (*TigrisReplaceResponse, error)
- func (c *ClientWithResponses) TigrisReplaceWithResponse(ctx context.Context, project string, collection string, ...) (*TigrisReplaceResponse, error)
- func (c *ClientWithResponses) TigrisRollbackTransactionWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, ...) (*TigrisRollbackTransactionResponse, error)
- func (c *ClientWithResponses) TigrisRollbackTransactionWithResponse(ctx context.Context, project string, ...) (*TigrisRollbackTransactionResponse, error)
- func (c *ClientWithResponses) TigrisRotateAppKeySecretWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, ...) (*TigrisRotateAppKeySecretResponse, error)
- func (c *ClientWithResponses) TigrisRotateAppKeySecretWithResponse(ctx context.Context, project string, ...) (*TigrisRotateAppKeySecretResponse, error)
- func (c *ClientWithResponses) TigrisSearchWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, ...) (*TigrisSearchResponse, error)
- func (c *ClientWithResponses) TigrisSearchWithResponse(ctx context.Context, project string, collection string, ...) (*TigrisSearchResponse, error)
- func (c *ClientWithResponses) TigrisUpdateAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, ...) (*TigrisUpdateAppKeyResponse, error)
- func (c *ClientWithResponses) TigrisUpdateAppKeyWithResponse(ctx context.Context, project string, body TigrisUpdateAppKeyJSONRequestBody, ...) (*TigrisUpdateAppKeyResponse, error)
- func (c *ClientWithResponses) TigrisUpdateWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, ...) (*TigrisUpdateResponse, error)
- func (c *ClientWithResponses) TigrisUpdateWithResponse(ctx context.Context, project string, collection string, ...) (*TigrisUpdateResponse, error)
- type ClientWithResponsesInterface
- type Collation
- type CollectionDescription
- type CollectionInfo
- type CollectionMetadata
- type CollectionOptions
- type CommitTransactionRequest
- type CommitTransactionResponse
- type CreateAppKeyRequest
- type CreateAppKeyResponse
- type CreateBranchRequest
- type CreateBranchResponse
- type CreateByIdRequest
- type CreateByIdResponse
- type CreateCacheOptions
- type CreateCacheRequest
- type CreateCacheResponse
- type CreateDocumentRequest
- type CreateDocumentResponse
- type CreateNamespaceRequest
- type CreateNamespaceResponse
- type CreateOrReplaceDocumentRequest
- type CreateOrReplaceDocumentResponse
- type CreateOrUpdateCollectionRequest
- type CreateOrUpdateCollectionResponse
- type CreateOrUpdateIndexRequest
- type CreateOrUpdateIndexResponse
- type CreateProjectRequest
- type CreateProjectResponse
- type DataPoint
- type DatabaseMetadata
- type DelRequest
- type DelResponse
- type DeleteAppKeyRequest
- type DeleteAppKeyResponse
- type DeleteBranchRequest
- type DeleteBranchResponse
- type DeleteByQueryRequest
- type DeleteByQueryResponse
- type DeleteCacheRequest
- type DeleteCacheResponse
- type DeleteDocumentRequest
- type DeleteDocumentResponse
- type DeleteIndexRequest
- type DeleteIndexResponse
- type DeleteProjectRequest
- type DeleteProjectResponse
- type DeleteRequest
- type DeleteRequestOptions
- type DeleteResponse
- type DescribeCollectionRequest
- type DescribeCollectionResponse
- type DescribeDatabaseRequest
- type DescribeDatabaseResponse
- type DescribeNamespacesData
- type DescribeNamespacesResponse
- type DocStatus
- type DropCollectionRequest
- type DropCollectionResponse
- type Error
- type ErrorCode
- type FacetCount
- type FacetStats
- type GetAccessTokenRequest
- type GetAccessTokenRequestGrantType
- type GetAccessTokenResponse
- type GetDocumentResponse
- type GetIndexResponse
- type GetInfoResponse
- type GetNamespaceMetadataRequest
- type GetNamespaceMetadataResponse
- type GetRTChannelResponse
- type GetRTChannelsResponse
- type GetResponse
- type GetSetRequest
- type GetSetResponse
- type GetUserMetadataRequest
- type GetUserMetadataResponse
- type GroupedSearchHits
- type HealthAPIHealthResponse
- type HealthCheckResponse
- type HttpRequestDoer
- type ImportRequest
- type ImportRequestOptions
- type ImportResponse
- type IndexInfo
- type InsertNamespaceMetadataRequest
- type InsertNamespaceMetadataResponse
- type InsertRequest
- type InsertRequestOptions
- type InsertResponse
- type InsertUserMetadataRequest
- type InsertUserMetadataResponse
- type KeysResponse
- type ListAppKeysResponse
- type ListBranchesResponse
- type ListCachesResponse
- type ListCollectionsResponse
- type ListIndexesResponse
- type ListNamespacesResponse
- type ListProjectsResponse
- type ListSubscriptionResponse
- type ManagementCreateNamespaceJSONRequestBody
- type ManagementCreateNamespaceResponse
- type ManagementDescribeNamespacesResponse
- type ManagementGetNamespaceMetadataJSONRequestBody
- type ManagementGetNamespaceMetadataResponse
- type ManagementGetUserMetadataJSONRequestBody
- type ManagementGetUserMetadataResponse
- type ManagementInsertNamespaceMetadataJSONRequestBody
- type ManagementInsertNamespaceMetadataResponse
- type ManagementInsertUserMetadataJSONRequestBody
- type ManagementInsertUserMetadataResponse
- type ManagementListNamespacesResponse
- type ManagementUpdateNamespaceMetadataJSONRequestBody
- type ManagementUpdateNamespaceMetadataResponse
- type ManagementUpdateUserMetadataJSONRequestBody
- type ManagementUpdateUserMetadataResponse
- type Match
- type MatchField
- type Message
- type MessagesRequest
- type MessagesResponse
- type MetricSeries
- type NamespaceInfo
- type ObservabilityGetInfoResponse
- type ObservabilityQueryTimeSeriesMetricsJSONRequestBody
- type ObservabilityQueryTimeSeriesMetricsResponse
- type ObservabilityQuotaLimitsJSONRequestBody
- type ObservabilityQuotaLimitsResponse
- type ObservabilityQuotaUsageJSONRequestBody
- type ObservabilityQuotaUsageResponse
- type Page
- type PresenceResponse
- type ProjectInfo
- type ProjectMetadata
- type QueryTimeSeriesMetricsRequest
- type QueryTimeSeriesMetricsRequestFunction
- type QueryTimeSeriesMetricsRequestSpaceAggregation
- type QueryTimeSeriesMetricsRequestTigrisOperation
- type QueryTimeSeriesMetricsResponse
- type QuotaLimitsRequest
- type QuotaLimitsResponse
- type QuotaUsageRequest
- type QuotaUsageResponse
- type ReadMessagesResponse
- type ReadRequest
- type ReadRequestOptions
- type ReadResponse
- type RealtimeGetRTChannelResponse
- type RealtimeGetRTChannelsResponse
- type RealtimeListSubscriptionsParams
- type RealtimeListSubscriptionsResponse
- type RealtimeMessagesJSONRequestBody
- type RealtimeMessagesResponse
- type RealtimePresenceResponse
- type RealtimeReadMessagesParams
- type RealtimeReadMessagesResponse
- type ReplaceRequest
- type ReplaceRequestOptions
- type ReplaceResponse
- type RequestEditorFn
- type ResponseMetadata
- type RollbackTransactionRequest
- type RollbackTransactionResponse
- type RollupFunction
- type RollupFunctionAggregator
- type RotateAppKeyRequest
- type RotateAppKeyResponse
- type SearchCreateByIdJSONRequestBody
- type SearchCreateByIdResponse
- type SearchCreateJSONRequestBody
- type SearchCreateOrReplaceJSONRequestBody
- type SearchCreateOrReplaceResponse
- type SearchCreateOrUpdateIndexJSONRequestBody
- type SearchCreateOrUpdateIndexResponse
- type SearchCreateResponse
- type SearchDeleteByQueryJSONRequestBody
- type SearchDeleteByQueryResponse
- type SearchDeleteIndexJSONRequestBody
- type SearchDeleteIndexResponse
- type SearchDeleteJSONRequestBody
- type SearchDeleteResponse
- type SearchFacet
- type SearchGetIndexResponse
- type SearchGetParams
- type SearchGetResponse
- type SearchHit
- type SearchHitMeta
- type SearchIndexRequest
- type SearchIndexResponse
- type SearchListIndexesParams
- type SearchListIndexesResponse
- type SearchMetadata
- type SearchRequest
- type SearchResponse
- type SearchSearchJSONRequestBody
- type SearchSearchResponse
- type SearchUpdateJSONRequestBody
- type SearchUpdateResponse
- type SetRequest
- type SetResponse
- type Status
- type StreamingReadResponse
- type StreamingSearchResponse
- type TigrisBeginTransactionJSONRequestBody
- type TigrisBeginTransactionResponse
- type TigrisCommitTransactionJSONRequestBody
- type TigrisCommitTransactionResponse
- type TigrisCreateAppKeyJSONRequestBody
- type TigrisCreateAppKeyResponse
- type TigrisCreateBranchJSONRequestBody
- type TigrisCreateBranchResponse
- type TigrisCreateOrUpdateCollectionJSONRequestBody
- type TigrisCreateOrUpdateCollectionResponse
- type TigrisCreateProjectJSONRequestBody
- type TigrisCreateProjectResponse
- type TigrisDeleteAppKeyJSONRequestBody
- type TigrisDeleteAppKeyResponse
- type TigrisDeleteBranchJSONRequestBody
- type TigrisDeleteBranchResponse
- type TigrisDeleteJSONRequestBody
- type TigrisDeleteProjectJSONRequestBody
- type TigrisDeleteProjectResponse
- type TigrisDeleteResponse
- type TigrisDescribeCollectionJSONRequestBody
- type TigrisDescribeCollectionResponse
- type TigrisDescribeDatabaseJSONRequestBody
- type TigrisDescribeDatabaseResponse
- type TigrisDropCollectionJSONRequestBody
- type TigrisDropCollectionResponse
- type TigrisImportJSONRequestBody
- type TigrisImportResponse
- type TigrisInsertJSONRequestBody
- type TigrisInsertResponse
- type TigrisListAppKeysResponse
- type TigrisListBranchesResponse
- type TigrisListCollectionsParams
- type TigrisListCollectionsResponse
- type TigrisListProjectsResponse
- type TigrisReadJSONRequestBody
- type TigrisReadResponse
- type TigrisReplaceJSONRequestBody
- type TigrisReplaceResponse
- type TigrisRollbackTransactionJSONRequestBody
- type TigrisRollbackTransactionResponse
- type TigrisRotateAppKeySecretJSONRequestBody
- type TigrisRotateAppKeySecretResponse
- type TigrisSearchJSONRequestBody
- type TigrisSearchResponse
- type TigrisUpdateAppKeyJSONRequestBody
- type TigrisUpdateAppKeyResponse
- type TigrisUpdateJSONRequestBody
- type TigrisUpdateResponse
- type TransactionCtx
- type TransactionOptions
- type UpdateAppKeyRequest
- type UpdateAppKeyResponse
- type UpdateDocumentRequest
- type UpdateDocumentResponse
- type UpdateNamespaceMetadataRequest
- type UpdateNamespaceMetadataResponse
- type UpdateRequest
- type UpdateRequestOptions
- type UpdateResponse
- type UpdateUserMetadataRequest
- type UpdateUserMetadataResponse
- 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 NewAuthGetAccessTokenRequestWithBody ¶
func NewAuthGetAccessTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthGetAccessTokenRequestWithBody generates requests for AuthGetAccessToken with any type of body
func NewCacheCreateCacheRequest ¶
func NewCacheCreateCacheRequest(server string, project string, name string, body CacheCreateCacheJSONRequestBody) (*http.Request, error)
NewCacheCreateCacheRequest calls the generic CacheCreateCache builder with application/json body
func NewCacheCreateCacheRequestWithBody ¶
func NewCacheCreateCacheRequestWithBody(server string, project string, name string, contentType string, body io.Reader) (*http.Request, error)
NewCacheCreateCacheRequestWithBody generates requests for CacheCreateCache with any type of body
func NewCacheDelRequest ¶
func NewCacheDelRequest(server string, project string, name string, key string, body CacheDelJSONRequestBody) (*http.Request, error)
NewCacheDelRequest calls the generic CacheDel builder with application/json body
func NewCacheDelRequestWithBody ¶
func NewCacheDelRequestWithBody(server string, project string, name string, key string, contentType string, body io.Reader) (*http.Request, error)
NewCacheDelRequestWithBody generates requests for CacheDel with any type of body
func NewCacheDeleteCacheRequest ¶
func NewCacheDeleteCacheRequest(server string, project string, name string, body CacheDeleteCacheJSONRequestBody) (*http.Request, error)
NewCacheDeleteCacheRequest calls the generic CacheDeleteCache builder with application/json body
func NewCacheDeleteCacheRequestWithBody ¶
func NewCacheDeleteCacheRequestWithBody(server string, project string, name string, contentType string, body io.Reader) (*http.Request, error)
NewCacheDeleteCacheRequestWithBody generates requests for CacheDeleteCache with any type of body
func NewCacheGetRequest ¶
func NewCacheGetRequest(server string, project string, name string, key string) (*http.Request, error)
NewCacheGetRequest generates requests for CacheGet
func NewCacheGetSetRequest ¶
func NewCacheGetSetRequest(server string, project string, name string, key string, body CacheGetSetJSONRequestBody) (*http.Request, error)
NewCacheGetSetRequest calls the generic CacheGetSet builder with application/json body
func NewCacheGetSetRequestWithBody ¶
func NewCacheGetSetRequestWithBody(server string, project string, name string, key string, contentType string, body io.Reader) (*http.Request, error)
NewCacheGetSetRequestWithBody generates requests for CacheGetSet with any type of body
func NewCacheKeysRequest ¶
func NewCacheKeysRequest(server string, project string, name string, params *CacheKeysParams) (*http.Request, error)
NewCacheKeysRequest generates requests for CacheKeys
func NewCacheListCachesRequest ¶
NewCacheListCachesRequest generates requests for CacheListCaches
func NewCacheSetRequest ¶
func NewCacheSetRequest(server string, project string, name string, key string, body CacheSetJSONRequestBody) (*http.Request, error)
NewCacheSetRequest calls the generic CacheSet builder with application/json body
func NewCacheSetRequestWithBody ¶
func NewCacheSetRequestWithBody(server string, project string, name string, key string, contentType string, body io.Reader) (*http.Request, error)
NewCacheSetRequestWithBody generates requests for CacheSet with any type of body
func NewHealthAPIHealthRequest ¶
NewHealthAPIHealthRequest generates requests for HealthAPIHealth
func NewManagementCreateNamespaceRequest ¶
func NewManagementCreateNamespaceRequest(server string, body ManagementCreateNamespaceJSONRequestBody) (*http.Request, error)
NewManagementCreateNamespaceRequest calls the generic ManagementCreateNamespace builder with application/json body
func NewManagementCreateNamespaceRequestWithBody ¶
func NewManagementCreateNamespaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewManagementCreateNamespaceRequestWithBody generates requests for ManagementCreateNamespace with any type of body
func NewManagementDescribeNamespacesRequest ¶
NewManagementDescribeNamespacesRequest generates requests for ManagementDescribeNamespaces
func NewManagementGetNamespaceMetadataRequest ¶
func NewManagementGetNamespaceMetadataRequest(server string, metadataKey string, body ManagementGetNamespaceMetadataJSONRequestBody) (*http.Request, error)
NewManagementGetNamespaceMetadataRequest calls the generic ManagementGetNamespaceMetadata builder with application/json body
func NewManagementGetNamespaceMetadataRequestWithBody ¶
func NewManagementGetNamespaceMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
NewManagementGetNamespaceMetadataRequestWithBody generates requests for ManagementGetNamespaceMetadata with any type of body
func NewManagementGetUserMetadataRequest ¶
func NewManagementGetUserMetadataRequest(server string, metadataKey string, body ManagementGetUserMetadataJSONRequestBody) (*http.Request, error)
NewManagementGetUserMetadataRequest calls the generic ManagementGetUserMetadata builder with application/json body
func NewManagementGetUserMetadataRequestWithBody ¶
func NewManagementGetUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
NewManagementGetUserMetadataRequestWithBody generates requests for ManagementGetUserMetadata with any type of body
func NewManagementInsertNamespaceMetadataRequest ¶
func NewManagementInsertNamespaceMetadataRequest(server string, metadataKey string, body ManagementInsertNamespaceMetadataJSONRequestBody) (*http.Request, error)
NewManagementInsertNamespaceMetadataRequest calls the generic ManagementInsertNamespaceMetadata builder with application/json body
func NewManagementInsertNamespaceMetadataRequestWithBody ¶
func NewManagementInsertNamespaceMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
NewManagementInsertNamespaceMetadataRequestWithBody generates requests for ManagementInsertNamespaceMetadata with any type of body
func NewManagementInsertUserMetadataRequest ¶
func NewManagementInsertUserMetadataRequest(server string, metadataKey string, body ManagementInsertUserMetadataJSONRequestBody) (*http.Request, error)
NewManagementInsertUserMetadataRequest calls the generic ManagementInsertUserMetadata builder with application/json body
func NewManagementInsertUserMetadataRequestWithBody ¶
func NewManagementInsertUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
NewManagementInsertUserMetadataRequestWithBody generates requests for ManagementInsertUserMetadata with any type of body
func NewManagementListNamespacesRequest ¶
NewManagementListNamespacesRequest generates requests for ManagementListNamespaces
func NewManagementUpdateNamespaceMetadataRequest ¶
func NewManagementUpdateNamespaceMetadataRequest(server string, metadataKey string, body ManagementUpdateNamespaceMetadataJSONRequestBody) (*http.Request, error)
NewManagementUpdateNamespaceMetadataRequest calls the generic ManagementUpdateNamespaceMetadata builder with application/json body
func NewManagementUpdateNamespaceMetadataRequestWithBody ¶
func NewManagementUpdateNamespaceMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
NewManagementUpdateNamespaceMetadataRequestWithBody generates requests for ManagementUpdateNamespaceMetadata with any type of body
func NewManagementUpdateUserMetadataRequest ¶
func NewManagementUpdateUserMetadataRequest(server string, metadataKey string, body ManagementUpdateUserMetadataJSONRequestBody) (*http.Request, error)
NewManagementUpdateUserMetadataRequest calls the generic ManagementUpdateUserMetadata builder with application/json body
func NewManagementUpdateUserMetadataRequestWithBody ¶
func NewManagementUpdateUserMetadataRequestWithBody(server string, metadataKey string, contentType string, body io.Reader) (*http.Request, error)
NewManagementUpdateUserMetadataRequestWithBody generates requests for ManagementUpdateUserMetadata with any type of body
func NewObservabilityGetInfoRequest ¶
NewObservabilityGetInfoRequest generates requests for ObservabilityGetInfo
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 NewObservabilityQuotaLimitsRequest ¶
func NewObservabilityQuotaLimitsRequest(server string, body ObservabilityQuotaLimitsJSONRequestBody) (*http.Request, error)
NewObservabilityQuotaLimitsRequest calls the generic ObservabilityQuotaLimits builder with application/json body
func NewObservabilityQuotaLimitsRequestWithBody ¶
func NewObservabilityQuotaLimitsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewObservabilityQuotaLimitsRequestWithBody generates requests for ObservabilityQuotaLimits with any type of body
func NewObservabilityQuotaUsageRequest ¶
func NewObservabilityQuotaUsageRequest(server string, body ObservabilityQuotaUsageJSONRequestBody) (*http.Request, error)
NewObservabilityQuotaUsageRequest calls the generic ObservabilityQuotaUsage builder with application/json body
func NewObservabilityQuotaUsageRequestWithBody ¶
func NewObservabilityQuotaUsageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewObservabilityQuotaUsageRequestWithBody generates requests for ObservabilityQuotaUsage with any type of body
func NewRealtimeGetRTChannelRequest ¶
func NewRealtimeGetRTChannelRequest(server string, project string, channel string) (*http.Request, error)
NewRealtimeGetRTChannelRequest generates requests for RealtimeGetRTChannel
func NewRealtimeGetRTChannelsRequest ¶
NewRealtimeGetRTChannelsRequest generates requests for RealtimeGetRTChannels
func NewRealtimeListSubscriptionsRequest ¶
func NewRealtimeListSubscriptionsRequest(server string, project string, channel string, params *RealtimeListSubscriptionsParams) (*http.Request, error)
NewRealtimeListSubscriptionsRequest generates requests for RealtimeListSubscriptions
func NewRealtimeMessagesRequest ¶
func NewRealtimeMessagesRequest(server string, project string, channel string, body RealtimeMessagesJSONRequestBody) (*http.Request, error)
NewRealtimeMessagesRequest calls the generic RealtimeMessages builder with application/json body
func NewRealtimeMessagesRequestWithBody ¶
func NewRealtimeMessagesRequestWithBody(server string, project string, channel string, contentType string, body io.Reader) (*http.Request, error)
NewRealtimeMessagesRequestWithBody generates requests for RealtimeMessages with any type of body
func NewRealtimePresenceRequest ¶
func NewRealtimePresenceRequest(server string, project string, channel string) (*http.Request, error)
NewRealtimePresenceRequest generates requests for RealtimePresence
func NewRealtimeReadMessagesRequest ¶
func NewRealtimeReadMessagesRequest(server string, project string, channel string, params *RealtimeReadMessagesParams) (*http.Request, error)
NewRealtimeReadMessagesRequest generates requests for RealtimeReadMessages
func NewSearchCreateByIdRequest ¶
func NewSearchCreateByIdRequest(server string, project string, index string, id string, body SearchCreateByIdJSONRequestBody) (*http.Request, error)
NewSearchCreateByIdRequest calls the generic SearchCreateById builder with application/json body
func NewSearchCreateByIdRequestWithBody ¶
func NewSearchCreateByIdRequestWithBody(server string, project string, index string, id string, contentType string, body io.Reader) (*http.Request, error)
NewSearchCreateByIdRequestWithBody generates requests for SearchCreateById with any type of body
func NewSearchCreateOrReplaceRequest ¶
func NewSearchCreateOrReplaceRequest(server string, project string, index string, body SearchCreateOrReplaceJSONRequestBody) (*http.Request, error)
NewSearchCreateOrReplaceRequest calls the generic SearchCreateOrReplace builder with application/json body
func NewSearchCreateOrReplaceRequestWithBody ¶
func NewSearchCreateOrReplaceRequestWithBody(server string, project string, index string, contentType string, body io.Reader) (*http.Request, error)
NewSearchCreateOrReplaceRequestWithBody generates requests for SearchCreateOrReplace with any type of body
func NewSearchCreateOrUpdateIndexRequest ¶
func NewSearchCreateOrUpdateIndexRequest(server string, project string, name string, body SearchCreateOrUpdateIndexJSONRequestBody) (*http.Request, error)
NewSearchCreateOrUpdateIndexRequest calls the generic SearchCreateOrUpdateIndex builder with application/json body
func NewSearchCreateOrUpdateIndexRequestWithBody ¶
func NewSearchCreateOrUpdateIndexRequestWithBody(server string, project string, name string, contentType string, body io.Reader) (*http.Request, error)
NewSearchCreateOrUpdateIndexRequestWithBody generates requests for SearchCreateOrUpdateIndex with any type of body
func NewSearchCreateRequest ¶
func NewSearchCreateRequest(server string, project string, index string, body SearchCreateJSONRequestBody) (*http.Request, error)
NewSearchCreateRequest calls the generic SearchCreate builder with application/json body
func NewSearchCreateRequestWithBody ¶
func NewSearchCreateRequestWithBody(server string, project string, index string, contentType string, body io.Reader) (*http.Request, error)
NewSearchCreateRequestWithBody generates requests for SearchCreate with any type of body
func NewSearchDeleteByQueryRequest ¶
func NewSearchDeleteByQueryRequest(server string, project string, index string, body SearchDeleteByQueryJSONRequestBody) (*http.Request, error)
NewSearchDeleteByQueryRequest calls the generic SearchDeleteByQuery builder with application/json body
func NewSearchDeleteByQueryRequestWithBody ¶
func NewSearchDeleteByQueryRequestWithBody(server string, project string, index string, contentType string, body io.Reader) (*http.Request, error)
NewSearchDeleteByQueryRequestWithBody generates requests for SearchDeleteByQuery with any type of body
func NewSearchDeleteIndexRequest ¶
func NewSearchDeleteIndexRequest(server string, project string, name string, body SearchDeleteIndexJSONRequestBody) (*http.Request, error)
NewSearchDeleteIndexRequest calls the generic SearchDeleteIndex builder with application/json body
func NewSearchDeleteIndexRequestWithBody ¶
func NewSearchDeleteIndexRequestWithBody(server string, project string, name string, contentType string, body io.Reader) (*http.Request, error)
NewSearchDeleteIndexRequestWithBody generates requests for SearchDeleteIndex with any type of body
func NewSearchDeleteRequest ¶
func NewSearchDeleteRequest(server string, project string, index string, body SearchDeleteJSONRequestBody) (*http.Request, error)
NewSearchDeleteRequest calls the generic SearchDelete builder with application/json body
func NewSearchDeleteRequestWithBody ¶
func NewSearchDeleteRequestWithBody(server string, project string, index string, contentType string, body io.Reader) (*http.Request, error)
NewSearchDeleteRequestWithBody generates requests for SearchDelete with any type of body
func NewSearchGetIndexRequest ¶
NewSearchGetIndexRequest generates requests for SearchGetIndex
func NewSearchGetRequest ¶
func NewSearchGetRequest(server string, project string, index string, params *SearchGetParams) (*http.Request, error)
NewSearchGetRequest generates requests for SearchGet
func NewSearchListIndexesRequest ¶
func NewSearchListIndexesRequest(server string, project string, params *SearchListIndexesParams) (*http.Request, error)
NewSearchListIndexesRequest generates requests for SearchListIndexes
func NewSearchSearchRequest ¶
func NewSearchSearchRequest(server string, project string, index string, body SearchSearchJSONRequestBody) (*http.Request, error)
NewSearchSearchRequest calls the generic SearchSearch builder with application/json body
func NewSearchSearchRequestWithBody ¶
func NewSearchSearchRequestWithBody(server string, project string, index string, contentType string, body io.Reader) (*http.Request, error)
NewSearchSearchRequestWithBody generates requests for SearchSearch with any type of body
func NewSearchUpdateRequest ¶
func NewSearchUpdateRequest(server string, project string, index string, body SearchUpdateJSONRequestBody) (*http.Request, error)
NewSearchUpdateRequest calls the generic SearchUpdate builder with application/json body
func NewSearchUpdateRequestWithBody ¶
func NewSearchUpdateRequestWithBody(server string, project string, index string, contentType string, body io.Reader) (*http.Request, error)
NewSearchUpdateRequestWithBody generates requests for SearchUpdate with any type of body
func NewTigrisBeginTransactionRequest ¶
func NewTigrisBeginTransactionRequest(server string, project string, body TigrisBeginTransactionJSONRequestBody) (*http.Request, error)
NewTigrisBeginTransactionRequest calls the generic TigrisBeginTransaction builder with application/json body
func NewTigrisBeginTransactionRequestWithBody ¶
func NewTigrisBeginTransactionRequestWithBody(server string, project 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, project string, body TigrisCommitTransactionJSONRequestBody) (*http.Request, error)
NewTigrisCommitTransactionRequest calls the generic TigrisCommitTransaction builder with application/json body
func NewTigrisCommitTransactionRequestWithBody ¶
func NewTigrisCommitTransactionRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisCommitTransactionRequestWithBody generates requests for TigrisCommitTransaction with any type of body
func NewTigrisCreateAppKeyRequest ¶
func NewTigrisCreateAppKeyRequest(server string, project string, body TigrisCreateAppKeyJSONRequestBody) (*http.Request, error)
NewTigrisCreateAppKeyRequest calls the generic TigrisCreateAppKey builder with application/json body
func NewTigrisCreateAppKeyRequestWithBody ¶
func NewTigrisCreateAppKeyRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisCreateAppKeyRequestWithBody generates requests for TigrisCreateAppKey with any type of body
func NewTigrisCreateBranchRequest ¶
func NewTigrisCreateBranchRequest(server string, project string, branch string, body TigrisCreateBranchJSONRequestBody) (*http.Request, error)
NewTigrisCreateBranchRequest calls the generic TigrisCreateBranch builder with application/json body
func NewTigrisCreateBranchRequestWithBody ¶
func NewTigrisCreateBranchRequestWithBody(server string, project string, branch string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisCreateBranchRequestWithBody generates requests for TigrisCreateBranch with any type of body
func NewTigrisCreateOrUpdateCollectionRequest ¶
func NewTigrisCreateOrUpdateCollectionRequest(server string, project string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody) (*http.Request, error)
NewTigrisCreateOrUpdateCollectionRequest calls the generic TigrisCreateOrUpdateCollection builder with application/json body
func NewTigrisCreateOrUpdateCollectionRequestWithBody ¶
func NewTigrisCreateOrUpdateCollectionRequestWithBody(server string, project string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisCreateOrUpdateCollectionRequestWithBody generates requests for TigrisCreateOrUpdateCollection with any type of body
func NewTigrisCreateProjectRequest ¶
func NewTigrisCreateProjectRequest(server string, project string, body TigrisCreateProjectJSONRequestBody) (*http.Request, error)
NewTigrisCreateProjectRequest calls the generic TigrisCreateProject builder with application/json body
func NewTigrisCreateProjectRequestWithBody ¶
func NewTigrisCreateProjectRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisCreateProjectRequestWithBody generates requests for TigrisCreateProject with any type of body
func NewTigrisDeleteAppKeyRequest ¶
func NewTigrisDeleteAppKeyRequest(server string, project string, body TigrisDeleteAppKeyJSONRequestBody) (*http.Request, error)
NewTigrisDeleteAppKeyRequest calls the generic TigrisDeleteAppKey builder with application/json body
func NewTigrisDeleteAppKeyRequestWithBody ¶
func NewTigrisDeleteAppKeyRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisDeleteAppKeyRequestWithBody generates requests for TigrisDeleteAppKey with any type of body
func NewTigrisDeleteBranchRequest ¶
func NewTigrisDeleteBranchRequest(server string, project string, branch string, body TigrisDeleteBranchJSONRequestBody) (*http.Request, error)
NewTigrisDeleteBranchRequest calls the generic TigrisDeleteBranch builder with application/json body
func NewTigrisDeleteBranchRequestWithBody ¶
func NewTigrisDeleteBranchRequestWithBody(server string, project string, branch string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisDeleteBranchRequestWithBody generates requests for TigrisDeleteBranch with any type of body
func NewTigrisDeleteProjectRequest ¶
func NewTigrisDeleteProjectRequest(server string, project string, body TigrisDeleteProjectJSONRequestBody) (*http.Request, error)
NewTigrisDeleteProjectRequest calls the generic TigrisDeleteProject builder with application/json body
func NewTigrisDeleteProjectRequestWithBody ¶
func NewTigrisDeleteProjectRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisDeleteProjectRequestWithBody generates requests for TigrisDeleteProject with any type of body
func NewTigrisDeleteRequest ¶
func NewTigrisDeleteRequest(server string, project string, collection string, body TigrisDeleteJSONRequestBody) (*http.Request, error)
NewTigrisDeleteRequest calls the generic TigrisDelete builder with application/json body
func NewTigrisDeleteRequestWithBody ¶
func NewTigrisDeleteRequestWithBody(server string, project 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, project string, collection string, body TigrisDescribeCollectionJSONRequestBody) (*http.Request, error)
NewTigrisDescribeCollectionRequest calls the generic TigrisDescribeCollection builder with application/json body
func NewTigrisDescribeCollectionRequestWithBody ¶
func NewTigrisDescribeCollectionRequestWithBody(server string, project 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, project string, body TigrisDescribeDatabaseJSONRequestBody) (*http.Request, error)
NewTigrisDescribeDatabaseRequest calls the generic TigrisDescribeDatabase builder with application/json body
func NewTigrisDescribeDatabaseRequestWithBody ¶
func NewTigrisDescribeDatabaseRequestWithBody(server string, project 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, project string, collection string, body TigrisDropCollectionJSONRequestBody) (*http.Request, error)
NewTigrisDropCollectionRequest calls the generic TigrisDropCollection builder with application/json body
func NewTigrisDropCollectionRequestWithBody ¶
func NewTigrisDropCollectionRequestWithBody(server string, project string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisDropCollectionRequestWithBody generates requests for TigrisDropCollection with any type of body
func NewTigrisImportRequest ¶
func NewTigrisImportRequest(server string, project string, collection string, body TigrisImportJSONRequestBody) (*http.Request, error)
NewTigrisImportRequest calls the generic TigrisImport builder with application/json body
func NewTigrisImportRequestWithBody ¶
func NewTigrisImportRequestWithBody(server string, project string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisImportRequestWithBody generates requests for TigrisImport with any type of body
func NewTigrisInsertRequest ¶
func NewTigrisInsertRequest(server string, project string, collection string, body TigrisInsertJSONRequestBody) (*http.Request, error)
NewTigrisInsertRequest calls the generic TigrisInsert builder with application/json body
func NewTigrisInsertRequestWithBody ¶
func NewTigrisInsertRequestWithBody(server string, project string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisInsertRequestWithBody generates requests for TigrisInsert with any type of body
func NewTigrisListAppKeysRequest ¶
NewTigrisListAppKeysRequest generates requests for TigrisListAppKeys
func NewTigrisListBranchesRequest ¶
NewTigrisListBranchesRequest generates requests for TigrisListBranches
func NewTigrisListCollectionsRequest ¶
func NewTigrisListCollectionsRequest(server string, project string, params *TigrisListCollectionsParams) (*http.Request, error)
NewTigrisListCollectionsRequest generates requests for TigrisListCollections
func NewTigrisListProjectsRequest ¶
NewTigrisListProjectsRequest generates requests for TigrisListProjects
func NewTigrisReadRequest ¶
func NewTigrisReadRequest(server string, project string, collection string, body TigrisReadJSONRequestBody) (*http.Request, error)
NewTigrisReadRequest calls the generic TigrisRead builder with application/json body
func NewTigrisReadRequestWithBody ¶
func NewTigrisReadRequestWithBody(server string, project 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, project string, collection string, body TigrisReplaceJSONRequestBody) (*http.Request, error)
NewTigrisReplaceRequest calls the generic TigrisReplace builder with application/json body
func NewTigrisReplaceRequestWithBody ¶
func NewTigrisReplaceRequestWithBody(server string, project 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, project string, body TigrisRollbackTransactionJSONRequestBody) (*http.Request, error)
NewTigrisRollbackTransactionRequest calls the generic TigrisRollbackTransaction builder with application/json body
func NewTigrisRollbackTransactionRequestWithBody ¶
func NewTigrisRollbackTransactionRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisRollbackTransactionRequestWithBody generates requests for TigrisRollbackTransaction with any type of body
func NewTigrisRotateAppKeySecretRequest ¶
func NewTigrisRotateAppKeySecretRequest(server string, project string, body TigrisRotateAppKeySecretJSONRequestBody) (*http.Request, error)
NewTigrisRotateAppKeySecretRequest calls the generic TigrisRotateAppKeySecret builder with application/json body
func NewTigrisRotateAppKeySecretRequestWithBody ¶
func NewTigrisRotateAppKeySecretRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisRotateAppKeySecretRequestWithBody generates requests for TigrisRotateAppKeySecret with any type of body
func NewTigrisSearchRequest ¶
func NewTigrisSearchRequest(server string, project string, collection string, body TigrisSearchJSONRequestBody) (*http.Request, error)
NewTigrisSearchRequest calls the generic TigrisSearch builder with application/json body
func NewTigrisSearchRequestWithBody ¶
func NewTigrisSearchRequestWithBody(server string, project string, collection string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisSearchRequestWithBody generates requests for TigrisSearch with any type of body
func NewTigrisUpdateAppKeyRequest ¶
func NewTigrisUpdateAppKeyRequest(server string, project string, body TigrisUpdateAppKeyJSONRequestBody) (*http.Request, error)
NewTigrisUpdateAppKeyRequest calls the generic TigrisUpdateAppKey builder with application/json body
func NewTigrisUpdateAppKeyRequestWithBody ¶
func NewTigrisUpdateAppKeyRequestWithBody(server string, project string, contentType string, body io.Reader) (*http.Request, error)
NewTigrisUpdateAppKeyRequestWithBody generates requests for TigrisUpdateAppKey with any type of body
func NewTigrisUpdateRequest ¶
func NewTigrisUpdateRequest(server string, project string, collection string, body TigrisUpdateJSONRequestBody) (*http.Request, error)
NewTigrisUpdateRequest calls the generic TigrisUpdate builder with application/json body
Types ¶
type AdditionalFunction ¶
type AdditionalFunction struct { // Rollup 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"` }
AdditionalFunction Additional function to apply on metrics query
type AppKey ¶
type AppKey struct { // CreatedAt Created at CreatedAt *int64 `json:"created_at,omitempty"` // CreatedBy Created by CreatedBy *string `json:"created_by,omitempty"` // Description A human readable app description Description *string `json:"description,omitempty"` // Id Generated client id Id *string `json:"id,omitempty"` // Name A human readable app name Name *string `json:"name,omitempty"` // Project Project it belongs to Project *string `json:"project,omitempty"` // Secret Generated app secret Secret *string `json:"secret,omitempty"` // UpdatedAt Updated at UpdatedAt *int64 `json:"updated_at,omitempty"` // UpdatedBy Updated by UpdatedBy *string `json:"updated_by,omitempty"` }
AppKey An user AppKey
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 { // Branch Optionally specify a project branch name to perform operation on Branch *string `json:"branch,omitempty"` // Options Options that can be used to modify the transaction semantics. Options *TransactionOptions `json:"options,omitempty"` }
BeginTransactionRequest Start new transaction in project specified by "project".
type BeginTransactionResponse ¶
type BeginTransactionResponse struct { // TxCtx 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"` }
BeginTransactionResponse Start transaction returns transaction context which uniquely identifies the transaction
type BranchInfo ¶
type BranchInfo struct { // Branch Branch name Branch *string `json:"branch,omitempty"` Metadata *BranchMetadata `json:"metadata,omitempty"` }
BranchInfo defines model for BranchInfo.
type BranchMetadata ¶
type BranchMetadata = map[string]interface{}
BranchMetadata defines model for BranchMetadata.
type CacheCreateCacheJSONRequestBody ¶
type CacheCreateCacheJSONRequestBody = CreateCacheRequest
CacheCreateCacheJSONRequestBody defines body for CacheCreateCache for application/json ContentType.
type CacheCreateCacheResponse ¶
type CacheCreateCacheResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateCacheResponse JSONDefault *Status }
func ParseCacheCreateCacheResponse ¶
func ParseCacheCreateCacheResponse(rsp *http.Response) (*CacheCreateCacheResponse, error)
ParseCacheCreateCacheResponse parses an HTTP response from a CacheCreateCacheWithResponse call
func (CacheCreateCacheResponse) Status ¶
func (r CacheCreateCacheResponse) Status() string
Status returns HTTPResponse.Status
func (CacheCreateCacheResponse) StatusCode ¶
func (r CacheCreateCacheResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CacheDelJSONRequestBody ¶
type CacheDelJSONRequestBody = DelRequest
CacheDelJSONRequestBody defines body for CacheDel for application/json ContentType.
type CacheDelResponse ¶
type CacheDelResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DelResponse JSONDefault *Status }
func ParseCacheDelResponse ¶
func ParseCacheDelResponse(rsp *http.Response) (*CacheDelResponse, error)
ParseCacheDelResponse parses an HTTP response from a CacheDelWithResponse call
func (CacheDelResponse) Status ¶
func (r CacheDelResponse) Status() string
Status returns HTTPResponse.Status
func (CacheDelResponse) StatusCode ¶
func (r CacheDelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CacheDeleteCacheJSONRequestBody ¶
type CacheDeleteCacheJSONRequestBody = DeleteCacheRequest
CacheDeleteCacheJSONRequestBody defines body for CacheDeleteCache for application/json ContentType.
type CacheDeleteCacheResponse ¶
type CacheDeleteCacheResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteCacheResponse JSONDefault *Status }
func ParseCacheDeleteCacheResponse ¶
func ParseCacheDeleteCacheResponse(rsp *http.Response) (*CacheDeleteCacheResponse, error)
ParseCacheDeleteCacheResponse parses an HTTP response from a CacheDeleteCacheWithResponse call
func (CacheDeleteCacheResponse) Status ¶
func (r CacheDeleteCacheResponse) Status() string
Status returns HTTPResponse.Status
func (CacheDeleteCacheResponse) StatusCode ¶
func (r CacheDeleteCacheResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CacheGetResponse ¶
type CacheGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetResponse JSONDefault *Status }
func ParseCacheGetResponse ¶
func ParseCacheGetResponse(rsp *http.Response) (*CacheGetResponse, error)
ParseCacheGetResponse parses an HTTP response from a CacheGetWithResponse call
func (CacheGetResponse) Status ¶
func (r CacheGetResponse) Status() string
Status returns HTTPResponse.Status
func (CacheGetResponse) StatusCode ¶
func (r CacheGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CacheGetSetJSONRequestBody ¶
type CacheGetSetJSONRequestBody = GetSetRequest
CacheGetSetJSONRequestBody defines body for CacheGetSet for application/json ContentType.
type CacheGetSetResponse ¶
type CacheGetSetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetSetResponse JSONDefault *Status }
func ParseCacheGetSetResponse ¶
func ParseCacheGetSetResponse(rsp *http.Response) (*CacheGetSetResponse, error)
ParseCacheGetSetResponse parses an HTTP response from a CacheGetSetWithResponse call
func (CacheGetSetResponse) Status ¶
func (r CacheGetSetResponse) Status() string
Status returns HTTPResponse.Status
func (CacheGetSetResponse) StatusCode ¶
func (r CacheGetSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CacheKeysParams ¶
type CacheKeysParams struct { // Cursor optional - cursor - skip this argument if no cursor is associated Cursor *uint64 `form:"cursor,omitempty" json:"cursor,omitempty"` // Count optional - count of keys to return a stream response line. Count *int64 `form:"count,omitempty" json:"count,omitempty"` // Pattern optional key pattern Pattern *string `form:"pattern,omitempty" json:"pattern,omitempty"` }
CacheKeysParams defines parameters for CacheKeys.
type CacheKeysResponse ¶
type CacheKeysResponse struct { Body []byte HTTPResponse *http.Response JSON200 *KeysResponse JSONDefault *Status }
func ParseCacheKeysResponse ¶
func ParseCacheKeysResponse(rsp *http.Response) (*CacheKeysResponse, error)
ParseCacheKeysResponse parses an HTTP response from a CacheKeysWithResponse call
func (CacheKeysResponse) Status ¶
func (r CacheKeysResponse) Status() string
Status returns HTTPResponse.Status
func (CacheKeysResponse) StatusCode ¶
func (r CacheKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CacheListCachesResponse ¶
type CacheListCachesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListCachesResponse JSONDefault *Status }
func ParseCacheListCachesResponse ¶
func ParseCacheListCachesResponse(rsp *http.Response) (*CacheListCachesResponse, error)
ParseCacheListCachesResponse parses an HTTP response from a CacheListCachesWithResponse call
func (CacheListCachesResponse) Status ¶
func (r CacheListCachesResponse) Status() string
Status returns HTTPResponse.Status
func (CacheListCachesResponse) StatusCode ¶
func (r CacheListCachesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CacheMetadata ¶
type CacheMetadata struct { // Name Cache name Name *string `json:"name,omitempty"` }
CacheMetadata defines model for CacheMetadata.
type CacheSetJSONRequestBody ¶
type CacheSetJSONRequestBody = SetRequest
CacheSetJSONRequestBody defines body for CacheSet for application/json ContentType.
type CacheSetResponse ¶
type CacheSetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SetResponse JSONDefault *Status }
func ParseCacheSetResponse ¶
func ParseCacheSetResponse(rsp *http.Response) (*CacheSetResponse, error)
ParseCacheSetResponse parses an HTTP response from a CacheSetWithResponse call
func (CacheSetResponse) Status ¶
func (r CacheSetResponse) Status() string
Status returns HTTPResponse.Status
func (CacheSetResponse) StatusCode ¶
func (r CacheSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChannelMetadata ¶
type ChannelMetadata struct {
Channel *string `json:"channel,omitempty"`
}
ChannelMetadata defines model for ChannelMetadata.
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) AuthGetAccessTokenWithBody ¶
func (*Client) CacheCreateCache ¶
func (c *Client) CacheCreateCache(ctx context.Context, project string, name string, body CacheCreateCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CacheCreateCacheWithBody ¶
func (*Client) CacheDelWithBody ¶
func (*Client) CacheDeleteCache ¶
func (c *Client) CacheDeleteCache(ctx context.Context, project string, name string, body CacheDeleteCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CacheDeleteCacheWithBody ¶
func (*Client) CacheGetSet ¶
func (*Client) CacheGetSetWithBody ¶
func (*Client) CacheKeys ¶
func (c *Client) CacheKeys(ctx context.Context, project string, name string, params *CacheKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CacheListCaches ¶
func (*Client) CacheSetWithBody ¶
func (*Client) HealthAPIHealth ¶
func (*Client) ManagementCreateNamespace ¶
func (c *Client) ManagementCreateNamespace(ctx context.Context, body ManagementCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagementCreateNamespaceWithBody ¶
func (*Client) ManagementDescribeNamespaces ¶
func (*Client) ManagementGetNamespaceMetadata ¶
func (c *Client) ManagementGetNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementGetNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagementGetNamespaceMetadataWithBody ¶
func (*Client) ManagementGetUserMetadata ¶
func (c *Client) ManagementGetUserMetadata(ctx context.Context, metadataKey string, body ManagementGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagementGetUserMetadataWithBody ¶
func (*Client) ManagementInsertNamespaceMetadata ¶
func (c *Client) ManagementInsertNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementInsertNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagementInsertNamespaceMetadataWithBody ¶
func (*Client) ManagementInsertUserMetadata ¶
func (c *Client) ManagementInsertUserMetadata(ctx context.Context, metadataKey string, body ManagementInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagementInsertUserMetadataWithBody ¶
func (*Client) ManagementListNamespaces ¶
func (*Client) ManagementUpdateNamespaceMetadata ¶
func (c *Client) ManagementUpdateNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementUpdateNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagementUpdateNamespaceMetadataWithBody ¶
func (*Client) ManagementUpdateUserMetadata ¶
func (c *Client) ManagementUpdateUserMetadata(ctx context.Context, metadataKey string, body ManagementUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagementUpdateUserMetadataWithBody ¶
func (*Client) ObservabilityGetInfo ¶
func (*Client) ObservabilityQueryTimeSeriesMetrics ¶
func (c *Client) ObservabilityQueryTimeSeriesMetrics(ctx context.Context, body ObservabilityQueryTimeSeriesMetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ObservabilityQueryTimeSeriesMetricsWithBody ¶
func (*Client) ObservabilityQuotaLimits ¶
func (c *Client) ObservabilityQuotaLimits(ctx context.Context, body ObservabilityQuotaLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ObservabilityQuotaLimitsWithBody ¶
func (*Client) ObservabilityQuotaUsage ¶
func (c *Client) ObservabilityQuotaUsage(ctx context.Context, body ObservabilityQuotaUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ObservabilityQuotaUsageWithBody ¶
func (*Client) RealtimeGetRTChannel ¶
func (*Client) RealtimeGetRTChannels ¶
func (*Client) RealtimeListSubscriptions ¶
func (c *Client) RealtimeListSubscriptions(ctx context.Context, project string, channel string, params *RealtimeListSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RealtimeMessages ¶
func (c *Client) RealtimeMessages(ctx context.Context, project string, channel string, body RealtimeMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RealtimeMessagesWithBody ¶
func (*Client) RealtimePresence ¶
func (*Client) RealtimeReadMessages ¶
func (c *Client) RealtimeReadMessages(ctx context.Context, project string, channel string, params *RealtimeReadMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchCreate ¶
func (c *Client) SearchCreate(ctx context.Context, project string, index string, body SearchCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchCreateById ¶
func (*Client) SearchCreateByIdWithBody ¶
func (*Client) SearchCreateOrReplace ¶
func (c *Client) SearchCreateOrReplace(ctx context.Context, project string, index string, body SearchCreateOrReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchCreateOrReplaceWithBody ¶
func (*Client) SearchCreateOrUpdateIndex ¶
func (c *Client) SearchCreateOrUpdateIndex(ctx context.Context, project string, name string, body SearchCreateOrUpdateIndexJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchCreateOrUpdateIndexWithBody ¶
func (*Client) SearchCreateWithBody ¶
func (*Client) SearchDelete ¶
func (c *Client) SearchDelete(ctx context.Context, project string, index string, body SearchDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchDeleteByQuery ¶
func (c *Client) SearchDeleteByQuery(ctx context.Context, project string, index string, body SearchDeleteByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchDeleteByQueryWithBody ¶
func (*Client) SearchDeleteIndex ¶
func (c *Client) SearchDeleteIndex(ctx context.Context, project string, name string, body SearchDeleteIndexJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchDeleteIndexWithBody ¶
func (*Client) SearchDeleteWithBody ¶
func (*Client) SearchGet ¶
func (c *Client) SearchGet(ctx context.Context, project string, index string, params *SearchGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchGetIndex ¶
func (*Client) SearchListIndexes ¶
func (c *Client) SearchListIndexes(ctx context.Context, project string, params *SearchListIndexesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchSearch ¶
func (c *Client) SearchSearch(ctx context.Context, project string, index string, body SearchSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchSearchWithBody ¶
func (*Client) SearchUpdate ¶
func (c *Client) SearchUpdate(ctx context.Context, project string, index string, body SearchUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchUpdateWithBody ¶
func (*Client) TigrisBeginTransaction ¶
func (c *Client) TigrisBeginTransaction(ctx context.Context, project string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisBeginTransactionWithBody ¶
func (*Client) TigrisCommitTransaction ¶
func (c *Client) TigrisCommitTransaction(ctx context.Context, project string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisCommitTransactionWithBody ¶
func (*Client) TigrisCreateAppKey ¶
func (c *Client) TigrisCreateAppKey(ctx context.Context, project string, body TigrisCreateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisCreateAppKeyWithBody ¶
func (*Client) TigrisCreateBranch ¶
func (c *Client) TigrisCreateBranch(ctx context.Context, project string, branch string, body TigrisCreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisCreateBranchWithBody ¶
func (*Client) TigrisCreateOrUpdateCollection ¶
func (c *Client) TigrisCreateOrUpdateCollection(ctx context.Context, project string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisCreateOrUpdateCollectionWithBody ¶
func (*Client) TigrisCreateProject ¶
func (c *Client) TigrisCreateProject(ctx context.Context, project string, body TigrisCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisCreateProjectWithBody ¶
func (*Client) TigrisDelete ¶
func (c *Client) TigrisDelete(ctx context.Context, project string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDeleteAppKey ¶
func (c *Client) TigrisDeleteAppKey(ctx context.Context, project string, body TigrisDeleteAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDeleteAppKeyWithBody ¶
func (*Client) TigrisDeleteBranch ¶
func (c *Client) TigrisDeleteBranch(ctx context.Context, project string, branch string, body TigrisDeleteBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDeleteBranchWithBody ¶
func (*Client) TigrisDeleteProject ¶
func (c *Client) TigrisDeleteProject(ctx context.Context, project string, body TigrisDeleteProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDeleteProjectWithBody ¶
func (*Client) TigrisDeleteWithBody ¶
func (*Client) TigrisDescribeCollection ¶
func (c *Client) TigrisDescribeCollection(ctx context.Context, project string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDescribeCollectionWithBody ¶
func (*Client) TigrisDescribeDatabase ¶
func (c *Client) TigrisDescribeDatabase(ctx context.Context, project string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDescribeDatabaseWithBody ¶
func (*Client) TigrisDropCollection ¶
func (c *Client) TigrisDropCollection(ctx context.Context, project string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisDropCollectionWithBody ¶
func (*Client) TigrisImport ¶
func (c *Client) TigrisImport(ctx context.Context, project string, collection string, body TigrisImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisImportWithBody ¶
func (*Client) TigrisInsert ¶
func (c *Client) TigrisInsert(ctx context.Context, project string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisInsertWithBody ¶
func (*Client) TigrisListAppKeys ¶
func (*Client) TigrisListBranches ¶
func (*Client) TigrisListCollections ¶
func (c *Client) TigrisListCollections(ctx context.Context, project string, params *TigrisListCollectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisListProjects ¶
func (*Client) TigrisRead ¶
func (c *Client) TigrisRead(ctx context.Context, project string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisReadWithBody ¶
func (*Client) TigrisReplace ¶
func (c *Client) TigrisReplace(ctx context.Context, project string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisReplaceWithBody ¶
func (*Client) TigrisRollbackTransaction ¶
func (c *Client) TigrisRollbackTransaction(ctx context.Context, project string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisRollbackTransactionWithBody ¶
func (*Client) TigrisRotateAppKeySecret ¶
func (c *Client) TigrisRotateAppKeySecret(ctx context.Context, project string, body TigrisRotateAppKeySecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisRotateAppKeySecretWithBody ¶
func (*Client) TigrisSearch ¶
func (c *Client) TigrisSearch(ctx context.Context, project string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisSearchWithBody ¶
func (*Client) TigrisUpdate ¶
func (c *Client) TigrisUpdate(ctx context.Context, project string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisUpdateAppKey ¶
func (c *Client) TigrisUpdateAppKey(ctx context.Context, project string, body TigrisUpdateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TigrisUpdateAppKeyWithBody ¶
type ClientInterface ¶
type ClientInterface interface { // AuthGetAccessToken request with any body AuthGetAccessTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // HealthAPIHealth request HealthAPIHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ManagementGetNamespaceMetadata request with any body ManagementGetNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ManagementGetNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementGetNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ManagementInsertNamespaceMetadata request with any body ManagementInsertNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ManagementInsertNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementInsertNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ManagementUpdateNamespaceMetadata request with any body ManagementUpdateNamespaceMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ManagementUpdateNamespaceMetadata(ctx context.Context, metadataKey string, body ManagementUpdateNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ManagementCreateNamespace request with any body ManagementCreateNamespaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ManagementCreateNamespace(ctx context.Context, body ManagementCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ManagementDescribeNamespaces request ManagementDescribeNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ManagementListNamespaces request ManagementListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ManagementGetUserMetadata request with any body ManagementGetUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ManagementGetUserMetadata(ctx context.Context, metadataKey string, body ManagementGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ManagementInsertUserMetadata request with any body ManagementInsertUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ManagementInsertUserMetadata(ctx context.Context, metadataKey string, body ManagementInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ManagementUpdateUserMetadata request with any body ManagementUpdateUserMetadataWithBody(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ManagementUpdateUserMetadata(ctx context.Context, metadataKey string, body ManagementUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ObservabilityGetInfo request ObservabilityGetInfo(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) // ObservabilityQuotaLimits request with any body ObservabilityQuotaLimitsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ObservabilityQuotaLimits(ctx context.Context, body ObservabilityQuotaLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ObservabilityQuotaUsage request with any body ObservabilityQuotaUsageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ObservabilityQuotaUsage(ctx context.Context, body ObservabilityQuotaUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisListProjects request TigrisListProjects(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisListAppKeys request TigrisListAppKeys(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisCreateAppKey request with any body TigrisCreateAppKeyWithBody(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisCreateAppKey(ctx context.Context, project string, body TigrisCreateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDeleteAppKey request with any body TigrisDeleteAppKeyWithBody(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDeleteAppKey(ctx context.Context, project string, body TigrisDeleteAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisRotateAppKeySecret request with any body TigrisRotateAppKeySecretWithBody(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisRotateAppKeySecret(ctx context.Context, project string, body TigrisRotateAppKeySecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisUpdateAppKey request with any body TigrisUpdateAppKeyWithBody(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisUpdateAppKey(ctx context.Context, project string, body TigrisUpdateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CacheListCaches request CacheListCaches(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*http.Response, error) // CacheCreateCache request with any body CacheCreateCacheWithBody(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CacheCreateCache(ctx context.Context, project string, name string, body CacheCreateCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CacheDeleteCache request with any body CacheDeleteCacheWithBody(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CacheDeleteCache(ctx context.Context, project string, name string, body CacheDeleteCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CacheKeys request CacheKeys(ctx context.Context, project string, name string, params *CacheKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CacheDel request with any body CacheDelWithBody(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CacheDel(ctx context.Context, project string, name string, key string, body CacheDelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CacheGet request CacheGet(ctx context.Context, project string, name string, key string, reqEditors ...RequestEditorFn) (*http.Response, error) // CacheGetSet request with any body CacheGetSetWithBody(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CacheGetSet(ctx context.Context, project string, name string, key string, body CacheGetSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CacheSet request with any body CacheSetWithBody(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CacheSet(ctx context.Context, project string, name string, key string, body CacheSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisCreateProject request with any body TigrisCreateProjectWithBody(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisCreateProject(ctx context.Context, project string, body TigrisCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisListBranches request TigrisListBranches(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisCreateBranch request with any body TigrisCreateBranchWithBody(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisCreateBranch(ctx context.Context, project string, branch string, body TigrisCreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDeleteBranch request with any body TigrisDeleteBranchWithBody(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDeleteBranch(ctx context.Context, project string, branch string, body TigrisDeleteBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisListCollections request TigrisListCollections(ctx context.Context, project string, params *TigrisListCollectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisCreateOrUpdateCollection request with any body TigrisCreateOrUpdateCollectionWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisCreateOrUpdateCollection(ctx context.Context, project string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDescribeCollection request with any body TigrisDescribeCollectionWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDescribeCollection(ctx context.Context, project string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDelete request with any body TigrisDeleteWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDelete(ctx context.Context, project string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisImport request with any body TigrisImportWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisImport(ctx context.Context, project string, collection string, body TigrisImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisInsert request with any body TigrisInsertWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisInsert(ctx context.Context, project string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisRead request with any body TigrisReadWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisRead(ctx context.Context, project string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisReplace request with any body TigrisReplaceWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisReplace(ctx context.Context, project string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisSearch request with any body TigrisSearchWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisSearch(ctx context.Context, project string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisUpdate request with any body TigrisUpdateWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisUpdate(ctx context.Context, project string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDropCollection request with any body TigrisDropCollectionWithBody(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDropCollection(ctx context.Context, project string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDescribeDatabase request with any body TigrisDescribeDatabaseWithBody(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDescribeDatabase(ctx context.Context, project string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisBeginTransaction request with any body TigrisBeginTransactionWithBody(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisBeginTransaction(ctx context.Context, project string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisCommitTransaction request with any body TigrisCommitTransactionWithBody(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisCommitTransaction(ctx context.Context, project string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisRollbackTransaction request with any body TigrisRollbackTransactionWithBody(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisRollbackTransaction(ctx context.Context, project string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TigrisDeleteProject request with any body TigrisDeleteProjectWithBody(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TigrisDeleteProject(ctx context.Context, project string, body TigrisDeleteProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RealtimeGetRTChannels request RealtimeGetRTChannels(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*http.Response, error) // RealtimeGetRTChannel request RealtimeGetRTChannel(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*http.Response, error) // RealtimeReadMessages request RealtimeReadMessages(ctx context.Context, project string, channel string, params *RealtimeReadMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // RealtimeMessages request with any body RealtimeMessagesWithBody(ctx context.Context, project string, channel string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RealtimeMessages(ctx context.Context, project string, channel string, body RealtimeMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RealtimePresence request RealtimePresence(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*http.Response, error) // RealtimeListSubscriptions request RealtimeListSubscriptions(ctx context.Context, project string, channel string, params *RealtimeListSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchListIndexes request SearchListIndexes(ctx context.Context, project string, params *SearchListIndexesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchDelete request with any body SearchDeleteWithBody(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchDelete(ctx context.Context, project string, index string, body SearchDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchGet request SearchGet(ctx context.Context, project string, index string, params *SearchGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchUpdate request with any body SearchUpdateWithBody(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchUpdate(ctx context.Context, project string, index string, body SearchUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchCreate request with any body SearchCreateWithBody(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchCreate(ctx context.Context, project string, index string, body SearchCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchCreateOrReplace request with any body SearchCreateOrReplaceWithBody(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchCreateOrReplace(ctx context.Context, project string, index string, body SearchCreateOrReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchDeleteByQuery request with any body SearchDeleteByQueryWithBody(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchDeleteByQuery(ctx context.Context, project string, index string, body SearchDeleteByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchSearch request with any body SearchSearchWithBody(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchSearch(ctx context.Context, project string, index string, body SearchSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchCreateById request with any body SearchCreateByIdWithBody(ctx context.Context, project string, index string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchCreateById(ctx context.Context, project string, index string, id string, body SearchCreateByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchDeleteIndex request with any body SearchDeleteIndexWithBody(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchDeleteIndex(ctx context.Context, project string, name string, body SearchDeleteIndexJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchGetIndex request SearchGetIndex(ctx context.Context, project string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchCreateOrUpdateIndex request with any body SearchCreateOrUpdateIndexWithBody(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) SearchCreateOrUpdateIndex(ctx context.Context, project string, name string, body SearchCreateOrUpdateIndexJSONRequestBody, 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) 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) CacheCreateCacheWithBodyWithResponse ¶
func (c *ClientWithResponses) CacheCreateCacheWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheCreateCacheResponse, error)
CacheCreateCacheWithBodyWithResponse request with arbitrary body returning *CacheCreateCacheResponse
func (*ClientWithResponses) CacheCreateCacheWithResponse ¶
func (c *ClientWithResponses) CacheCreateCacheWithResponse(ctx context.Context, project string, name string, body CacheCreateCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheCreateCacheResponse, error)
func (*ClientWithResponses) CacheDelWithBodyWithResponse ¶
func (c *ClientWithResponses) CacheDelWithBodyWithResponse(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheDelResponse, error)
CacheDelWithBodyWithResponse request with arbitrary body returning *CacheDelResponse
func (*ClientWithResponses) CacheDelWithResponse ¶
func (c *ClientWithResponses) CacheDelWithResponse(ctx context.Context, project string, name string, key string, body CacheDelJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheDelResponse, error)
func (*ClientWithResponses) CacheDeleteCacheWithBodyWithResponse ¶
func (c *ClientWithResponses) CacheDeleteCacheWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheDeleteCacheResponse, error)
CacheDeleteCacheWithBodyWithResponse request with arbitrary body returning *CacheDeleteCacheResponse
func (*ClientWithResponses) CacheDeleteCacheWithResponse ¶
func (c *ClientWithResponses) CacheDeleteCacheWithResponse(ctx context.Context, project string, name string, body CacheDeleteCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheDeleteCacheResponse, error)
func (*ClientWithResponses) CacheGetSetWithBodyWithResponse ¶
func (c *ClientWithResponses) CacheGetSetWithBodyWithResponse(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheGetSetResponse, error)
CacheGetSetWithBodyWithResponse request with arbitrary body returning *CacheGetSetResponse
func (*ClientWithResponses) CacheGetSetWithResponse ¶
func (c *ClientWithResponses) CacheGetSetWithResponse(ctx context.Context, project string, name string, key string, body CacheGetSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheGetSetResponse, error)
func (*ClientWithResponses) CacheGetWithResponse ¶
func (c *ClientWithResponses) CacheGetWithResponse(ctx context.Context, project string, name string, key string, reqEditors ...RequestEditorFn) (*CacheGetResponse, error)
CacheGetWithResponse request returning *CacheGetResponse
func (*ClientWithResponses) CacheKeysWithResponse ¶
func (c *ClientWithResponses) CacheKeysWithResponse(ctx context.Context, project string, name string, params *CacheKeysParams, reqEditors ...RequestEditorFn) (*CacheKeysResponse, error)
CacheKeysWithResponse request returning *CacheKeysResponse
func (*ClientWithResponses) CacheListCachesWithResponse ¶
func (c *ClientWithResponses) CacheListCachesWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*CacheListCachesResponse, error)
CacheListCachesWithResponse request returning *CacheListCachesResponse
func (*ClientWithResponses) CacheSetWithBodyWithResponse ¶
func (c *ClientWithResponses) CacheSetWithBodyWithResponse(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheSetResponse, error)
CacheSetWithBodyWithResponse request with arbitrary body returning *CacheSetResponse
func (*ClientWithResponses) CacheSetWithResponse ¶
func (c *ClientWithResponses) CacheSetWithResponse(ctx context.Context, project string, name string, key string, body CacheSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheSetResponse, error)
func (*ClientWithResponses) HealthAPIHealthWithResponse ¶
func (c *ClientWithResponses) HealthAPIHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthAPIHealthResponse, error)
HealthAPIHealthWithResponse request returning *HealthAPIHealthResponse
func (*ClientWithResponses) ManagementCreateNamespaceWithBodyWithResponse ¶
func (c *ClientWithResponses) ManagementCreateNamespaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementCreateNamespaceResponse, error)
ManagementCreateNamespaceWithBodyWithResponse request with arbitrary body returning *ManagementCreateNamespaceResponse
func (*ClientWithResponses) ManagementCreateNamespaceWithResponse ¶
func (c *ClientWithResponses) ManagementCreateNamespaceWithResponse(ctx context.Context, body ManagementCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementCreateNamespaceResponse, error)
func (*ClientWithResponses) ManagementDescribeNamespacesWithResponse ¶
func (c *ClientWithResponses) ManagementDescribeNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementDescribeNamespacesResponse, error)
ManagementDescribeNamespacesWithResponse request returning *ManagementDescribeNamespacesResponse
func (*ClientWithResponses) ManagementGetNamespaceMetadataWithBodyWithResponse ¶
func (c *ClientWithResponses) ManagementGetNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementGetNamespaceMetadataResponse, error)
ManagementGetNamespaceMetadataWithBodyWithResponse request with arbitrary body returning *ManagementGetNamespaceMetadataResponse
func (*ClientWithResponses) ManagementGetNamespaceMetadataWithResponse ¶
func (c *ClientWithResponses) ManagementGetNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementGetNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementGetNamespaceMetadataResponse, error)
func (*ClientWithResponses) ManagementGetUserMetadataWithBodyWithResponse ¶
func (c *ClientWithResponses) ManagementGetUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementGetUserMetadataResponse, error)
ManagementGetUserMetadataWithBodyWithResponse request with arbitrary body returning *ManagementGetUserMetadataResponse
func (*ClientWithResponses) ManagementGetUserMetadataWithResponse ¶
func (c *ClientWithResponses) ManagementGetUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementGetUserMetadataResponse, error)
func (*ClientWithResponses) ManagementInsertNamespaceMetadataWithBodyWithResponse ¶
func (c *ClientWithResponses) ManagementInsertNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementInsertNamespaceMetadataResponse, error)
ManagementInsertNamespaceMetadataWithBodyWithResponse request with arbitrary body returning *ManagementInsertNamespaceMetadataResponse
func (*ClientWithResponses) ManagementInsertNamespaceMetadataWithResponse ¶
func (c *ClientWithResponses) ManagementInsertNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementInsertNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementInsertNamespaceMetadataResponse, error)
func (*ClientWithResponses) ManagementInsertUserMetadataWithBodyWithResponse ¶
func (c *ClientWithResponses) ManagementInsertUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementInsertUserMetadataResponse, error)
ManagementInsertUserMetadataWithBodyWithResponse request with arbitrary body returning *ManagementInsertUserMetadataResponse
func (*ClientWithResponses) ManagementInsertUserMetadataWithResponse ¶
func (c *ClientWithResponses) ManagementInsertUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementInsertUserMetadataResponse, error)
func (*ClientWithResponses) ManagementListNamespacesWithResponse ¶
func (c *ClientWithResponses) ManagementListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementListNamespacesResponse, error)
ManagementListNamespacesWithResponse request returning *ManagementListNamespacesResponse
func (*ClientWithResponses) ManagementUpdateNamespaceMetadataWithBodyWithResponse ¶
func (c *ClientWithResponses) ManagementUpdateNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpdateNamespaceMetadataResponse, error)
ManagementUpdateNamespaceMetadataWithBodyWithResponse request with arbitrary body returning *ManagementUpdateNamespaceMetadataResponse
func (*ClientWithResponses) ManagementUpdateNamespaceMetadataWithResponse ¶
func (c *ClientWithResponses) ManagementUpdateNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementUpdateNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpdateNamespaceMetadataResponse, error)
func (*ClientWithResponses) ManagementUpdateUserMetadataWithBodyWithResponse ¶
func (c *ClientWithResponses) ManagementUpdateUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpdateUserMetadataResponse, error)
ManagementUpdateUserMetadataWithBodyWithResponse request with arbitrary body returning *ManagementUpdateUserMetadataResponse
func (*ClientWithResponses) ManagementUpdateUserMetadataWithResponse ¶
func (c *ClientWithResponses) ManagementUpdateUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpdateUserMetadataResponse, error)
func (*ClientWithResponses) ObservabilityGetInfoWithResponse ¶
func (c *ClientWithResponses) ObservabilityGetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ObservabilityGetInfoResponse, error)
ObservabilityGetInfoWithResponse request returning *ObservabilityGetInfoResponse
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) ObservabilityQuotaLimitsWithBodyWithResponse ¶
func (c *ClientWithResponses) ObservabilityQuotaLimitsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQuotaLimitsResponse, error)
ObservabilityQuotaLimitsWithBodyWithResponse request with arbitrary body returning *ObservabilityQuotaLimitsResponse
func (*ClientWithResponses) ObservabilityQuotaLimitsWithResponse ¶
func (c *ClientWithResponses) ObservabilityQuotaLimitsWithResponse(ctx context.Context, body ObservabilityQuotaLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQuotaLimitsResponse, error)
func (*ClientWithResponses) ObservabilityQuotaUsageWithBodyWithResponse ¶
func (c *ClientWithResponses) ObservabilityQuotaUsageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQuotaUsageResponse, error)
ObservabilityQuotaUsageWithBodyWithResponse request with arbitrary body returning *ObservabilityQuotaUsageResponse
func (*ClientWithResponses) ObservabilityQuotaUsageWithResponse ¶
func (c *ClientWithResponses) ObservabilityQuotaUsageWithResponse(ctx context.Context, body ObservabilityQuotaUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQuotaUsageResponse, error)
func (*ClientWithResponses) RealtimeGetRTChannelWithResponse ¶
func (c *ClientWithResponses) RealtimeGetRTChannelWithResponse(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*RealtimeGetRTChannelResponse, error)
RealtimeGetRTChannelWithResponse request returning *RealtimeGetRTChannelResponse
func (*ClientWithResponses) RealtimeGetRTChannelsWithResponse ¶
func (c *ClientWithResponses) RealtimeGetRTChannelsWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*RealtimeGetRTChannelsResponse, error)
RealtimeGetRTChannelsWithResponse request returning *RealtimeGetRTChannelsResponse
func (*ClientWithResponses) RealtimeListSubscriptionsWithResponse ¶
func (c *ClientWithResponses) RealtimeListSubscriptionsWithResponse(ctx context.Context, project string, channel string, params *RealtimeListSubscriptionsParams, reqEditors ...RequestEditorFn) (*RealtimeListSubscriptionsResponse, error)
RealtimeListSubscriptionsWithResponse request returning *RealtimeListSubscriptionsResponse
func (*ClientWithResponses) RealtimeMessagesWithBodyWithResponse ¶
func (c *ClientWithResponses) RealtimeMessagesWithBodyWithResponse(ctx context.Context, project string, channel string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RealtimeMessagesResponse, error)
RealtimeMessagesWithBodyWithResponse request with arbitrary body returning *RealtimeMessagesResponse
func (*ClientWithResponses) RealtimeMessagesWithResponse ¶
func (c *ClientWithResponses) RealtimeMessagesWithResponse(ctx context.Context, project string, channel string, body RealtimeMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*RealtimeMessagesResponse, error)
func (*ClientWithResponses) RealtimePresenceWithResponse ¶
func (c *ClientWithResponses) RealtimePresenceWithResponse(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*RealtimePresenceResponse, error)
RealtimePresenceWithResponse request returning *RealtimePresenceResponse
func (*ClientWithResponses) RealtimeReadMessagesWithResponse ¶
func (c *ClientWithResponses) RealtimeReadMessagesWithResponse(ctx context.Context, project string, channel string, params *RealtimeReadMessagesParams, reqEditors ...RequestEditorFn) (*RealtimeReadMessagesResponse, error)
RealtimeReadMessagesWithResponse request returning *RealtimeReadMessagesResponse
func (*ClientWithResponses) SearchCreateByIdWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchCreateByIdWithBodyWithResponse(ctx context.Context, project string, index string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchCreateByIdResponse, error)
SearchCreateByIdWithBodyWithResponse request with arbitrary body returning *SearchCreateByIdResponse
func (*ClientWithResponses) SearchCreateByIdWithResponse ¶
func (c *ClientWithResponses) SearchCreateByIdWithResponse(ctx context.Context, project string, index string, id string, body SearchCreateByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchCreateByIdResponse, error)
func (*ClientWithResponses) SearchCreateOrReplaceWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchCreateOrReplaceWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchCreateOrReplaceResponse, error)
SearchCreateOrReplaceWithBodyWithResponse request with arbitrary body returning *SearchCreateOrReplaceResponse
func (*ClientWithResponses) SearchCreateOrReplaceWithResponse ¶
func (c *ClientWithResponses) SearchCreateOrReplaceWithResponse(ctx context.Context, project string, index string, body SearchCreateOrReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchCreateOrReplaceResponse, error)
func (*ClientWithResponses) SearchCreateOrUpdateIndexWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchCreateOrUpdateIndexWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchCreateOrUpdateIndexResponse, error)
SearchCreateOrUpdateIndexWithBodyWithResponse request with arbitrary body returning *SearchCreateOrUpdateIndexResponse
func (*ClientWithResponses) SearchCreateOrUpdateIndexWithResponse ¶
func (c *ClientWithResponses) SearchCreateOrUpdateIndexWithResponse(ctx context.Context, project string, name string, body SearchCreateOrUpdateIndexJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchCreateOrUpdateIndexResponse, error)
func (*ClientWithResponses) SearchCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchCreateWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchCreateResponse, error)
SearchCreateWithBodyWithResponse request with arbitrary body returning *SearchCreateResponse
func (*ClientWithResponses) SearchCreateWithResponse ¶
func (c *ClientWithResponses) SearchCreateWithResponse(ctx context.Context, project string, index string, body SearchCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchCreateResponse, error)
func (*ClientWithResponses) SearchDeleteByQueryWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchDeleteByQueryWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchDeleteByQueryResponse, error)
SearchDeleteByQueryWithBodyWithResponse request with arbitrary body returning *SearchDeleteByQueryResponse
func (*ClientWithResponses) SearchDeleteByQueryWithResponse ¶
func (c *ClientWithResponses) SearchDeleteByQueryWithResponse(ctx context.Context, project string, index string, body SearchDeleteByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchDeleteByQueryResponse, error)
func (*ClientWithResponses) SearchDeleteIndexWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchDeleteIndexWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchDeleteIndexResponse, error)
SearchDeleteIndexWithBodyWithResponse request with arbitrary body returning *SearchDeleteIndexResponse
func (*ClientWithResponses) SearchDeleteIndexWithResponse ¶
func (c *ClientWithResponses) SearchDeleteIndexWithResponse(ctx context.Context, project string, name string, body SearchDeleteIndexJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchDeleteIndexResponse, error)
func (*ClientWithResponses) SearchDeleteWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchDeleteWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchDeleteResponse, error)
SearchDeleteWithBodyWithResponse request with arbitrary body returning *SearchDeleteResponse
func (*ClientWithResponses) SearchDeleteWithResponse ¶
func (c *ClientWithResponses) SearchDeleteWithResponse(ctx context.Context, project string, index string, body SearchDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchDeleteResponse, error)
func (*ClientWithResponses) SearchGetIndexWithResponse ¶
func (c *ClientWithResponses) SearchGetIndexWithResponse(ctx context.Context, project string, name string, reqEditors ...RequestEditorFn) (*SearchGetIndexResponse, error)
SearchGetIndexWithResponse request returning *SearchGetIndexResponse
func (*ClientWithResponses) SearchGetWithResponse ¶
func (c *ClientWithResponses) SearchGetWithResponse(ctx context.Context, project string, index string, params *SearchGetParams, reqEditors ...RequestEditorFn) (*SearchGetResponse, error)
SearchGetWithResponse request returning *SearchGetResponse
func (*ClientWithResponses) SearchListIndexesWithResponse ¶
func (c *ClientWithResponses) SearchListIndexesWithResponse(ctx context.Context, project string, params *SearchListIndexesParams, reqEditors ...RequestEditorFn) (*SearchListIndexesResponse, error)
SearchListIndexesWithResponse request returning *SearchListIndexesResponse
func (*ClientWithResponses) SearchSearchWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchSearchWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchSearchResponse, error)
SearchSearchWithBodyWithResponse request with arbitrary body returning *SearchSearchResponse
func (*ClientWithResponses) SearchSearchWithResponse ¶
func (c *ClientWithResponses) SearchSearchWithResponse(ctx context.Context, project string, index string, body SearchSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchSearchResponse, error)
func (*ClientWithResponses) SearchUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) SearchUpdateWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchUpdateResponse, error)
SearchUpdateWithBodyWithResponse request with arbitrary body returning *SearchUpdateResponse
func (*ClientWithResponses) SearchUpdateWithResponse ¶
func (c *ClientWithResponses) SearchUpdateWithResponse(ctx context.Context, project string, index string, body SearchUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchUpdateResponse, error)
func (*ClientWithResponses) TigrisBeginTransactionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisBeginTransactionWithBodyWithResponse(ctx context.Context, project 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, project string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error)
func (*ClientWithResponses) TigrisCommitTransactionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisCommitTransactionWithBodyWithResponse(ctx context.Context, project 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, project string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error)
func (*ClientWithResponses) TigrisCreateAppKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisCreateAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateAppKeyResponse, error)
TigrisCreateAppKeyWithBodyWithResponse request with arbitrary body returning *TigrisCreateAppKeyResponse
func (*ClientWithResponses) TigrisCreateAppKeyWithResponse ¶
func (c *ClientWithResponses) TigrisCreateAppKeyWithResponse(ctx context.Context, project string, body TigrisCreateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateAppKeyResponse, error)
func (*ClientWithResponses) TigrisCreateBranchWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisCreateBranchWithBodyWithResponse(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateBranchResponse, error)
TigrisCreateBranchWithBodyWithResponse request with arbitrary body returning *TigrisCreateBranchResponse
func (*ClientWithResponses) TigrisCreateBranchWithResponse ¶
func (c *ClientWithResponses) TigrisCreateBranchWithResponse(ctx context.Context, project string, branch string, body TigrisCreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateBranchResponse, error)
func (*ClientWithResponses) TigrisCreateOrUpdateCollectionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisCreateOrUpdateCollectionWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error)
func (*ClientWithResponses) TigrisCreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisCreateProjectWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateProjectResponse, error)
TigrisCreateProjectWithBodyWithResponse request with arbitrary body returning *TigrisCreateProjectResponse
func (*ClientWithResponses) TigrisCreateProjectWithResponse ¶
func (c *ClientWithResponses) TigrisCreateProjectWithResponse(ctx context.Context, project string, body TigrisCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateProjectResponse, error)
func (*ClientWithResponses) TigrisDeleteAppKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDeleteAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteAppKeyResponse, error)
TigrisDeleteAppKeyWithBodyWithResponse request with arbitrary body returning *TigrisDeleteAppKeyResponse
func (*ClientWithResponses) TigrisDeleteAppKeyWithResponse ¶
func (c *ClientWithResponses) TigrisDeleteAppKeyWithResponse(ctx context.Context, project string, body TigrisDeleteAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteAppKeyResponse, error)
func (*ClientWithResponses) TigrisDeleteBranchWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDeleteBranchWithBodyWithResponse(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteBranchResponse, error)
TigrisDeleteBranchWithBodyWithResponse request with arbitrary body returning *TigrisDeleteBranchResponse
func (*ClientWithResponses) TigrisDeleteBranchWithResponse ¶
func (c *ClientWithResponses) TigrisDeleteBranchWithResponse(ctx context.Context, project string, branch string, body TigrisDeleteBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteBranchResponse, error)
func (*ClientWithResponses) TigrisDeleteProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDeleteProjectWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteProjectResponse, error)
TigrisDeleteProjectWithBodyWithResponse request with arbitrary body returning *TigrisDeleteProjectResponse
func (*ClientWithResponses) TigrisDeleteProjectWithResponse ¶
func (c *ClientWithResponses) TigrisDeleteProjectWithResponse(ctx context.Context, project string, body TigrisDeleteProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteProjectResponse, error)
func (*ClientWithResponses) TigrisDeleteWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDeleteWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error)
func (*ClientWithResponses) TigrisDescribeCollectionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDescribeCollectionWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error)
func (*ClientWithResponses) TigrisDescribeDatabaseWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDescribeDatabaseWithBodyWithResponse(ctx context.Context, project 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, project string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error)
func (*ClientWithResponses) TigrisDropCollectionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisDropCollectionWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error)
func (*ClientWithResponses) TigrisImportWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisImportWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisImportResponse, error)
TigrisImportWithBodyWithResponse request with arbitrary body returning *TigrisImportResponse
func (*ClientWithResponses) TigrisImportWithResponse ¶
func (c *ClientWithResponses) TigrisImportWithResponse(ctx context.Context, project string, collection string, body TigrisImportJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisImportResponse, error)
func (*ClientWithResponses) TigrisInsertWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisInsertWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error)
func (*ClientWithResponses) TigrisListAppKeysWithResponse ¶
func (c *ClientWithResponses) TigrisListAppKeysWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*TigrisListAppKeysResponse, error)
TigrisListAppKeysWithResponse request returning *TigrisListAppKeysResponse
func (*ClientWithResponses) TigrisListBranchesWithResponse ¶
func (c *ClientWithResponses) TigrisListBranchesWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*TigrisListBranchesResponse, error)
TigrisListBranchesWithResponse request returning *TigrisListBranchesResponse
func (*ClientWithResponses) TigrisListCollectionsWithResponse ¶
func (c *ClientWithResponses) TigrisListCollectionsWithResponse(ctx context.Context, project string, params *TigrisListCollectionsParams, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error)
TigrisListCollectionsWithResponse request returning *TigrisListCollectionsResponse
func (*ClientWithResponses) TigrisListProjectsWithResponse ¶
func (c *ClientWithResponses) TigrisListProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisListProjectsResponse, error)
TigrisListProjectsWithResponse request returning *TigrisListProjectsResponse
func (*ClientWithResponses) TigrisReadWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisReadWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error)
func (*ClientWithResponses) TigrisReplaceWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisReplaceWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error)
func (*ClientWithResponses) TigrisRollbackTransactionWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisRollbackTransactionWithBodyWithResponse(ctx context.Context, project 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, project string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error)
func (*ClientWithResponses) TigrisRotateAppKeySecretWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisRotateAppKeySecretWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisRotateAppKeySecretResponse, error)
TigrisRotateAppKeySecretWithBodyWithResponse request with arbitrary body returning *TigrisRotateAppKeySecretResponse
func (*ClientWithResponses) TigrisRotateAppKeySecretWithResponse ¶
func (c *ClientWithResponses) TigrisRotateAppKeySecretWithResponse(ctx context.Context, project string, body TigrisRotateAppKeySecretJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRotateAppKeySecretResponse, error)
func (*ClientWithResponses) TigrisSearchWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisSearchWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error)
func (*ClientWithResponses) TigrisUpdateAppKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisUpdateAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisUpdateAppKeyResponse, error)
TigrisUpdateAppKeyWithBodyWithResponse request with arbitrary body returning *TigrisUpdateAppKeyResponse
func (*ClientWithResponses) TigrisUpdateAppKeyWithResponse ¶
func (c *ClientWithResponses) TigrisUpdateAppKeyWithResponse(ctx context.Context, project string, body TigrisUpdateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisUpdateAppKeyResponse, error)
func (*ClientWithResponses) TigrisUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) TigrisUpdateWithBodyWithResponse(ctx context.Context, project 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, project string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // AuthGetAccessToken request with any body AuthGetAccessTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthGetAccessTokenResponse, error) // HealthAPIHealth request HealthAPIHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthAPIHealthResponse, error) // ManagementGetNamespaceMetadata request with any body ManagementGetNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementGetNamespaceMetadataResponse, error) ManagementGetNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementGetNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementGetNamespaceMetadataResponse, error) // ManagementInsertNamespaceMetadata request with any body ManagementInsertNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementInsertNamespaceMetadataResponse, error) ManagementInsertNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementInsertNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementInsertNamespaceMetadataResponse, error) // ManagementUpdateNamespaceMetadata request with any body ManagementUpdateNamespaceMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpdateNamespaceMetadataResponse, error) ManagementUpdateNamespaceMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementUpdateNamespaceMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpdateNamespaceMetadataResponse, error) // ManagementCreateNamespace request with any body ManagementCreateNamespaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementCreateNamespaceResponse, error) ManagementCreateNamespaceWithResponse(ctx context.Context, body ManagementCreateNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementCreateNamespaceResponse, error) // ManagementDescribeNamespaces request ManagementDescribeNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementDescribeNamespacesResponse, error) // ManagementListNamespaces request ManagementListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementListNamespacesResponse, error) // ManagementGetUserMetadata request with any body ManagementGetUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementGetUserMetadataResponse, error) ManagementGetUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementGetUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementGetUserMetadataResponse, error) // ManagementInsertUserMetadata request with any body ManagementInsertUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementInsertUserMetadataResponse, error) ManagementInsertUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementInsertUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementInsertUserMetadataResponse, error) // ManagementUpdateUserMetadata request with any body ManagementUpdateUserMetadataWithBodyWithResponse(ctx context.Context, metadataKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpdateUserMetadataResponse, error) ManagementUpdateUserMetadataWithResponse(ctx context.Context, metadataKey string, body ManagementUpdateUserMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpdateUserMetadataResponse, error) // ObservabilityGetInfo request ObservabilityGetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ObservabilityGetInfoResponse, 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) // ObservabilityQuotaLimits request with any body ObservabilityQuotaLimitsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQuotaLimitsResponse, error) ObservabilityQuotaLimitsWithResponse(ctx context.Context, body ObservabilityQuotaLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQuotaLimitsResponse, error) // ObservabilityQuotaUsage request with any body ObservabilityQuotaUsageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObservabilityQuotaUsageResponse, error) ObservabilityQuotaUsageWithResponse(ctx context.Context, body ObservabilityQuotaUsageJSONRequestBody, reqEditors ...RequestEditorFn) (*ObservabilityQuotaUsageResponse, error) // TigrisListProjects request TigrisListProjectsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TigrisListProjectsResponse, error) // TigrisListAppKeys request TigrisListAppKeysWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*TigrisListAppKeysResponse, error) // TigrisCreateAppKey request with any body TigrisCreateAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateAppKeyResponse, error) TigrisCreateAppKeyWithResponse(ctx context.Context, project string, body TigrisCreateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateAppKeyResponse, error) // TigrisDeleteAppKey request with any body TigrisDeleteAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteAppKeyResponse, error) TigrisDeleteAppKeyWithResponse(ctx context.Context, project string, body TigrisDeleteAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteAppKeyResponse, error) // TigrisRotateAppKeySecret request with any body TigrisRotateAppKeySecretWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisRotateAppKeySecretResponse, error) TigrisRotateAppKeySecretWithResponse(ctx context.Context, project string, body TigrisRotateAppKeySecretJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRotateAppKeySecretResponse, error) // TigrisUpdateAppKey request with any body TigrisUpdateAppKeyWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisUpdateAppKeyResponse, error) TigrisUpdateAppKeyWithResponse(ctx context.Context, project string, body TigrisUpdateAppKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisUpdateAppKeyResponse, error) // CacheListCaches request CacheListCachesWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*CacheListCachesResponse, error) // CacheCreateCache request with any body CacheCreateCacheWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheCreateCacheResponse, error) CacheCreateCacheWithResponse(ctx context.Context, project string, name string, body CacheCreateCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheCreateCacheResponse, error) // CacheDeleteCache request with any body CacheDeleteCacheWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheDeleteCacheResponse, error) CacheDeleteCacheWithResponse(ctx context.Context, project string, name string, body CacheDeleteCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheDeleteCacheResponse, error) // CacheKeys request CacheKeysWithResponse(ctx context.Context, project string, name string, params *CacheKeysParams, reqEditors ...RequestEditorFn) (*CacheKeysResponse, error) // CacheDel request with any body CacheDelWithBodyWithResponse(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheDelResponse, error) CacheDelWithResponse(ctx context.Context, project string, name string, key string, body CacheDelJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheDelResponse, error) // CacheGet request CacheGetWithResponse(ctx context.Context, project string, name string, key string, reqEditors ...RequestEditorFn) (*CacheGetResponse, error) // CacheGetSet request with any body CacheGetSetWithBodyWithResponse(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheGetSetResponse, error) CacheGetSetWithResponse(ctx context.Context, project string, name string, key string, body CacheGetSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheGetSetResponse, error) // CacheSet request with any body CacheSetWithBodyWithResponse(ctx context.Context, project string, name string, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CacheSetResponse, error) CacheSetWithResponse(ctx context.Context, project string, name string, key string, body CacheSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CacheSetResponse, error) // TigrisCreateProject request with any body TigrisCreateProjectWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateProjectResponse, error) TigrisCreateProjectWithResponse(ctx context.Context, project string, body TigrisCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateProjectResponse, error) // TigrisListBranches request TigrisListBranchesWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*TigrisListBranchesResponse, error) // TigrisCreateBranch request with any body TigrisCreateBranchWithBodyWithResponse(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateBranchResponse, error) TigrisCreateBranchWithResponse(ctx context.Context, project string, branch string, body TigrisCreateBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateBranchResponse, error) // TigrisDeleteBranch request with any body TigrisDeleteBranchWithBodyWithResponse(ctx context.Context, project string, branch string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteBranchResponse, error) TigrisDeleteBranchWithResponse(ctx context.Context, project string, branch string, body TigrisDeleteBranchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteBranchResponse, error) // TigrisListCollections request TigrisListCollectionsWithResponse(ctx context.Context, project string, params *TigrisListCollectionsParams, reqEditors ...RequestEditorFn) (*TigrisListCollectionsResponse, error) // TigrisCreateOrUpdateCollection request with any body TigrisCreateOrUpdateCollectionWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error) TigrisCreateOrUpdateCollectionWithResponse(ctx context.Context, project string, collection string, body TigrisCreateOrUpdateCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCreateOrUpdateCollectionResponse, error) // TigrisDescribeCollection request with any body TigrisDescribeCollectionWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error) TigrisDescribeCollectionWithResponse(ctx context.Context, project string, collection string, body TigrisDescribeCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeCollectionResponse, error) // TigrisDelete request with any body TigrisDeleteWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error) TigrisDeleteWithResponse(ctx context.Context, project string, collection string, body TigrisDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteResponse, error) // TigrisImport request with any body TigrisImportWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisImportResponse, error) TigrisImportWithResponse(ctx context.Context, project string, collection string, body TigrisImportJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisImportResponse, error) // TigrisInsert request with any body TigrisInsertWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error) TigrisInsertWithResponse(ctx context.Context, project string, collection string, body TigrisInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisInsertResponse, error) // TigrisRead request with any body TigrisReadWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error) TigrisReadWithResponse(ctx context.Context, project string, collection string, body TigrisReadJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReadResponse, error) // TigrisReplace request with any body TigrisReplaceWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error) TigrisReplaceWithResponse(ctx context.Context, project string, collection string, body TigrisReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisReplaceResponse, error) // TigrisSearch request with any body TigrisSearchWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error) TigrisSearchWithResponse(ctx context.Context, project string, collection string, body TigrisSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisSearchResponse, error) // TigrisUpdate request with any body TigrisUpdateWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error) TigrisUpdateWithResponse(ctx context.Context, project string, collection string, body TigrisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisUpdateResponse, error) // TigrisDropCollection request with any body TigrisDropCollectionWithBodyWithResponse(ctx context.Context, project string, collection string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error) TigrisDropCollectionWithResponse(ctx context.Context, project string, collection string, body TigrisDropCollectionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDropCollectionResponse, error) // TigrisDescribeDatabase request with any body TigrisDescribeDatabaseWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error) TigrisDescribeDatabaseWithResponse(ctx context.Context, project string, body TigrisDescribeDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDescribeDatabaseResponse, error) // TigrisBeginTransaction request with any body TigrisBeginTransactionWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error) TigrisBeginTransactionWithResponse(ctx context.Context, project string, body TigrisBeginTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisBeginTransactionResponse, error) // TigrisCommitTransaction request with any body TigrisCommitTransactionWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error) TigrisCommitTransactionWithResponse(ctx context.Context, project string, body TigrisCommitTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisCommitTransactionResponse, error) // TigrisRollbackTransaction request with any body TigrisRollbackTransactionWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error) TigrisRollbackTransactionWithResponse(ctx context.Context, project string, body TigrisRollbackTransactionJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisRollbackTransactionResponse, error) // TigrisDeleteProject request with any body TigrisDeleteProjectWithBodyWithResponse(ctx context.Context, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TigrisDeleteProjectResponse, error) TigrisDeleteProjectWithResponse(ctx context.Context, project string, body TigrisDeleteProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*TigrisDeleteProjectResponse, error) // RealtimeGetRTChannels request RealtimeGetRTChannelsWithResponse(ctx context.Context, project string, reqEditors ...RequestEditorFn) (*RealtimeGetRTChannelsResponse, error) // RealtimeGetRTChannel request RealtimeGetRTChannelWithResponse(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*RealtimeGetRTChannelResponse, error) // RealtimeReadMessages request RealtimeReadMessagesWithResponse(ctx context.Context, project string, channel string, params *RealtimeReadMessagesParams, reqEditors ...RequestEditorFn) (*RealtimeReadMessagesResponse, error) // RealtimeMessages request with any body RealtimeMessagesWithBodyWithResponse(ctx context.Context, project string, channel string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RealtimeMessagesResponse, error) RealtimeMessagesWithResponse(ctx context.Context, project string, channel string, body RealtimeMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*RealtimeMessagesResponse, error) // RealtimePresence request RealtimePresenceWithResponse(ctx context.Context, project string, channel string, reqEditors ...RequestEditorFn) (*RealtimePresenceResponse, error) // RealtimeListSubscriptions request RealtimeListSubscriptionsWithResponse(ctx context.Context, project string, channel string, params *RealtimeListSubscriptionsParams, reqEditors ...RequestEditorFn) (*RealtimeListSubscriptionsResponse, error) // SearchListIndexes request SearchListIndexesWithResponse(ctx context.Context, project string, params *SearchListIndexesParams, reqEditors ...RequestEditorFn) (*SearchListIndexesResponse, error) // SearchDelete request with any body SearchDeleteWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchDeleteResponse, error) SearchDeleteWithResponse(ctx context.Context, project string, index string, body SearchDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchDeleteResponse, error) // SearchGet request SearchGetWithResponse(ctx context.Context, project string, index string, params *SearchGetParams, reqEditors ...RequestEditorFn) (*SearchGetResponse, error) // SearchUpdate request with any body SearchUpdateWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchUpdateResponse, error) SearchUpdateWithResponse(ctx context.Context, project string, index string, body SearchUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchUpdateResponse, error) // SearchCreate request with any body SearchCreateWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchCreateResponse, error) SearchCreateWithResponse(ctx context.Context, project string, index string, body SearchCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchCreateResponse, error) // SearchCreateOrReplace request with any body SearchCreateOrReplaceWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchCreateOrReplaceResponse, error) SearchCreateOrReplaceWithResponse(ctx context.Context, project string, index string, body SearchCreateOrReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchCreateOrReplaceResponse, error) // SearchDeleteByQuery request with any body SearchDeleteByQueryWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchDeleteByQueryResponse, error) SearchDeleteByQueryWithResponse(ctx context.Context, project string, index string, body SearchDeleteByQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchDeleteByQueryResponse, error) // SearchSearch request with any body SearchSearchWithBodyWithResponse(ctx context.Context, project string, index string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchSearchResponse, error) SearchSearchWithResponse(ctx context.Context, project string, index string, body SearchSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchSearchResponse, error) // SearchCreateById request with any body SearchCreateByIdWithBodyWithResponse(ctx context.Context, project string, index string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchCreateByIdResponse, error) SearchCreateByIdWithResponse(ctx context.Context, project string, index string, id string, body SearchCreateByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchCreateByIdResponse, error) // SearchDeleteIndex request with any body SearchDeleteIndexWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchDeleteIndexResponse, error) SearchDeleteIndexWithResponse(ctx context.Context, project string, name string, body SearchDeleteIndexJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchDeleteIndexResponse, error) // SearchGetIndex request SearchGetIndexWithResponse(ctx context.Context, project string, name string, reqEditors ...RequestEditorFn) (*SearchGetIndexResponse, error) // SearchCreateOrUpdateIndex request with any body SearchCreateOrUpdateIndexWithBodyWithResponse(ctx context.Context, project string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchCreateOrUpdateIndexResponse, error) SearchCreateOrUpdateIndexWithResponse(ctx context.Context, project string, name string, body SearchCreateOrUpdateIndexJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchCreateOrUpdateIndexResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Collation ¶
type Collation struct {
Case *string `json:"case,omitempty"`
}
Collation 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 { // Collection Name of the collection. Collection *string `json:"collection,omitempty"` Metadata *CollectionMetadata `json:"metadata,omitempty"` // Schema Collections schema Schema json.RawMessage `json:"schema,omitempty"` // Size Collection size in bytes Size *int64 `json:"size,omitempty"` }
CollectionDescription defines model for CollectionDescription.
type CollectionInfo ¶
type CollectionInfo struct { // Collection 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{}
CollectionOptions Collection requests modifying options.
type CommitTransactionRequest ¶
type CommitTransactionRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` }
CommitTransactionRequest Commit transaction with the given ID
type CommitTransactionResponse ¶
type CommitTransactionResponse struct { // Status Status of commit transaction operation. Status *string `json:"status,omitempty"` }
CommitTransactionResponse defines model for CommitTransactionResponse.
type CreateAppKeyRequest ¶
type CreateAppKeyRequest struct { // Description A human readable app description Description *string `json:"description,omitempty"` // Name A human readable app name Name *string `json:"name,omitempty"` }
CreateAppKeyRequest Request creation of user app key
type CreateAppKeyResponse ¶
type CreateAppKeyResponse struct { // CreatedAppKey An user AppKey CreatedAppKey *AppKey `json:"created_app_key,omitempty"` }
CreateAppKeyResponse CreateAppKeyResponse returns created app keys
type CreateBranchRequest ¶
type CreateBranchRequest = map[string]interface{}
CreateBranchRequest defines model for CreateBranchRequest.
type CreateBranchResponse ¶
type CreateBranchResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "created". Status *string `json:"status,omitempty"` }
CreateBranchResponse defines model for CreateBranchResponse.
type CreateByIdRequest ¶
type CreateByIdRequest struct { // Document A JSON document that needs to be indexed. Document json.RawMessage `json:"document,omitempty"` // Id document id. Id *string `json:"id,omitempty"` // Index index name where to create document. Index *string `json:"index,omitempty"` // Project Tigris project name. Project *string `json:"project,omitempty"` }
CreateByIdRequest defines model for CreateByIdRequest.
type CreateByIdResponse ¶
type CreateByIdResponse struct { // Id Returns the id of the created document. Id *string `json:"id,omitempty"` }
CreateByIdResponse defines model for CreateByIdResponse.
type CreateCacheOptions ¶
type CreateCacheOptions struct {
TtlMs *uint64 `json:"ttl_ms,omitempty"`
}
CreateCacheOptions defines model for CreateCacheOptions.
type CreateCacheRequest ¶
type CreateCacheRequest struct {
Options *CreateCacheOptions `json:"options,omitempty"`
}
CreateCacheRequest defines model for CreateCacheRequest.
type CreateCacheResponse ¶
type CreateCacheResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "created" Status *string `json:"status,omitempty"` }
CreateCacheResponse defines model for CreateCacheResponse.
type CreateDocumentRequest ¶
type CreateDocumentRequest struct { // Documents An array of documents to be created or replaced. Each document is a JSON object. Documents *[]json.RawMessage `json:"documents,omitempty"` // Index index name where to create documents. Index *string `json:"index,omitempty"` // Project Tigris project name. Project *string `json:"project,omitempty"` }
CreateDocumentRequest defines model for CreateDocumentRequest.
type CreateDocumentResponse ¶
type CreateDocumentResponse struct { // Status An array of statuses of all the documents received in the request. Order is same as it is received in the request. Each item of this array has an “id” and “error” key. Id is set as document id and error will be null in case of success, otherwise error is set with an error code and message. Status *[]DocStatus `json:"status,omitempty"` }
CreateDocumentResponse defines model for CreateDocumentResponse.
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct { // Code Optional: unique id Code *uint32 `json:"code,omitempty"` // Id Optional: unique string id Id *string `json:"id,omitempty"` // Name Required: The display name for namespace. Name *string `json:"name,omitempty"` }
CreateNamespaceRequest defines model for CreateNamespaceRequest.
type CreateNamespaceResponse ¶
type CreateNamespaceResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` Namespace *NamespaceInfo `json:"namespace,omitempty"` // Status An enum with value set as "created". Status *string `json:"status,omitempty"` }
CreateNamespaceResponse defines model for CreateNamespaceResponse.
type CreateOrReplaceDocumentRequest ¶
type CreateOrReplaceDocumentRequest struct { // Documents An array of documents to create. Each document is a JSON object. In case an id is missing then the server will automatically generate it for you and create the document and in case an id is provided in the document and the document already exists then that document will not index and in the response there will be an error corresponding to that document id other documents will succeed. Documents *[]json.RawMessage `json:"documents,omitempty"` // Index index name where to create documents. Index *string `json:"index,omitempty"` // Project Project name whose db is under target to insert documents. Project *string `json:"project,omitempty"` }
CreateOrReplaceDocumentRequest defines model for CreateOrReplaceDocumentRequest.
type CreateOrReplaceDocumentResponse ¶
type CreateOrReplaceDocumentResponse struct { // Status An array of statuses of all the documents received in the request. Order is same as it is received in the request. Each item of this array has an “id” and “error” key. Id is set as document id and error will be null in case of success, otherwise error is set with an error code and message. Status *[]DocStatus `json:"status,omitempty"` }
CreateOrReplaceDocumentResponse defines model for CreateOrReplaceDocumentResponse.
type CreateOrUpdateCollectionRequest ¶
type CreateOrUpdateCollectionRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` // OnlyCreate 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"` // Options Collection requests modifying options. Options *CollectionOptions `json:"options,omitempty"` // Schema The schema specifications are same as JSON schema specification defined <a href="https://json-schema.org/specification.html" title="here">here</a>.<p></p> 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": 128 }, "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 { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "created" or "updated" Status *string `json:"status,omitempty"` }
CreateOrUpdateCollectionResponse defines model for CreateOrUpdateCollectionResponse.
type CreateOrUpdateIndexRequest ¶
type CreateOrUpdateIndexRequest struct { // Name search index name. Name *string `json:"name,omitempty"` // OnlyCreate If set to `true` then a conflict with HTTP Status code 409 is returned if an index already exists. The default is false. OnlyCreate *bool `json:"only_create,omitempty"` // Project Tigris project name. Project *string `json:"project,omitempty"` // Schema schema of the index. The schema specifications are same as JSON schema specification defined <a href="https://json-schema.org/specification.html" title="here">here</a>.<p></p> Schema example: `{ "title": "ecommerce_index", "description": "an ecommerce store search index", "properties": { "name": { "description": "Name of the product", "type": "string", "maxLength": 128 }, "brand": { "description": "Brand of the product", "type": "string" }, "price": { "description": "Price of the product", "type": "number" } } }` Schema json.RawMessage `json:"schema,omitempty"` }
CreateOrUpdateIndexRequest defines model for CreateOrUpdateIndexRequest.
type CreateOrUpdateIndexResponse ¶
type CreateOrUpdateIndexResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "created" Status *string `json:"status,omitempty"` }
CreateOrUpdateIndexResponse defines model for CreateOrUpdateIndexResponse.
type CreateProjectRequest ¶
type CreateProjectRequest = map[string]interface{}
CreateProjectRequest defines model for CreateProjectRequest.
type CreateProjectResponse ¶
type CreateProjectResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "created". Status *string `json:"status,omitempty"` }
CreateProjectResponse defines model for CreateProjectResponse.
type DataPoint ¶
type DataPoint struct { Timestamp *int64 `json:"timestamp,omitempty"` Value *float64 `json:"value,omitempty"` }
DataPoint Represents the data point in timeseries.
type DatabaseMetadata ¶
type DatabaseMetadata = map[string]interface{}
DatabaseMetadata defines model for DatabaseMetadata.
type DelResponse ¶
type DelResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "deleted" or "not_found" Status *string `json:"status,omitempty"` }
DelResponse defines model for DelResponse.
type DeleteAppKeyRequest ¶
type DeleteAppKeyRequest struct { // Id app_key id Id *string `json:"id,omitempty"` }
DeleteAppKeyRequest Request deletion of an app key
type DeleteAppKeyResponse ¶
type DeleteAppKeyResponse struct { // Deleted status flag for delete operation Deleted *bool `json:"deleted,omitempty"` }
DeleteAppKeyResponse AppKeys returns the flag to convey if app key was deleted
type DeleteBranchRequest ¶
type DeleteBranchRequest = map[string]interface{}
DeleteBranchRequest defines model for DeleteBranchRequest.
type DeleteBranchResponse ¶
type DeleteBranchResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "deleted". Status *string `json:"status,omitempty"` }
DeleteBranchResponse defines model for DeleteBranchResponse.
type DeleteByQueryRequest ¶
type DeleteByQueryRequest struct { // Filter A filter is required to delete matching documents. To delete document by id, you can pass the filter as follows “`{"id": "test"}“` Filter json.RawMessage `json:"filter,omitempty"` // Index The index name of the documents that needs deletion. Index *string `json:"index,omitempty"` // Project The project name. Project *string `json:"project,omitempty"` }
DeleteByQueryRequest defines model for DeleteByQueryRequest.
type DeleteByQueryResponse ¶
type DeleteByQueryResponse struct { // Count The number of documents deleted. Count *int32 `json:"count,omitempty"` }
DeleteByQueryResponse defines model for DeleteByQueryResponse.
type DeleteCacheRequest ¶
type DeleteCacheRequest = map[string]interface{}
DeleteCacheRequest defines model for DeleteCacheRequest.
type DeleteCacheResponse ¶
type DeleteCacheResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "deleted" Status *string `json:"status,omitempty"` }
DeleteCacheResponse defines model for DeleteCacheResponse.
type DeleteDocumentRequest ¶
type DeleteDocumentRequest struct { // Ids A list of ids Ids *[]string `json:"ids,omitempty"` // Index The index name of the documents that needs deletion. Index *string `json:"index,omitempty"` // Project The project name. Project *string `json:"project,omitempty"` }
DeleteDocumentRequest defines model for DeleteDocumentRequest.
type DeleteDocumentResponse ¶
type DeleteDocumentResponse struct { // Status An array of statuses of all the documents received in the request. Order is same as it is received in the request. Each item of this array has an “id” and “error” key. Id is set as document id and error will be null in case of success, otherwise error is set with an error code and message. Status *[]DocStatus `json:"status,omitempty"` }
DeleteDocumentResponse defines model for DeleteDocumentResponse.
type DeleteIndexRequest ¶
type DeleteIndexRequest struct { // Name index name. Name *string `json:"name,omitempty"` // Project Tigris project name. Project *string `json:"project,omitempty"` }
DeleteIndexRequest defines model for DeleteIndexRequest.
type DeleteIndexResponse ¶
type DeleteIndexResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "deleted". Status *string `json:"status,omitempty"` }
DeleteIndexResponse defines model for DeleteIndexResponse.
type DeleteProjectRequest ¶
type DeleteProjectRequest = map[string]interface{}
DeleteProjectRequest defines model for DeleteProjectRequest.
type DeleteProjectResponse ¶
type DeleteProjectResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "dropped". Status *string `json:"status,omitempty"` }
DeleteProjectResponse defines model for DeleteProjectResponse.
type DeleteRequest ¶
type DeleteRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` // Filter 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"` // Options Additional options for deleted requests. Options *DeleteRequestOptions `json:"options,omitempty"` }
DeleteRequest defines model for DeleteRequest.
type DeleteRequestOptions ¶
type DeleteRequestOptions struct { // Collation 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 Limit the number of documents to be deleted Limit *int64 `json:"limit,omitempty"` // WriteOptions Additional options to modify write requests. WriteOptions *WriteOptions `json:"write_options,omitempty"` }
DeleteRequestOptions Additional options for deleted requests.
type DeleteResponse ¶
type DeleteResponse struct { // Metadata Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // Status an enum with value set as "deleted" Status *string `json:"status,omitempty"` }
DeleteResponse defines model for DeleteResponse.
type DescribeCollectionRequest ¶
type DescribeCollectionRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` // Collection Name of the collection. Collection *string `json:"collection,omitempty"` // Options Collection requests modifying options. Options *CollectionOptions `json:"options,omitempty"` // Project Project name whose db is under target to get description of its collection. Project *string `json:"project,omitempty"` // SchemaFormat Return schema in the requested format. Format can be JSON, Go, TypeScript, Java. Default is JSON. SchemaFormat *string `json:"schema_format,omitempty"` }
DescribeCollectionRequest defines model for DescribeCollectionRequest.
type DescribeCollectionResponse ¶
type DescribeCollectionResponse struct { // Collection Name of the collection. Collection *string `json:"collection,omitempty"` Metadata *CollectionMetadata `json:"metadata,omitempty"` // Schema Schema of this collection. Schema json.RawMessage `json:"schema,omitempty"` // Size The size of this collection in bytes. Size *int64 `json:"size,omitempty"` }
DescribeCollectionResponse A detailed description of the collection. The description returns collection metadata and the schema.
type DescribeDatabaseRequest ¶
type DescribeDatabaseRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` // Project Project name whose db is under target to get description. Project *string `json:"project,omitempty"` // SchemaFormat Return schema in the requested format. Format can be JSON, Go, TypeScript, Java. Default is JSON. SchemaFormat *string `json:"schema_format,omitempty"` }
DescribeDatabaseRequest defines model for DescribeDatabaseRequest.
type DescribeDatabaseResponse ¶
type DescribeDatabaseResponse struct { // Branches List of all the branches in this database Branches *[]string `json:"branches,omitempty"` // Collections A detailed description about all the collections. The description returns collection metadata and the schema. Collections *[]CollectionDescription `json:"collections,omitempty"` Metadata *DatabaseMetadata `json:"metadata,omitempty"` // Size Sum of all the collections sizes present in this database Size *int64 `json:"size,omitempty"` }
DescribeDatabaseResponse A detailed description of the database and all the associated collections. Description of the collection includes schema details as well.
type DescribeNamespacesData ¶
type DescribeNamespacesData struct {
Details *string `json:"details,omitempty"`
}
DescribeNamespacesData defines model for DescribeNamespacesData.
type DescribeNamespacesResponse ¶
type DescribeNamespacesResponse struct {
Data *DescribeNamespacesData `json:"data,omitempty"`
}
DescribeNamespacesResponse defines model for DescribeNamespacesResponse.
type DocStatus ¶
type DocStatus struct { // Error The Error type defines a logical error model Error *Error `json:"error,omitempty"` // Id An id of the document. Id *string `json:"id,omitempty"` }
DocStatus defines model for DocStatus.
type DropCollectionRequest ¶
type DropCollectionRequest struct { // Branch Optionally specify a project branch name to perform operation on Branch *string `json:"branch,omitempty"` // Options Collection requests modifying options. Options *CollectionOptions `json:"options,omitempty"` }
DropCollectionRequest defines model for DropCollectionRequest.
type DropCollectionResponse ¶
type DropCollectionResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "dropped". Status *string `json:"status,omitempty"` }
DropCollectionResponse defines model for DropCollectionResponse.
type Error ¶
type Error struct { // Code 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"` // Message A developer-facing descriptive error message Message *string `json:"message,omitempty"` }
Error The Error type defines a logical error model
type ErrorCode ¶
type ErrorCode string
ErrorCode 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" CONTENTTOOLARGE ErrorCode = "CONTENT_TOO_LARGE" 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 FacetCount ¶
type FacetCount struct { Count *int64 `json:"count,omitempty"` Value *string `json:"value,omitempty"` }
FacetCount defines model for FacetCount.
type FacetStats ¶
type FacetStats struct { // Avg Average of all values in a field. Only available for numeric fields Avg *float64 `json:"avg,omitempty"` // Count Total number of values in a field Count *int64 `json:"count,omitempty"` // Max Maximum of all values in a field. Only available for numeric fields Max *float64 `json:"max,omitempty"` // Min Minimum of all values in a field. Only available for numeric fields Min *float64 `json:"min,omitempty"` // Sum Sum of all values in a field. Only available for numeric fields Sum *float64 `json:"sum,omitempty"` }
FacetStats Additional stats for faceted field
type GetAccessTokenRequest ¶
type GetAccessTokenRequest struct { // ClientId Client Id is required when grant type is set as `CLIENT_CREDENTIALS`. ClientId *string `json:"client_id,omitempty"` // ClientSecret Your Tigris API Key is required when grant type is set as `CLIENT_CREDENTIALS`. ClientSecret *string `json:"client_secret,omitempty"` GrantType *GetAccessTokenRequestGrantType `json:"grant_type,omitempty"` // RefreshToken Refresh token is required when grant type is set as `REFRESH_TOKEN`. RefreshToken *string `json:"refresh_token,omitempty"` }
GetAccessTokenRequest The Request message for the GetAccessToken. The grant type is a required field and based on the grant type the other fields are used as mentioned below.
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 { // AccessToken An Access Token. AccessToken *string `json:"access_token,omitempty"` // ExpiresIn Access token expiration timeout in seconds. ExpiresIn *int32 `json:"expires_in,omitempty"` // RefreshToken The Refresh Token. RefreshToken *string `json:"refresh_token,omitempty"` }
GetAccessTokenResponse The response of GetAccessToken which contains access_token and optionally refresh_token.
type GetDocumentResponse ¶
type GetDocumentResponse struct { // Documents An array of documents. Documents *[]SearchHit `json:"documents,omitempty"` }
GetDocumentResponse defines model for GetDocumentResponse.
type GetIndexResponse ¶
type GetIndexResponse struct {
Index *IndexInfo `json:"index,omitempty"`
}
GetIndexResponse defines model for GetIndexResponse.
type GetInfoResponse ¶
type GetInfoResponse struct {
ServerVersion *string `json:"server_version,omitempty"`
}
GetInfoResponse defines model for GetInfoResponse.
type GetNamespaceMetadataRequest ¶
type GetNamespaceMetadataRequest struct { MetadataKey *string `json:"metadataKey,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
GetNamespaceMetadataRequest Request namespace metadata
type GetNamespaceMetadataResponse ¶
type GetNamespaceMetadataResponse struct { MetadataKey *string `json:"metadataKey,omitempty"` NamespaceId *uint32 `json:"namespaceId,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
GetNamespaceMetadataResponse Namespace metadata response
type GetRTChannelResponse ¶
type GetRTChannelResponse struct {
Channel *string `json:"channel,omitempty"`
}
GetRTChannelResponse defines model for GetRTChannelResponse.
type GetRTChannelsResponse ¶
type GetRTChannelsResponse struct {
Channels *[]ChannelMetadata `json:"channels,omitempty"`
}
GetRTChannelsResponse defines model for GetRTChannelsResponse.
type GetResponse ¶
type GetResponse struct { // ExpiresInMs expiration ms ExpiresInMs *uint64 `json:"expires_in_ms,omitempty"` // Value value Value *[]byte `json:"value,omitempty"` }
GetResponse defines model for GetResponse.
type GetSetRequest ¶
type GetSetRequest struct { // Value free form byte[] value Value *[]byte `json:"value,omitempty"` }
GetSetRequest defines model for GetSetRequest.
type GetSetResponse ¶
type GetSetResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // OldValue An old value if exists OldValue *[]byte `json:"old_value,omitempty"` // Status An enum with value set as "set" Status *string `json:"status,omitempty"` }
GetSetResponse defines model for GetSetResponse.
type GetUserMetadataRequest ¶
type GetUserMetadataRequest struct { MetadataKey *string `json:"metadataKey,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
GetUserMetadataRequest Request user metadata
type GetUserMetadataResponse ¶
type GetUserMetadataResponse struct { MetadataKey *string `json:"metadataKey,omitempty"` NamespaceId *uint32 `json:"namespaceId,omitempty"` UserId *string `json:"userId,omitempty"` Value *[]byte `json:"value,omitempty"` }
GetUserMetadataResponse User metadata response
type GroupedSearchHits ¶
type GroupedSearchHits struct { GroupKeys *[]string `json:"group_keys,omitempty"` Hits *[]SearchHit `json:"hits,omitempty"` }
GroupedSearchHits defines model for GroupedSearchHits.
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 ImportRequest ¶
type ImportRequest struct { // Autogenerated The list of autogenerated fields of the collection Autogenerated *[]string `json:"autogenerated,omitempty"` // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` // CreateCollection Allow to create collection if it doesn't exists CreateCollection *bool `json:"create_collection,omitempty"` // Documents Array of documents to import. Each document is a JSON object. Documents *[]map[string]interface{} `json:"documents,omitempty"` // Options additional options for import requests. Options *ImportRequestOptions `json:"options,omitempty"` // PrimaryKey List of fields which constitutes primary key of the collection If not specified and field with name 'id' is present, it's used as a primary key, further if inferred type is UUID, then it's set as autogenerated. PrimaryKey *[]string `json:"primary_key,omitempty"` }
ImportRequest defines model for ImportRequest.
type ImportRequestOptions ¶
type ImportRequestOptions struct { // WriteOptions Additional options to modify write requests. WriteOptions *WriteOptions `json:"write_options,omitempty"` }
ImportRequestOptions additional options for import requests.
type ImportResponse ¶
type ImportResponse struct { // Keys an array returns the value of the primary keys. Keys *[][]byte `json:"keys,omitempty"` // Metadata Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // Status An enum with value set as "inserted" Status *string `json:"status,omitempty"` }
ImportResponse defines model for ImportResponse.
type IndexInfo ¶
type IndexInfo struct { // Name Name of the index. Name *string `json:"name,omitempty"` // Schema Schema of the index. Schema json.RawMessage `json:"schema,omitempty"` }
IndexInfo defines model for IndexInfo.
type InsertNamespaceMetadataRequest ¶
type InsertNamespaceMetadataRequest struct { MetadataKey *string `json:"metadataKey,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
InsertNamespaceMetadataRequest Request insertion of namespace metadata
type InsertNamespaceMetadataResponse ¶
type InsertNamespaceMetadataResponse struct { MetadataKey *string `json:"metadataKey,omitempty"` NamespaceId *uint32 `json:"namespaceId,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
InsertNamespaceMetadataResponse Insertion of namespace metadata response
type InsertRequest ¶
type InsertRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` // Documents Array of documents to insert. Each document is a JSON object. Documents *[]json.RawMessage `json:"documents,omitempty"` // Options additional options for insert requests. Options *InsertRequestOptions `json:"options,omitempty"` }
InsertRequest defines model for InsertRequest.
type InsertRequestOptions ¶
type InsertRequestOptions struct { // WriteOptions Additional options to modify write requests. WriteOptions *WriteOptions `json:"write_options,omitempty"` }
InsertRequestOptions additional options for insert requests.
type InsertResponse ¶
type InsertResponse struct { // Keys an array returns the value of the primary keys. Keys *[][]byte `json:"keys,omitempty"` // Metadata Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // Status 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"` }
InsertUserMetadataRequest 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"` }
InsertUserMetadataResponse Insertion of user metadata response
type KeysResponse ¶
type KeysResponse struct { // Cursor cursor - 0 is the keys scan is finished, non-zero cursor can be passed in next keys request to continue the scan this is useful if streaming breaks and user wants to resume stream Cursor *uint64 `json:"cursor,omitempty"` // Keys keys Keys *[]string `json:"keys,omitempty"` }
KeysResponse defines model for KeysResponse.
type ListAppKeysResponse ¶
type ListAppKeysResponse struct {
AppKeys *[]AppKey `json:"app_keys,omitempty"`
}
ListAppKeysResponse ListAppKeysResponse returns one or more visible app keys to user
type ListBranchesResponse ¶
type ListBranchesResponse struct { // Branches List of all the branches in this database Branches *[]BranchInfo `json:"branches,omitempty"` }
ListBranchesResponse defines model for ListBranchesResponse.
type ListCachesResponse ¶
type ListCachesResponse struct { // Caches List of caches metadata Caches *[]CacheMetadata `json:"caches,omitempty"` }
ListCachesResponse defines model for ListCachesResponse.
type ListCollectionsResponse ¶
type ListCollectionsResponse struct { // Collections List of the collections info in the database. Collections *[]CollectionInfo `json:"collections,omitempty"` }
ListCollectionsResponse defines model for ListCollectionsResponse.
type ListIndexesResponse ¶
type ListIndexesResponse struct { // Indexes List of indexes. Indexes *[]IndexInfo `json:"indexes,omitempty"` }
ListIndexesResponse defines model for ListIndexesResponse.
type ListNamespacesResponse ¶
type ListNamespacesResponse struct {
Namespaces *[]NamespaceInfo `json:"namespaces,omitempty"`
}
ListNamespacesResponse defines model for ListNamespacesResponse.
type ListProjectsResponse ¶
type ListProjectsResponse struct { // Projects List of the projects. Projects *[]ProjectInfo `json:"projects,omitempty"` }
ListProjectsResponse defines model for ListProjectsResponse.
type ListSubscriptionResponse ¶
type ListSubscriptionResponse struct {
Devices *[]string `json:"devices,omitempty"`
}
ListSubscriptionResponse defines model for ListSubscriptionResponse.
type ManagementCreateNamespaceJSONRequestBody ¶
type ManagementCreateNamespaceJSONRequestBody = CreateNamespaceRequest
ManagementCreateNamespaceJSONRequestBody defines body for ManagementCreateNamespace for application/json ContentType.
type ManagementCreateNamespaceResponse ¶
type ManagementCreateNamespaceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateNamespaceResponse JSONDefault *Status }
func ParseManagementCreateNamespaceResponse ¶
func ParseManagementCreateNamespaceResponse(rsp *http.Response) (*ManagementCreateNamespaceResponse, error)
ParseManagementCreateNamespaceResponse parses an HTTP response from a ManagementCreateNamespaceWithResponse call
func (ManagementCreateNamespaceResponse) Status ¶
func (r ManagementCreateNamespaceResponse) Status() string
Status returns HTTPResponse.Status
func (ManagementCreateNamespaceResponse) StatusCode ¶
func (r ManagementCreateNamespaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagementDescribeNamespacesResponse ¶
type ManagementDescribeNamespacesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DescribeNamespacesResponse JSONDefault *Status }
func ParseManagementDescribeNamespacesResponse ¶
func ParseManagementDescribeNamespacesResponse(rsp *http.Response) (*ManagementDescribeNamespacesResponse, error)
ParseManagementDescribeNamespacesResponse parses an HTTP response from a ManagementDescribeNamespacesWithResponse call
func (ManagementDescribeNamespacesResponse) Status ¶
func (r ManagementDescribeNamespacesResponse) Status() string
Status returns HTTPResponse.Status
func (ManagementDescribeNamespacesResponse) StatusCode ¶
func (r ManagementDescribeNamespacesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagementGetNamespaceMetadataJSONRequestBody ¶
type ManagementGetNamespaceMetadataJSONRequestBody = GetNamespaceMetadataRequest
ManagementGetNamespaceMetadataJSONRequestBody defines body for ManagementGetNamespaceMetadata for application/json ContentType.
type ManagementGetNamespaceMetadataResponse ¶
type ManagementGetNamespaceMetadataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetNamespaceMetadataResponse JSONDefault *Status }
func ParseManagementGetNamespaceMetadataResponse ¶
func ParseManagementGetNamespaceMetadataResponse(rsp *http.Response) (*ManagementGetNamespaceMetadataResponse, error)
ParseManagementGetNamespaceMetadataResponse parses an HTTP response from a ManagementGetNamespaceMetadataWithResponse call
func (ManagementGetNamespaceMetadataResponse) Status ¶
func (r ManagementGetNamespaceMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (ManagementGetNamespaceMetadataResponse) StatusCode ¶
func (r ManagementGetNamespaceMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagementGetUserMetadataJSONRequestBody ¶
type ManagementGetUserMetadataJSONRequestBody = GetUserMetadataRequest
ManagementGetUserMetadataJSONRequestBody defines body for ManagementGetUserMetadata for application/json ContentType.
type ManagementGetUserMetadataResponse ¶
type ManagementGetUserMetadataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetUserMetadataResponse JSONDefault *Status }
func ParseManagementGetUserMetadataResponse ¶
func ParseManagementGetUserMetadataResponse(rsp *http.Response) (*ManagementGetUserMetadataResponse, error)
ParseManagementGetUserMetadataResponse parses an HTTP response from a ManagementGetUserMetadataWithResponse call
func (ManagementGetUserMetadataResponse) Status ¶
func (r ManagementGetUserMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (ManagementGetUserMetadataResponse) StatusCode ¶
func (r ManagementGetUserMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagementInsertNamespaceMetadataJSONRequestBody ¶
type ManagementInsertNamespaceMetadataJSONRequestBody = InsertNamespaceMetadataRequest
ManagementInsertNamespaceMetadataJSONRequestBody defines body for ManagementInsertNamespaceMetadata for application/json ContentType.
type ManagementInsertNamespaceMetadataResponse ¶
type ManagementInsertNamespaceMetadataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InsertNamespaceMetadataResponse JSONDefault *Status }
func ParseManagementInsertNamespaceMetadataResponse ¶
func ParseManagementInsertNamespaceMetadataResponse(rsp *http.Response) (*ManagementInsertNamespaceMetadataResponse, error)
ParseManagementInsertNamespaceMetadataResponse parses an HTTP response from a ManagementInsertNamespaceMetadataWithResponse call
func (ManagementInsertNamespaceMetadataResponse) Status ¶
func (r ManagementInsertNamespaceMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (ManagementInsertNamespaceMetadataResponse) StatusCode ¶
func (r ManagementInsertNamespaceMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagementInsertUserMetadataJSONRequestBody ¶
type ManagementInsertUserMetadataJSONRequestBody = InsertUserMetadataRequest
ManagementInsertUserMetadataJSONRequestBody defines body for ManagementInsertUserMetadata for application/json ContentType.
type ManagementInsertUserMetadataResponse ¶
type ManagementInsertUserMetadataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InsertUserMetadataResponse JSONDefault *Status }
func ParseManagementInsertUserMetadataResponse ¶
func ParseManagementInsertUserMetadataResponse(rsp *http.Response) (*ManagementInsertUserMetadataResponse, error)
ParseManagementInsertUserMetadataResponse parses an HTTP response from a ManagementInsertUserMetadataWithResponse call
func (ManagementInsertUserMetadataResponse) Status ¶
func (r ManagementInsertUserMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (ManagementInsertUserMetadataResponse) StatusCode ¶
func (r ManagementInsertUserMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagementListNamespacesResponse ¶
type ManagementListNamespacesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListNamespacesResponse JSONDefault *Status }
func ParseManagementListNamespacesResponse ¶
func ParseManagementListNamespacesResponse(rsp *http.Response) (*ManagementListNamespacesResponse, error)
ParseManagementListNamespacesResponse parses an HTTP response from a ManagementListNamespacesWithResponse call
func (ManagementListNamespacesResponse) Status ¶
func (r ManagementListNamespacesResponse) Status() string
Status returns HTTPResponse.Status
func (ManagementListNamespacesResponse) StatusCode ¶
func (r ManagementListNamespacesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagementUpdateNamespaceMetadataJSONRequestBody ¶
type ManagementUpdateNamespaceMetadataJSONRequestBody = UpdateNamespaceMetadataRequest
ManagementUpdateNamespaceMetadataJSONRequestBody defines body for ManagementUpdateNamespaceMetadata for application/json ContentType.
type ManagementUpdateNamespaceMetadataResponse ¶
type ManagementUpdateNamespaceMetadataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateNamespaceMetadataResponse JSONDefault *Status }
func ParseManagementUpdateNamespaceMetadataResponse ¶
func ParseManagementUpdateNamespaceMetadataResponse(rsp *http.Response) (*ManagementUpdateNamespaceMetadataResponse, error)
ParseManagementUpdateNamespaceMetadataResponse parses an HTTP response from a ManagementUpdateNamespaceMetadataWithResponse call
func (ManagementUpdateNamespaceMetadataResponse) Status ¶
func (r ManagementUpdateNamespaceMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (ManagementUpdateNamespaceMetadataResponse) StatusCode ¶
func (r ManagementUpdateNamespaceMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagementUpdateUserMetadataJSONRequestBody ¶
type ManagementUpdateUserMetadataJSONRequestBody = UpdateUserMetadataRequest
ManagementUpdateUserMetadataJSONRequestBody defines body for ManagementUpdateUserMetadata for application/json ContentType.
type ManagementUpdateUserMetadataResponse ¶
type ManagementUpdateUserMetadataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateUserMetadataResponse JSONDefault *Status }
func ParseManagementUpdateUserMetadataResponse ¶
func ParseManagementUpdateUserMetadataResponse(rsp *http.Response) (*ManagementUpdateUserMetadataResponse, error)
ParseManagementUpdateUserMetadataResponse parses an HTTP response from a ManagementUpdateUserMetadataWithResponse call
func (ManagementUpdateUserMetadataResponse) Status ¶
func (r ManagementUpdateUserMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (ManagementUpdateUserMetadataResponse) StatusCode ¶
func (r ManagementUpdateUserMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Match ¶
type Match struct { Fields *[]MatchField `json:"fields,omitempty"` Score *string `json:"score,omitempty"` }
Match defines model for Match.
type MatchField ¶
type MatchField struct {
Name *string `json:"name,omitempty"`
}
MatchField defines model for MatchField.
type Message ¶
type Message struct { Data *[]byte `json:"data,omitempty"` // Id an optional id if idempotency is needed to ensure only a single time message is published during retries. If not specified then server will automatically add an id to message. Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Sequence *string `json:"sequence,omitempty"` }
Message defines model for Message.
type MessagesRequest ¶
type MessagesRequest struct { Channel *string `json:"channel,omitempty"` Messages *[]Message `json:"messages,omitempty"` Project *string `json:"project,omitempty"` }
MessagesRequest defines model for MessagesRequest.
type MessagesResponse ¶
type MessagesResponse struct { // Ids ids of the published messages Ids *[]string `json:"ids,omitempty"` }
MessagesResponse defines model for MessagesResponse.
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"` }
MetricSeries Represents series in timeseries based on input query.
type NamespaceInfo ¶
type NamespaceInfo struct { // Code The unique namespace code. Code *int32 `json:"code,omitempty"` // Id The namespace unique id. Id *string `json:"id,omitempty"` // Name The namespace display name. Name *string `json:"name,omitempty"` }
NamespaceInfo defines model for NamespaceInfo.
type ObservabilityGetInfoResponse ¶
type ObservabilityGetInfoResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetInfoResponse JSONDefault *Status }
func ParseObservabilityGetInfoResponse ¶
func ParseObservabilityGetInfoResponse(rsp *http.Response) (*ObservabilityGetInfoResponse, error)
ParseObservabilityGetInfoResponse parses an HTTP response from a ObservabilityGetInfoWithResponse call
func (ObservabilityGetInfoResponse) Status ¶
func (r ObservabilityGetInfoResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityGetInfoResponse) StatusCode ¶
func (r ObservabilityGetInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ObservabilityQueryTimeSeriesMetricsJSONRequestBody ¶
type ObservabilityQueryTimeSeriesMetricsJSONRequestBody = QueryTimeSeriesMetricsRequest
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 ObservabilityQuotaLimitsJSONRequestBody ¶
type ObservabilityQuotaLimitsJSONRequestBody = QuotaLimitsRequest
ObservabilityQuotaLimitsJSONRequestBody defines body for ObservabilityQuotaLimits for application/json ContentType.
type ObservabilityQuotaLimitsResponse ¶
type ObservabilityQuotaLimitsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *QuotaLimitsResponse JSONDefault *Status }
func ParseObservabilityQuotaLimitsResponse ¶
func ParseObservabilityQuotaLimitsResponse(rsp *http.Response) (*ObservabilityQuotaLimitsResponse, error)
ParseObservabilityQuotaLimitsResponse parses an HTTP response from a ObservabilityQuotaLimitsWithResponse call
func (ObservabilityQuotaLimitsResponse) Status ¶
func (r ObservabilityQuotaLimitsResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityQuotaLimitsResponse) StatusCode ¶
func (r ObservabilityQuotaLimitsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ObservabilityQuotaUsageJSONRequestBody ¶
type ObservabilityQuotaUsageJSONRequestBody = QuotaUsageRequest
ObservabilityQuotaUsageJSONRequestBody defines body for ObservabilityQuotaUsage for application/json ContentType.
type ObservabilityQuotaUsageResponse ¶
type ObservabilityQuotaUsageResponse struct { Body []byte HTTPResponse *http.Response JSON200 *QuotaUsageResponse JSONDefault *Status }
func ParseObservabilityQuotaUsageResponse ¶
func ParseObservabilityQuotaUsageResponse(rsp *http.Response) (*ObservabilityQuotaUsageResponse, error)
ParseObservabilityQuotaUsageResponse parses an HTTP response from a ObservabilityQuotaUsageWithResponse call
func (ObservabilityQuotaUsageResponse) Status ¶
func (r ObservabilityQuotaUsageResponse) Status() string
Status returns HTTPResponse.Status
func (ObservabilityQuotaUsageResponse) StatusCode ¶
func (r ObservabilityQuotaUsageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Page ¶
type Page struct { // Current Number representing the current page of results Current *int32 `json:"current,omitempty"` // Size Maximum number of results per page Size *int32 `json:"size,omitempty"` }
Page Pagination metadata for SearchResponse
type PresenceResponse ¶
type PresenceResponse struct {
Response *[]byte `json:"response,omitempty"`
}
PresenceResponse defines model for PresenceResponse.
type ProjectInfo ¶
type ProjectInfo struct { Metadata *ProjectMetadata `json:"metadata,omitempty"` // Project Project name. Project *string `json:"project,omitempty"` }
ProjectInfo defines model for ProjectInfo.
type ProjectMetadata ¶
type ProjectMetadata = map[string]interface{}
ProjectMetadata defines model for ProjectMetadata.
type QueryTimeSeriesMetricsRequest ¶
type QueryTimeSeriesMetricsRequest struct { AdditionalFunctions *[]AdditionalFunction `json:"additionalFunctions,omitempty"` Branch *string `json:"branch,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"` }
QueryTimeSeriesMetricsRequest 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" METADATA QueryTimeSeriesMetricsRequestTigrisOperation = "METADATA" 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"` }
QueryTimeSeriesMetricsResponse QueryTimeSeriesMetric responds with this type.
type QuotaLimitsRequest ¶
type QuotaLimitsRequest = map[string]interface{}
QuotaLimitsRequest Request current namespace quota limits
type QuotaLimitsResponse ¶
type QuotaLimitsResponse struct { // ReadUnits Number of allowed read units per second ReadUnits *int64 `json:"ReadUnits,omitempty"` // StorageSize Maximum number of bytes allowed to store StorageSize *int64 `json:"StorageSize,omitempty"` // WriteUnits Number of allowed write units per second WriteUnits *int64 `json:"WriteUnits,omitempty"` }
QuotaLimitsResponse Contains current quota limits
type QuotaUsageRequest ¶
type QuotaUsageRequest = map[string]interface{}
QuotaUsageRequest Request current namespace quota usage
type QuotaUsageResponse ¶
type QuotaUsageResponse struct { // ReadUnits Number of read units used per second ReadUnits *int64 `json:"ReadUnits,omitempty"` // ReadUnitsThrottled Number of read units throttled per second. Units which was rejected with "resource exhausted error". ReadUnitsThrottled *int64 `json:"ReadUnitsThrottled,omitempty"` // StorageSize Number of bytes stored StorageSize *int64 `json:"StorageSize,omitempty"` // StorageSizeThrottled Number of bytes throttled. Number of bytes which were attempted to write in excess of quota and were rejected. StorageSizeThrottled *int64 `json:"StorageSizeThrottled,omitempty"` // WriteUnits Number of write units used per second WriteUnits *int64 `json:"WriteUnits,omitempty"` // WriteUnitsThrottled Number of write units throttled per second. Units which was rejected with "resource exhausted error". WriteUnitsThrottled *int64 `json:"WriteUnitsThrottled,omitempty"` }
QuotaUsageResponse Contains current quota usage
type ReadMessagesResponse ¶
type ReadMessagesResponse struct {
Message *Message `json:"message,omitempty"`
}
ReadMessagesResponse defines model for ReadMessagesResponse.
type ReadRequest ¶
type ReadRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` // Fields To read specific fields from a document. Default is all. Fields json.RawMessage `json:"fields,omitempty"` // Filter 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 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"` // Sort Array of fields and corresponding sort orders to order the results. Ex: 1 `[{ "salary": "$desc" }]`, Ex: 2 `[{ "salary": "$asc"}]` Sort *[]byte `json:"sort,omitempty"` }
ReadRequest defines model for ReadRequest.
type ReadRequestOptions ¶
type ReadRequestOptions struct { // Collation 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 Limit the number of documents returned by the read operation. Limit *int64 `json:"limit,omitempty"` // Offset A cursor for use in pagination. The next streams will return documents after this offset. Offset *[]byte `json:"offset,omitempty"` // Skip Number of documents to skip before starting to return resulting documents. Skip *int64 `json:"skip,omitempty"` }
ReadRequestOptions 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 { // Data Object containing the collection document. Data json.RawMessage `json:"data,omitempty"` // Metadata Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // ResumeToken An internal key, used for pagination. ResumeToken *[]byte `json:"resume_token,omitempty"` }
ReadResponse defines model for ReadResponse.
type RealtimeGetRTChannelResponse ¶
type RealtimeGetRTChannelResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetRTChannelResponse JSONDefault *Status }
func ParseRealtimeGetRTChannelResponse ¶
func ParseRealtimeGetRTChannelResponse(rsp *http.Response) (*RealtimeGetRTChannelResponse, error)
ParseRealtimeGetRTChannelResponse parses an HTTP response from a RealtimeGetRTChannelWithResponse call
func (RealtimeGetRTChannelResponse) Status ¶
func (r RealtimeGetRTChannelResponse) Status() string
Status returns HTTPResponse.Status
func (RealtimeGetRTChannelResponse) StatusCode ¶
func (r RealtimeGetRTChannelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RealtimeGetRTChannelsResponse ¶
type RealtimeGetRTChannelsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetRTChannelsResponse JSONDefault *Status }
func ParseRealtimeGetRTChannelsResponse ¶
func ParseRealtimeGetRTChannelsResponse(rsp *http.Response) (*RealtimeGetRTChannelsResponse, error)
ParseRealtimeGetRTChannelsResponse parses an HTTP response from a RealtimeGetRTChannelsWithResponse call
func (RealtimeGetRTChannelsResponse) Status ¶
func (r RealtimeGetRTChannelsResponse) Status() string
Status returns HTTPResponse.Status
func (RealtimeGetRTChannelsResponse) StatusCode ¶
func (r RealtimeGetRTChannelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RealtimeListSubscriptionsParams ¶
type RealtimeListSubscriptionsParams struct { PageSize *int32 `form:"page_size,omitempty" json:"page_size,omitempty"` Page *int32 `form:"page,omitempty" json:"page,omitempty"` }
RealtimeListSubscriptionsParams defines parameters for RealtimeListSubscriptions.
type RealtimeListSubscriptionsResponse ¶
type RealtimeListSubscriptionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListSubscriptionResponse JSONDefault *Status }
func ParseRealtimeListSubscriptionsResponse ¶
func ParseRealtimeListSubscriptionsResponse(rsp *http.Response) (*RealtimeListSubscriptionsResponse, error)
ParseRealtimeListSubscriptionsResponse parses an HTTP response from a RealtimeListSubscriptionsWithResponse call
func (RealtimeListSubscriptionsResponse) Status ¶
func (r RealtimeListSubscriptionsResponse) Status() string
Status returns HTTPResponse.Status
func (RealtimeListSubscriptionsResponse) StatusCode ¶
func (r RealtimeListSubscriptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RealtimeMessagesJSONRequestBody ¶
type RealtimeMessagesJSONRequestBody = MessagesRequest
RealtimeMessagesJSONRequestBody defines body for RealtimeMessages for application/json ContentType.
type RealtimeMessagesResponse ¶
type RealtimeMessagesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *MessagesResponse JSONDefault *Status }
func ParseRealtimeMessagesResponse ¶
func ParseRealtimeMessagesResponse(rsp *http.Response) (*RealtimeMessagesResponse, error)
ParseRealtimeMessagesResponse parses an HTTP response from a RealtimeMessagesWithResponse call
func (RealtimeMessagesResponse) Status ¶
func (r RealtimeMessagesResponse) Status() string
Status returns HTTPResponse.Status
func (RealtimeMessagesResponse) StatusCode ¶
func (r RealtimeMessagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RealtimePresenceResponse ¶
type RealtimePresenceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PresenceResponse JSONDefault *Status }
func ParseRealtimePresenceResponse ¶
func ParseRealtimePresenceResponse(rsp *http.Response) (*RealtimePresenceResponse, error)
ParseRealtimePresenceResponse parses an HTTP response from a RealtimePresenceWithResponse call
func (RealtimePresenceResponse) Status ¶
func (r RealtimePresenceResponse) Status() string
Status returns HTTPResponse.Status
func (RealtimePresenceResponse) StatusCode ¶
func (r RealtimePresenceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RealtimeReadMessagesParams ¶
type RealtimeReadMessagesParams struct { SessionId *string `form:"session_id,omitempty" json:"session_id,omitempty"` SocketId *string `form:"socket_id,omitempty" json:"socket_id,omitempty"` Event *string `form:"event,omitempty" json:"event,omitempty"` Start *string `form:"start,omitempty" json:"start,omitempty"` End *string `form:"end,omitempty" json:"end,omitempty"` Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"` }
RealtimeReadMessagesParams defines parameters for RealtimeReadMessages.
type RealtimeReadMessagesResponse ¶
type RealtimeReadMessagesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ReadMessagesResponse JSONDefault *Status }
func ParseRealtimeReadMessagesResponse ¶
func ParseRealtimeReadMessagesResponse(rsp *http.Response) (*RealtimeReadMessagesResponse, error)
ParseRealtimeReadMessagesResponse parses an HTTP response from a RealtimeReadMessagesWithResponse call
func (RealtimeReadMessagesResponse) Status ¶
func (r RealtimeReadMessagesResponse) Status() string
Status returns HTTPResponse.Status
func (RealtimeReadMessagesResponse) StatusCode ¶
func (r RealtimeReadMessagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReplaceRequest ¶
type ReplaceRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` // Documents Array of documents to be replaced. Each document is a JSON object. Documents *[]json.RawMessage `json:"documents,omitempty"` // Options Additional options for replace requests. Options *ReplaceRequestOptions `json:"options,omitempty"` }
ReplaceRequest defines model for ReplaceRequest.
type ReplaceRequestOptions ¶
type ReplaceRequestOptions struct { // WriteOptions Additional options to modify write requests. WriteOptions *WriteOptions `json:"write_options,omitempty"` }
ReplaceRequestOptions Additional options for replace requests.
type ReplaceResponse ¶
type ReplaceResponse struct { // Keys an array returns the value of the primary keys. Keys *[][]byte `json:"keys,omitempty"` // Metadata Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // Status 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 { // CreatedAt Time at which the document was inserted/replaced. Measured in nano-seconds since the Unix epoch. CreatedAt *time.Time `json:"created_at,omitempty"` // DeletedAt Time at which the document was deleted. Measured in nano-seconds since the Unix epoch. DeletedAt *time.Time `json:"deleted_at,omitempty"` // UpdatedAt Time at which the document was updated. Measured in nano-seconds since the Unix epoch. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
ResponseMetadata Has metadata related to the documents stored.
type RollbackTransactionRequest ¶
type RollbackTransactionRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` }
RollbackTransactionRequest Rollback transaction with the given ID
type RollbackTransactionResponse ¶
type RollbackTransactionResponse struct { // Status 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"` }
RollupFunction 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 RotateAppKeyRequest ¶
type RotateAppKeyRequest struct { // Id app key id Id *string `json:"id,omitempty"` // Project project name Project *string `json:"project,omitempty"` }
RotateAppKeyRequest Request rotation of an app key secret
type RotateAppKeyResponse ¶
type RotateAppKeyResponse struct { // AppKey An user AppKey AppKey *AppKey `json:"app_key,omitempty"` }
RotateAppKeyResponse RotateAppKeyResponse returns the new app key with rotated secret
type SearchCreateByIdJSONRequestBody ¶
type SearchCreateByIdJSONRequestBody = CreateByIdRequest
SearchCreateByIdJSONRequestBody defines body for SearchCreateById for application/json ContentType.
type SearchCreateByIdResponse ¶
type SearchCreateByIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateByIdResponse JSONDefault *Status }
func ParseSearchCreateByIdResponse ¶
func ParseSearchCreateByIdResponse(rsp *http.Response) (*SearchCreateByIdResponse, error)
ParseSearchCreateByIdResponse parses an HTTP response from a SearchCreateByIdWithResponse call
func (SearchCreateByIdResponse) Status ¶
func (r SearchCreateByIdResponse) Status() string
Status returns HTTPResponse.Status
func (SearchCreateByIdResponse) StatusCode ¶
func (r SearchCreateByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchCreateJSONRequestBody ¶
type SearchCreateJSONRequestBody = CreateDocumentRequest
SearchCreateJSONRequestBody defines body for SearchCreate for application/json ContentType.
type SearchCreateOrReplaceJSONRequestBody ¶
type SearchCreateOrReplaceJSONRequestBody = CreateOrReplaceDocumentRequest
SearchCreateOrReplaceJSONRequestBody defines body for SearchCreateOrReplace for application/json ContentType.
type SearchCreateOrReplaceResponse ¶
type SearchCreateOrReplaceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateOrReplaceDocumentResponse JSONDefault *Status }
func ParseSearchCreateOrReplaceResponse ¶
func ParseSearchCreateOrReplaceResponse(rsp *http.Response) (*SearchCreateOrReplaceResponse, error)
ParseSearchCreateOrReplaceResponse parses an HTTP response from a SearchCreateOrReplaceWithResponse call
func (SearchCreateOrReplaceResponse) Status ¶
func (r SearchCreateOrReplaceResponse) Status() string
Status returns HTTPResponse.Status
func (SearchCreateOrReplaceResponse) StatusCode ¶
func (r SearchCreateOrReplaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchCreateOrUpdateIndexJSONRequestBody ¶
type SearchCreateOrUpdateIndexJSONRequestBody = CreateOrUpdateIndexRequest
SearchCreateOrUpdateIndexJSONRequestBody defines body for SearchCreateOrUpdateIndex for application/json ContentType.
type SearchCreateOrUpdateIndexResponse ¶
type SearchCreateOrUpdateIndexResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateOrUpdateIndexResponse JSONDefault *Status }
func ParseSearchCreateOrUpdateIndexResponse ¶
func ParseSearchCreateOrUpdateIndexResponse(rsp *http.Response) (*SearchCreateOrUpdateIndexResponse, error)
ParseSearchCreateOrUpdateIndexResponse parses an HTTP response from a SearchCreateOrUpdateIndexWithResponse call
func (SearchCreateOrUpdateIndexResponse) Status ¶
func (r SearchCreateOrUpdateIndexResponse) Status() string
Status returns HTTPResponse.Status
func (SearchCreateOrUpdateIndexResponse) StatusCode ¶
func (r SearchCreateOrUpdateIndexResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchCreateResponse ¶
type SearchCreateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateDocumentResponse JSONDefault *Status }
func ParseSearchCreateResponse ¶
func ParseSearchCreateResponse(rsp *http.Response) (*SearchCreateResponse, error)
ParseSearchCreateResponse parses an HTTP response from a SearchCreateWithResponse call
func (SearchCreateResponse) Status ¶
func (r SearchCreateResponse) Status() string
Status returns HTTPResponse.Status
func (SearchCreateResponse) StatusCode ¶
func (r SearchCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchDeleteByQueryJSONRequestBody ¶
type SearchDeleteByQueryJSONRequestBody = DeleteByQueryRequest
SearchDeleteByQueryJSONRequestBody defines body for SearchDeleteByQuery for application/json ContentType.
type SearchDeleteByQueryResponse ¶
type SearchDeleteByQueryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteByQueryResponse JSONDefault *Status }
func ParseSearchDeleteByQueryResponse ¶
func ParseSearchDeleteByQueryResponse(rsp *http.Response) (*SearchDeleteByQueryResponse, error)
ParseSearchDeleteByQueryResponse parses an HTTP response from a SearchDeleteByQueryWithResponse call
func (SearchDeleteByQueryResponse) Status ¶
func (r SearchDeleteByQueryResponse) Status() string
Status returns HTTPResponse.Status
func (SearchDeleteByQueryResponse) StatusCode ¶
func (r SearchDeleteByQueryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchDeleteIndexJSONRequestBody ¶
type SearchDeleteIndexJSONRequestBody = DeleteIndexRequest
SearchDeleteIndexJSONRequestBody defines body for SearchDeleteIndex for application/json ContentType.
type SearchDeleteIndexResponse ¶
type SearchDeleteIndexResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteIndexResponse JSONDefault *Status }
func ParseSearchDeleteIndexResponse ¶
func ParseSearchDeleteIndexResponse(rsp *http.Response) (*SearchDeleteIndexResponse, error)
ParseSearchDeleteIndexResponse parses an HTTP response from a SearchDeleteIndexWithResponse call
func (SearchDeleteIndexResponse) Status ¶
func (r SearchDeleteIndexResponse) Status() string
Status returns HTTPResponse.Status
func (SearchDeleteIndexResponse) StatusCode ¶
func (r SearchDeleteIndexResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchDeleteJSONRequestBody ¶
type SearchDeleteJSONRequestBody = DeleteDocumentRequest
SearchDeleteJSONRequestBody defines body for SearchDelete for application/json ContentType.
type SearchDeleteResponse ¶
type SearchDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteDocumentResponse JSONDefault *Status }
func ParseSearchDeleteResponse ¶
func ParseSearchDeleteResponse(rsp *http.Response) (*SearchDeleteResponse, error)
ParseSearchDeleteResponse parses an HTTP response from a SearchDeleteWithResponse call
func (SearchDeleteResponse) Status ¶
func (r SearchDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (SearchDeleteResponse) StatusCode ¶
func (r SearchDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchFacet ¶
type SearchFacet struct { Counts *[]FacetCount `json:"counts,omitempty"` // Stats Additional stats for faceted field Stats *FacetStats `json:"stats,omitempty"` }
SearchFacet defines model for SearchFacet.
type SearchGetIndexResponse ¶
type SearchGetIndexResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetIndexResponse JSONDefault *Status }
func ParseSearchGetIndexResponse ¶
func ParseSearchGetIndexResponse(rsp *http.Response) (*SearchGetIndexResponse, error)
ParseSearchGetIndexResponse parses an HTTP response from a SearchGetIndexWithResponse call
func (SearchGetIndexResponse) Status ¶
func (r SearchGetIndexResponse) Status() string
Status returns HTTPResponse.Status
func (SearchGetIndexResponse) StatusCode ¶
func (r SearchGetIndexResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchGetParams ¶
type SearchGetParams struct { // Ids document id. Ids *[]string `form:"ids,omitempty" json:"ids,omitempty"` }
SearchGetParams defines parameters for SearchGet.
type SearchGetResponse ¶
type SearchGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetDocumentResponse JSONDefault *Status }
func ParseSearchGetResponse ¶
func ParseSearchGetResponse(rsp *http.Response) (*SearchGetResponse, error)
ParseSearchGetResponse parses an HTTP response from a SearchGetWithResponse call
func (SearchGetResponse) Status ¶
func (r SearchGetResponse) Status() string
Status returns HTTPResponse.Status
func (SearchGetResponse) StatusCode ¶
func (r SearchGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchHit ¶
type SearchHit struct { // Data Actual search document Data json.RawMessage `json:"data,omitempty"` // Metadata 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 { // CreatedAt Time at which the document was inserted/replaced. Measured in nano-seconds since the Unix epoch. CreatedAt *time.Time `json:"created_at,omitempty"` Match *Match `json:"match,omitempty"` // UpdatedAt Time at which the document was updated. Measured in nano-seconds since the Unix epoch. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
SearchHitMeta Contains metadata related to the search hit, has information about document created_at/updated_at as well.
type SearchIndexRequest ¶
type SearchIndexRequest struct { // Collation 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"` // ExcludeFields 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 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"` // Filter Filter stacks on top of query results to further narrow down the results. Similar to `ReadRequest.filter` Filter json.RawMessage `json:"filter,omitempty"` // GroupBy Group by can be used to group search results. For example, to group by city field the syntax would be: `{ "fields": ["city"]}`. Optionally a grouping limit can be set. By default it is 3 per group. GroupBy *[]byte `json:"group_by,omitempty"` // IncludeFields Array of document field names to include in results. By default, all fields are included. IncludeFields *[]string `json:"include_fields,omitempty"` // Index The index name to search documents from. Index *string `json:"index,omitempty"` // Page Optionally can specify the page to retrieve. If page is set then only hits for this page is returned Page *int32 `json:"page,omitempty"` // PageSize Optionally can set the number of hits to be returned per page, default is 20. PageSize *int32 `json:"page_size,omitempty"` // Project Project name whose db is under target to search documents from. Project *string `json:"project,omitempty"` // Q Query string for searching across text fields Q *string `json:"q,omitempty"` // SearchFields Array of fields to project search query against SearchFields *[]string `json:"search_fields,omitempty"` // Sort Array of fields and corresponding sort orders to order the results `[{ "salary": "$desc" }]` Sort json.RawMessage `json:"sort,omitempty"` }
SearchIndexRequest defines model for SearchIndexRequest.
type SearchIndexResponse ¶
type SearchIndexResponse struct { Facets *map[string]SearchFacet `json:"facets,omitempty"` // Group Group is returned when group_by is used in the search request. In this case the above hits will be empty and hits are returned by the group keys. Group *[]GroupedSearchHits `json:"group,omitempty"` Hits *[]SearchHit `json:"hits,omitempty"` Meta *SearchMetadata `json:"meta,omitempty"` }
SearchIndexResponse defines model for SearchIndexResponse.
type SearchListIndexesParams ¶
type SearchListIndexesParams struct { // FilterType An index can be either managed by user explicitly then the type is set as "user" or the index is backed by Tigris collection. In case it is backed by Tigris collection the type is "tigris". FilterType *string `form:"filter.type,omitempty" json:"filter.type,omitempty"` // FilterCollection Applicable only in case index is backed by Tigris collection. FilterCollection *string `form:"filter.collection,omitempty" json:"filter.collection,omitempty"` // FilterBranch Applicable only in case index is backed by Tigris collection. This is the database branch for the above collection. For primary database it can be omitted or "main" can be passed. FilterBranch *string `form:"filter.branch,omitempty" json:"filter.branch,omitempty"` }
SearchListIndexesParams defines parameters for SearchListIndexes.
type SearchListIndexesResponse ¶
type SearchListIndexesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListIndexesResponse JSONDefault *Status }
func ParseSearchListIndexesResponse ¶
func ParseSearchListIndexesResponse(rsp *http.Response) (*SearchListIndexesResponse, error)
ParseSearchListIndexesResponse parses an HTTP response from a SearchListIndexesWithResponse call
func (SearchListIndexesResponse) Status ¶
func (r SearchListIndexesResponse) Status() string
Status returns HTTPResponse.Status
func (SearchListIndexesResponse) StatusCode ¶
func (r SearchListIndexesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchMetadata ¶
type SearchMetadata struct { // Found Total number of search results across all pages Found *int64 `json:"found,omitempty"` MatchedFields *[]string `json:"matched_fields,omitempty"` // Page Pagination metadata for SearchResponse Page *Page `json:"page,omitempty"` // TotalPages Number representing the total pages of results TotalPages *int32 `json:"total_pages,omitempty"` }
SearchMetadata defines model for SearchMetadata.
type SearchRequest ¶
type SearchRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` // Collation 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"` // ExcludeFields 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 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 Filter stacks on top of query results to further narrow down the results. Similar to `ReadRequest.filter` Filter json.RawMessage `json:"filter,omitempty"` // IncludeFields Array of document field names to include in results. By default, all fields are included. IncludeFields *[]string `json:"include_fields,omitempty"` // Page Optionally can specify the page to retrieve. If page is set then only hits for this page is returned Page *int32 `json:"page,omitempty"` // PageSize Optionally can set the number of hits to be returned per page, default is 20. PageSize *int32 `json:"page_size,omitempty"` // Q Query string for searching across text fields Q *string `json:"q,omitempty"` // SearchFields Array of fields to project search query against SearchFields *[]string `json:"search_fields,omitempty"` // Sort 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 *map[string]SearchFacet `json:"facets,omitempty"` Hits *[]SearchHit `json:"hits,omitempty"` Meta *SearchMetadata `json:"meta,omitempty"` }
SearchResponse Response struct for search
type SearchSearchJSONRequestBody ¶
type SearchSearchJSONRequestBody = SearchIndexRequest
SearchSearchJSONRequestBody defines body for SearchSearch for application/json ContentType.
type SearchSearchResponse ¶
type SearchSearchResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SearchIndexResponse JSONDefault *Status }
func ParseSearchSearchResponse ¶
func ParseSearchSearchResponse(rsp *http.Response) (*SearchSearchResponse, error)
ParseSearchSearchResponse parses an HTTP response from a SearchSearchWithResponse call
func (SearchSearchResponse) Status ¶
func (r SearchSearchResponse) Status() string
Status returns HTTPResponse.Status
func (SearchSearchResponse) StatusCode ¶
func (r SearchSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchUpdateJSONRequestBody ¶
type SearchUpdateJSONRequestBody = UpdateDocumentRequest
SearchUpdateJSONRequestBody defines body for SearchUpdate for application/json ContentType.
type SearchUpdateResponse ¶
type SearchUpdateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateDocumentResponse JSONDefault *Status }
func ParseSearchUpdateResponse ¶
func ParseSearchUpdateResponse(rsp *http.Response) (*SearchUpdateResponse, error)
ParseSearchUpdateResponse parses an HTTP response from a SearchUpdateWithResponse call
func (SearchUpdateResponse) Status ¶
func (r SearchUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (SearchUpdateResponse) StatusCode ¶
func (r SearchUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetRequest ¶
type SetRequest struct { // Ex optional - ttl specific to this key in second Ex *uint64 `json:"ex,omitempty"` // Nx set only if the key doesn't exist Nx *bool `json:"nx,omitempty"` // Px optional - ttl specific to this key in millisecond Px *uint64 `json:"px,omitempty"` // Value free form byte[] value Value *[]byte `json:"value,omitempty"` // Xx set only if the key exist Xx *bool `json:"xx,omitempty"` }
SetRequest defines model for SetRequest.
type SetResponse ¶
type SetResponse struct { // Message A detailed response message. Message *string `json:"message,omitempty"` // Status An enum with value set as "set" Status *string `json:"status,omitempty"` }
SetResponse defines model for SetResponse.
type Status ¶
type Status struct { // Error The Error type defines a logical error model Error *Error `json:"error,omitempty"` }
Status defines model for Status.
type StreamingReadResponse ¶
type StreamingReadResponse struct { // Error 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 { // Error The Error type defines a logical error model Error *Error `json:"error,omitempty"` // Result Response struct for search Result *SearchResponse `json:"result,omitempty"` }
StreamingSearchResponse defines model for StreamingSearchResponse.
type TigrisBeginTransactionJSONRequestBody ¶
type TigrisBeginTransactionJSONRequestBody = BeginTransactionRequest
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 TigrisCommitTransactionJSONRequestBody ¶
type TigrisCommitTransactionJSONRequestBody = CommitTransactionRequest
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 TigrisCreateAppKeyJSONRequestBody ¶
type TigrisCreateAppKeyJSONRequestBody = CreateAppKeyRequest
TigrisCreateAppKeyJSONRequestBody defines body for TigrisCreateAppKey for application/json ContentType.
type TigrisCreateAppKeyResponse ¶
type TigrisCreateAppKeyResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateAppKeyResponse JSONDefault *Status }
func ParseTigrisCreateAppKeyResponse ¶
func ParseTigrisCreateAppKeyResponse(rsp *http.Response) (*TigrisCreateAppKeyResponse, error)
ParseTigrisCreateAppKeyResponse parses an HTTP response from a TigrisCreateAppKeyWithResponse call
func (TigrisCreateAppKeyResponse) Status ¶
func (r TigrisCreateAppKeyResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisCreateAppKeyResponse) StatusCode ¶
func (r TigrisCreateAppKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisCreateBranchJSONRequestBody ¶
type TigrisCreateBranchJSONRequestBody = CreateBranchRequest
TigrisCreateBranchJSONRequestBody defines body for TigrisCreateBranch for application/json ContentType.
type TigrisCreateBranchResponse ¶
type TigrisCreateBranchResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateBranchResponse JSONDefault *Status }
func ParseTigrisCreateBranchResponse ¶
func ParseTigrisCreateBranchResponse(rsp *http.Response) (*TigrisCreateBranchResponse, error)
ParseTigrisCreateBranchResponse parses an HTTP response from a TigrisCreateBranchWithResponse call
func (TigrisCreateBranchResponse) Status ¶
func (r TigrisCreateBranchResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisCreateBranchResponse) StatusCode ¶
func (r TigrisCreateBranchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisCreateOrUpdateCollectionJSONRequestBody ¶
type TigrisCreateOrUpdateCollectionJSONRequestBody = CreateOrUpdateCollectionRequest
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 TigrisCreateProjectJSONRequestBody ¶
type TigrisCreateProjectJSONRequestBody = CreateProjectRequest
TigrisCreateProjectJSONRequestBody defines body for TigrisCreateProject for application/json ContentType.
type TigrisCreateProjectResponse ¶
type TigrisCreateProjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *CreateProjectResponse JSONDefault *Status }
func ParseTigrisCreateProjectResponse ¶
func ParseTigrisCreateProjectResponse(rsp *http.Response) (*TigrisCreateProjectResponse, error)
ParseTigrisCreateProjectResponse parses an HTTP response from a TigrisCreateProjectWithResponse call
func (TigrisCreateProjectResponse) Status ¶
func (r TigrisCreateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisCreateProjectResponse) StatusCode ¶
func (r TigrisCreateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisDeleteAppKeyJSONRequestBody ¶
type TigrisDeleteAppKeyJSONRequestBody = DeleteAppKeyRequest
TigrisDeleteAppKeyJSONRequestBody defines body for TigrisDeleteAppKey for application/json ContentType.
type TigrisDeleteAppKeyResponse ¶
type TigrisDeleteAppKeyResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteAppKeyResponse JSONDefault *Status }
func ParseTigrisDeleteAppKeyResponse ¶
func ParseTigrisDeleteAppKeyResponse(rsp *http.Response) (*TigrisDeleteAppKeyResponse, error)
ParseTigrisDeleteAppKeyResponse parses an HTTP response from a TigrisDeleteAppKeyWithResponse call
func (TigrisDeleteAppKeyResponse) Status ¶
func (r TigrisDeleteAppKeyResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisDeleteAppKeyResponse) StatusCode ¶
func (r TigrisDeleteAppKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisDeleteBranchJSONRequestBody ¶
type TigrisDeleteBranchJSONRequestBody = DeleteBranchRequest
TigrisDeleteBranchJSONRequestBody defines body for TigrisDeleteBranch for application/json ContentType.
type TigrisDeleteBranchResponse ¶
type TigrisDeleteBranchResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteBranchResponse JSONDefault *Status }
func ParseTigrisDeleteBranchResponse ¶
func ParseTigrisDeleteBranchResponse(rsp *http.Response) (*TigrisDeleteBranchResponse, error)
ParseTigrisDeleteBranchResponse parses an HTTP response from a TigrisDeleteBranchWithResponse call
func (TigrisDeleteBranchResponse) Status ¶
func (r TigrisDeleteBranchResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisDeleteBranchResponse) StatusCode ¶
func (r TigrisDeleteBranchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisDeleteJSONRequestBody ¶
type TigrisDeleteJSONRequestBody = DeleteRequest
TigrisDeleteJSONRequestBody defines body for TigrisDelete for application/json ContentType.
type TigrisDeleteProjectJSONRequestBody ¶
type TigrisDeleteProjectJSONRequestBody = DeleteProjectRequest
TigrisDeleteProjectJSONRequestBody defines body for TigrisDeleteProject for application/json ContentType.
type TigrisDeleteProjectResponse ¶
type TigrisDeleteProjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeleteProjectResponse JSONDefault *Status }
func ParseTigrisDeleteProjectResponse ¶
func ParseTigrisDeleteProjectResponse(rsp *http.Response) (*TigrisDeleteProjectResponse, error)
ParseTigrisDeleteProjectResponse parses an HTTP response from a TigrisDeleteProjectWithResponse call
func (TigrisDeleteProjectResponse) Status ¶
func (r TigrisDeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisDeleteProjectResponse) StatusCode ¶
func (r TigrisDeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 TigrisDescribeCollectionJSONRequestBody ¶
type TigrisDescribeCollectionJSONRequestBody = DescribeCollectionRequest
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 TigrisDescribeDatabaseJSONRequestBody ¶
type TigrisDescribeDatabaseJSONRequestBody = DescribeDatabaseRequest
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 TigrisDropCollectionJSONRequestBody ¶
type TigrisDropCollectionJSONRequestBody = DropCollectionRequest
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 TigrisImportJSONRequestBody ¶
type TigrisImportJSONRequestBody = ImportRequest
TigrisImportJSONRequestBody defines body for TigrisImport for application/json ContentType.
type TigrisImportResponse ¶
type TigrisImportResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ImportResponse JSONDefault *Status }
func ParseTigrisImportResponse ¶
func ParseTigrisImportResponse(rsp *http.Response) (*TigrisImportResponse, error)
ParseTigrisImportResponse parses an HTTP response from a TigrisImportWithResponse call
func (TigrisImportResponse) Status ¶
func (r TigrisImportResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisImportResponse) StatusCode ¶
func (r TigrisImportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisInsertJSONRequestBody ¶
type TigrisInsertJSONRequestBody = InsertRequest
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 TigrisListAppKeysResponse ¶
type TigrisListAppKeysResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListAppKeysResponse JSONDefault *Status }
func ParseTigrisListAppKeysResponse ¶
func ParseTigrisListAppKeysResponse(rsp *http.Response) (*TigrisListAppKeysResponse, error)
ParseTigrisListAppKeysResponse parses an HTTP response from a TigrisListAppKeysWithResponse call
func (TigrisListAppKeysResponse) Status ¶
func (r TigrisListAppKeysResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisListAppKeysResponse) StatusCode ¶
func (r TigrisListAppKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisListBranchesResponse ¶
type TigrisListBranchesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListBranchesResponse JSONDefault *Status }
func ParseTigrisListBranchesResponse ¶
func ParseTigrisListBranchesResponse(rsp *http.Response) (*TigrisListBranchesResponse, error)
ParseTigrisListBranchesResponse parses an HTTP response from a TigrisListBranchesWithResponse call
func (TigrisListBranchesResponse) Status ¶
func (r TigrisListBranchesResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisListBranchesResponse) StatusCode ¶
func (r TigrisListBranchesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisListCollectionsParams ¶
type TigrisListCollectionsParams struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `form:"branch,omitempty" json:"branch,omitempty"` }
TigrisListCollectionsParams defines parameters for TigrisListCollections.
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 TigrisListProjectsResponse ¶
type TigrisListProjectsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ListProjectsResponse JSONDefault *Status }
func ParseTigrisListProjectsResponse ¶
func ParseTigrisListProjectsResponse(rsp *http.Response) (*TigrisListProjectsResponse, error)
ParseTigrisListProjectsResponse parses an HTTP response from a TigrisListProjectsWithResponse call
func (TigrisListProjectsResponse) Status ¶
func (r TigrisListProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisListProjectsResponse) StatusCode ¶
func (r TigrisListProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisReadJSONRequestBody ¶
type TigrisReadJSONRequestBody = ReadRequest
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 TigrisReplaceJSONRequestBody ¶
type TigrisReplaceJSONRequestBody = ReplaceRequest
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 TigrisRollbackTransactionJSONRequestBody ¶
type TigrisRollbackTransactionJSONRequestBody = RollbackTransactionRequest
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 TigrisRotateAppKeySecretJSONRequestBody ¶
type TigrisRotateAppKeySecretJSONRequestBody = RotateAppKeyRequest
TigrisRotateAppKeySecretJSONRequestBody defines body for TigrisRotateAppKeySecret for application/json ContentType.
type TigrisRotateAppKeySecretResponse ¶
type TigrisRotateAppKeySecretResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RotateAppKeyResponse JSONDefault *Status }
func ParseTigrisRotateAppKeySecretResponse ¶
func ParseTigrisRotateAppKeySecretResponse(rsp *http.Response) (*TigrisRotateAppKeySecretResponse, error)
ParseTigrisRotateAppKeySecretResponse parses an HTTP response from a TigrisRotateAppKeySecretWithResponse call
func (TigrisRotateAppKeySecretResponse) Status ¶
func (r TigrisRotateAppKeySecretResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisRotateAppKeySecretResponse) StatusCode ¶
func (r TigrisRotateAppKeySecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisSearchJSONRequestBody ¶
type TigrisSearchJSONRequestBody = SearchRequest
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 TigrisUpdateAppKeyJSONRequestBody ¶
type TigrisUpdateAppKeyJSONRequestBody = UpdateAppKeyRequest
TigrisUpdateAppKeyJSONRequestBody defines body for TigrisUpdateAppKey for application/json ContentType.
type TigrisUpdateAppKeyResponse ¶
type TigrisUpdateAppKeyResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UpdateAppKeyResponse JSONDefault *Status }
func ParseTigrisUpdateAppKeyResponse ¶
func ParseTigrisUpdateAppKeyResponse(rsp *http.Response) (*TigrisUpdateAppKeyResponse, error)
ParseTigrisUpdateAppKeyResponse parses an HTTP response from a TigrisUpdateAppKeyWithResponse call
func (TigrisUpdateAppKeyResponse) Status ¶
func (r TigrisUpdateAppKeyResponse) Status() string
Status returns HTTPResponse.Status
func (TigrisUpdateAppKeyResponse) StatusCode ¶
func (r TigrisUpdateAppKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TigrisUpdateJSONRequestBody ¶
type TigrisUpdateJSONRequestBody = UpdateRequest
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 { // Id Unique for a single transactional request. Id *string `json:"id,omitempty"` // Origin Serves as an internal identifier. Origin *string `json:"origin,omitempty"` }
TransactionCtx 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{}
TransactionOptions Options that can be used to modify the transaction semantics.
type UpdateAppKeyRequest ¶
type UpdateAppKeyRequest struct { // Description A new human readable app description Description *string `json:"description,omitempty"` // Id app key id - this is not allowed to update Id *string `json:"id,omitempty"` // Name A new human readable app name Name *string `json:"name,omitempty"` }
UpdateAppKeyRequest To update the description of the app key
type UpdateAppKeyResponse ¶
type UpdateAppKeyResponse struct { // UpdatedAppKey An user AppKey UpdatedAppKey *AppKey `json:"updated_app_key,omitempty"` }
UpdateAppKeyResponse Returns response for updating the app key description
type UpdateDocumentRequest ¶
type UpdateDocumentRequest struct { // Documents An array of documents. Each document should have "id" present which will be used by Tigris for updating the document. Documents *[]json.RawMessage `json:"documents,omitempty"` // Index Index name where to create documents. Index *string `json:"index,omitempty"` // Project Project name whose db is under target to insert documents. Project *string `json:"project,omitempty"` }
UpdateDocumentRequest defines model for UpdateDocumentRequest.
type UpdateDocumentResponse ¶
type UpdateDocumentResponse struct { // Status An array of statuses of all the documents received in the request. Order is same as it is received in the request. Each item of this array has an “id” and “error” key. Id is set as document id and error will be null in case of success, otherwise error is set with an error code and message. Status *[]DocStatus `json:"status,omitempty"` }
UpdateDocumentResponse defines model for UpdateDocumentResponse.
type UpdateNamespaceMetadataRequest ¶
type UpdateNamespaceMetadataRequest struct { MetadataKey *string `json:"metadataKey,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
UpdateNamespaceMetadataRequest Request update of namespace metadata
type UpdateNamespaceMetadataResponse ¶
type UpdateNamespaceMetadataResponse struct { MetadataKey *string `json:"metadataKey,omitempty"` NamespaceId *uint32 `json:"namespaceId,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
UpdateNamespaceMetadataResponse Update of namespace metadata response
type UpdateRequest ¶
type UpdateRequest struct { // Branch Optionally specify a database branch name to perform operation on Branch *string `json:"branch,omitempty"` // Fields Fields contains set of fields with the values which need to be updated. Should be proper JSON object. Fields json.RawMessage `json:"fields,omitempty"` // Filter 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"` // Options Additional options for update requests. Options *UpdateRequestOptions `json:"options,omitempty"` }
UpdateRequest defines model for UpdateRequest.
type UpdateRequestOptions ¶
type UpdateRequestOptions struct { // Collation 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 Limit the number of documents to be updated Limit *int64 `json:"limit,omitempty"` // WriteOptions Additional options to modify write requests. WriteOptions *WriteOptions `json:"write_options,omitempty"` }
UpdateRequestOptions Additional options for update requests.
type UpdateResponse ¶
type UpdateResponse struct { // Metadata Has metadata related to the documents stored. Metadata *ResponseMetadata `json:"metadata,omitempty"` // ModifiedCount Returns the number of documents modified. ModifiedCount *int32 `json:"modified_count,omitempty"` // Status 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"` }
UpdateUserMetadataRequest 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"` }
UpdateUserMetadataResponse Update of user metadata response
type WriteOptions ¶
type WriteOptions = map[string]interface{}
WriteOptions Additional options to modify write requests.