qcloudapi

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const HybridCloudProviderID = "hybrid"

HybridCloudProviderID is the cloud provider identifier for hybrid cloud environments.

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) Account added in v0.20.0

func (c *Client) Account() accountv1.AccountServiceClient

Account returns the AccountService gRPC client.

func (*Client) Auth added in v0.19.0

func (c *Client) Auth() authv1.AuthServiceClient

Auth returns the AuthService gRPC client.

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() *ClusterClient

Cluster returns the ClusterService gRPC client.

func (*Client) DatabaseApiKey

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

DatabaseApiKey returns the DatabaseApiKeyService gRPC client.

func (*Client) Hybrid added in v0.15.0

Hybrid returns the HybridCloudService gRPC client.

func (*Client) IAM added in v0.20.0

func (c *Client) IAM() iamv1.IAMServiceClient

IAM returns the IAMService gRPC client.

func (*Client) Monitoring added in v0.17.0

Monitoring returns the MonitoringService gRPC client.

func (*Client) Platform

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

Platform returns the PlatformService gRPC client.

type ClusterClient added in v0.15.0

type ClusterClient struct {
	clusterv1.ClusterServiceClient
}

ClusterClient wraps the generated ClusterServiceClient with convenience methods.

func (*ClusterClient) ListAllClusters added in v0.16.0

func (c *ClusterClient) ListAllClusters(ctx context.Context, accountID string) ([]*clusterv1.Cluster, error)

ListAllClusters returns all clusters (cloud and hybrid), auto-paginating.

func (*ClusterClient) ListCloudClusters added in v0.15.0

func (c *ClusterClient) ListCloudClusters(ctx context.Context, accountID string) ([]*clusterv1.Cluster, error)

ListCloudClusters returns all non-hybrid clusters, auto-paginating.

func (*ClusterClient) ListHybridClusters added in v0.15.0

func (c *ClusterClient) ListHybridClusters(ctx context.Context, accountID string) ([]*clusterv1.Cluster, error)

ListHybridClusters returns all hybrid clusters, auto-paginating.

Jump to

Keyboard shortcuts

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