Documentation ¶
Index ¶
- Constants
- Variables
- func AwaitAsyncOperation(ctx context.Context, client cloudservicev1.CloudServiceClient, ...) error
- func AwaitRequestStatus(ctx context.Context, c requestservice.RequestServiceClient, ...) error
- func NewAPIKeyRPCCredential(apikey string, allowInsecure bool) credentials.PerRPCCredentials
- type ClientStore
Constants ¶
View Source
const ( AuthorizationHeader = "Authorization" AuthorizationHeaderPrefix = "Bearer" )
View Source
const TemporalCloudAPIVersionHeader = "temporal-cloud-api-version"
Variables ¶
View Source
var TemporalCloudAPIVersion = "2023-10-01-00"
Functions ¶
func AwaitAsyncOperation ¶
func AwaitAsyncOperation(ctx context.Context, client cloudservicev1.CloudServiceClient, op *operationv1.AsyncOperation) error
func AwaitRequestStatus ¶
func NewAPIKeyRPCCredential ¶
func NewAPIKeyRPCCredential(apikey string, allowInsecure bool) credentials.PerRPCCredentials
Types ¶
type ClientStore ¶
type ClientStore struct {
// contains filtered or unexported fields
}
ClientStore is a client for the Temporal Cloud API.
func NewConnectionWithAPIKey ¶
func NewConnectionWithAPIKey(addrStr string, allowInsecure bool, apiKey string, opts ...grpc.DialOption) (*ClientStore, error)
func (*ClientStore) AccountServiceClient ¶
func (c *ClientStore) AccountServiceClient() accountservice.AccountServiceClient
func (*ClientStore) CloudServiceClient ¶
func (c *ClientStore) CloudServiceClient() cloudservicev1.CloudServiceClient
func (*ClientStore) RequestServiceClient ¶
func (c *ClientStore) RequestServiceClient() requestservice.RequestServiceClient
Click to show internal directories.
Click to hide internal directories.