client

package
v0.0.9-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

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 AwaitRequestStatus

func AwaitRequestStatus(ctx context.Context, c requestservice.RequestServiceClient, op *request.RequestStatus) error

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

Jump to

Keyboard shortcuts

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