qcloudapi

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client wraps a gRPC connection to the Qdrant Cloud API.

func New

func New(ctx context.Context, endpoint, apiKey, version string) (*Client, error)

New creates a new gRPC client connected to the given endpoint with the given API key.

func NewWithDialOptions

func NewWithDialOptions(endpoint, apiKey string, opts ...grpc.DialOption) (*Client, error)

NewWithDialOptions creates a Client with the auth interceptor always applied, plus any additional dial options (e.g. custom transport for testing).

func (*Client) Backup added in v0.2.0

func (c *Client) Backup() backupv1.BackupServiceClient

Backup returns the BackupService gRPC client.

func (*Client) Booking

func (c *Client) Booking() bookingv1.BookingServiceClient

Booking returns the BookingService gRPC client.

func (*Client) Close

func (c *Client) Close() error

Close closes the underlying gRPC connection.

func (*Client) Cluster

func (c *Client) Cluster() clusterv1.ClusterServiceClient

Cluster returns the ClusterService gRPC client.

func (*Client) DatabaseApiKey

func (c *Client) DatabaseApiKey() clusterauthv2.DatabaseApiKeyServiceClient

DatabaseApiKey returns the DatabaseApiKeyService gRPC client.

func (*Client) Platform

func (c *Client) Platform() platformv1.PlatformServiceClient

Platform returns the PlatformService gRPC client.

Jump to

Keyboard shortcuts

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