Documentation
¶
Index ¶
- type Client
- func (c *Client) Backup() backupv1.BackupServiceClient
- func (c *Client) Booking() bookingv1.BookingServiceClient
- func (c *Client) Close() error
- func (c *Client) Cluster() *ClusterClient
- func (c *Client) DatabaseApiKey() clusterauthv2.DatabaseApiKeyServiceClient
- func (c *Client) Hybrid() hybridv1.HybridCloudServiceClient
- func (c *Client) Platform() platformv1.PlatformServiceClient
- type ClusterClient
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 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) 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
func (c *Client) Hybrid() hybridv1.HybridCloudServiceClient
Hybrid returns the HybridCloudService 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) 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.