{"modulePath":"github.com/qdrant/qcloud-cli","version":"v0.37.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package qcloudapi\n\n## Constants\n\n```go\nconst HybridCloudProviderID = \"hybrid\"\n```\nHybridCloudProviderID is the cloud provider identifier for hybrid cloud environments.\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\nClient wraps a gRPC connection to the Qdrant Cloud API.\n\n```go\nfunc New(ctx context.Context, endpoint, apiKey, version string) (*Client, error)\n```\nNew creates a new gRPC client connected to the given endpoint with the given API key.\n\n```go\nfunc NewWithDialOptions(endpoint, apiKey string, opts ...grpc.DialOption) (*Client, error)\n```\nNewWithDialOptions creates a Client with the auth interceptor always applied, plus any additional dial options (e.g. custom transport for testing).\n\n```go\nfunc NewWithTokenSource(ctx context.Context, endpoint string, ts oauth2.TokenSource, version string) (*Client, error)\n```\nNewWithTokenSource creates a client that sends Authorization: Bearer \\\u003ctoken\u003e with a token from ts on every call, so a token that expires during a long command (such as --wait) is refreshed.\n\n```go\nfunc (c *Client) Account() accountv1.AccountServiceClient\n```\nAccount returns the AccountService gRPC client.\n\n```go\nfunc (c *Client) Auth() authv1.AuthServiceClient\n```\nAuth returns the AuthService gRPC client.\n\n```go\nfunc (c *Client) Backup() backupv1.BackupServiceClient\n```\nBackup returns the BackupService gRPC client.\n\n```go\nfunc (c *Client) Booking() bookingv1.BookingServiceClient\n```\nBooking returns the BookingService gRPC client.\n\n```go\nfunc (c *Client) Close() error\n```\nClose closes the underlying gRPC connection.\n\n```go\nfunc (c *Client) Cluster() *ClusterClient\n```\nCluster returns the ClusterService gRPC client.\n\n```go\nfunc (c *Client) DatabaseApiKey() clusterauthv2.DatabaseApiKeyServiceClient\n```\nDatabaseApiKey returns the DatabaseApiKeyService gRPC client.\n\n```go\nfunc (c *Client) Hybrid() hybridv1.HybridCloudServiceClient\n```\nHybrid returns the HybridCloudService gRPC client.\n\n```go\nfunc (c *Client) IAM() iamv1.IAMServiceClient\n```\nIAM returns the IAMService gRPC client.\n\n```go\nfunc (c *Client) Metering() meteringv1.MeteringServiceClient\n```\nMetering returns the MeteringService gRPC client.\n\n```go\nfunc (c *Client) Monitoring() monitoringv1.MonitoringServiceClient\n```\nMonitoring returns the MonitoringService gRPC client.\n\n```go\nfunc (c *Client) Platform() platformv1.PlatformServiceClient\n```\nPlatform returns the PlatformService gRPC client.\n\n```go\nfunc (c *Client) ServerlessBackup() spacebackupv1.BackupServiceClient\n```\nServerlessBackup returns the serverless BackupService gRPC client.\n\n```go\nfunc (c *Client) ServerlessMonitoring() serverlessmonitoringv1.MonitoringServiceClient\n```\nServerlessMonitoring returns the serverless MonitoringService gRPC client.\n\n```go\nfunc (c *Client) ServerlessPlatform() serverlessplatformv1.PlatformServiceClient\n```\nServerlessPlatform returns the serverless PlatformService gRPC client.\n\n```go\nfunc (c *Client) ServerlessQuota() serverlessquotav1.QuotaServiceClient\n```\nServerlessQuota returns the serverless QuotaService gRPC client.\n\n```go\nfunc (c *Client) ServerlessSampleDataset() spacedatasetv1.SampleDatasetServiceClient\n```\nServerlessSampleDataset returns the serverless SampleDatasetService gRPC client.\n\n```go\nfunc (c *Client) ServerlessSpace() spacev1.SpaceServiceClient\n```\nServerlessSpace returns the serverless SpaceService gRPC client.\n\n```go\nfunc (c *Client) ServerlessSpaceApiKey() spaceauthv1.SpaceApiKeyServiceClient\n```\nServerlessSpaceApiKey returns the serverless SpaceApiKeyService gRPC client.\n\n```go\ntype ClusterClient struct {\n\tclusterv1.ClusterServiceClient\n}\n```\nClusterClient wraps the generated ClusterServiceClient with convenience methods.\n\n```go\nfunc (c *ClusterClient) ListAllClusters(ctx context.Context, accountID string) ([]*clusterv1.Cluster, error)\n```\nListAllClusters returns all clusters (cloud and hybrid), auto-paginating.\n\n","path":"github.com/qdrant/qcloud-cli/internal/qcloudapi","name":"qcloudapi","synopsis":"","isRedistributable":true}
