Documentation
¶
Index ¶
- Constants
- func AccountIDFromAdminRoleID(in string) string
- 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 Store
Constants ¶
View Source
const ( AuthorizationHeader = "Authorization" AuthorizationHeaderPrefix = "Bearer" )
View Source
const ( TemporalCloudAPIVersionHeader = "temporal-cloud-api-version" TemporalCloudAPIVersion = "2023-10-01-00" )
Variables ¶
This section is empty.
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 Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a client for the Temporal Cloud API.
func NewConnectionWithAPIKey ¶
func (*Store) AccountServiceClient ¶
func (c *Store) AccountServiceClient() accountservice.AccountServiceClient
func (*Store) CloudServiceClient ¶
func (c *Store) CloudServiceClient() cloudservicev1.CloudServiceClient
func (*Store) GetCurrentAccountID ¶
func (*Store) RequestServiceClient ¶
func (c *Store) RequestServiceClient() requestservice.RequestServiceClient
Click to show internal directories.
Click to hide internal directories.