Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterOperatorServiceServer(s grpc.ServiceRegistrar, srv OperatorServiceServer)
- type AddOrUpdateRemoteClusterRequest
- func (*AddOrUpdateRemoteClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddOrUpdateRemoteClusterRequest) GetEnableRemoteClusterConnection() bool
- func (x *AddOrUpdateRemoteClusterRequest) GetFrontendAddress() string
- func (x *AddOrUpdateRemoteClusterRequest) GetFrontendHttpAddress() string
- func (*AddOrUpdateRemoteClusterRequest) ProtoMessage()
- func (x *AddOrUpdateRemoteClusterRequest) ProtoReflect() protoreflect.Message
- func (x *AddOrUpdateRemoteClusterRequest) Reset()
- func (x *AddOrUpdateRemoteClusterRequest) String() string
- type AddOrUpdateRemoteClusterResponse
- func (*AddOrUpdateRemoteClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddOrUpdateRemoteClusterResponse) ProtoMessage()
- func (x *AddOrUpdateRemoteClusterResponse) ProtoReflect() protoreflect.Message
- func (x *AddOrUpdateRemoteClusterResponse) Reset()
- func (x *AddOrUpdateRemoteClusterResponse) String() string
- type AddSearchAttributesRequest
- func (*AddSearchAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddSearchAttributesRequest) GetNamespace() string
- func (x *AddSearchAttributesRequest) GetSearchAttributes() map[string]v1.IndexedValueType
- func (*AddSearchAttributesRequest) ProtoMessage()
- func (x *AddSearchAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *AddSearchAttributesRequest) Reset()
- func (x *AddSearchAttributesRequest) String() string
- type AddSearchAttributesResponse
- type ClusterMetadata
- func (*ClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterMetadata) GetAddress() string
- func (x *ClusterMetadata) GetClusterId() string
- func (x *ClusterMetadata) GetClusterName() string
- func (x *ClusterMetadata) GetHistoryShardCount() int32
- func (x *ClusterMetadata) GetHttpAddress() string
- func (x *ClusterMetadata) GetInitialFailoverVersion() int64
- func (x *ClusterMetadata) GetIsConnectionEnabled() bool
- func (*ClusterMetadata) ProtoMessage()
- func (x *ClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *ClusterMetadata) Reset()
- func (x *ClusterMetadata) String() string
- type CreateNexusEndpointRequest
- func (*CreateNexusEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNexusEndpointRequest) GetSpec() *v11.EndpointSpec
- func (*CreateNexusEndpointRequest) ProtoMessage()
- func (x *CreateNexusEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNexusEndpointRequest) Reset()
- func (x *CreateNexusEndpointRequest) String() string
- type CreateNexusEndpointResponse
- func (*CreateNexusEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNexusEndpointResponse) GetEndpoint() *v11.Endpoint
- func (*CreateNexusEndpointResponse) ProtoMessage()
- func (x *CreateNexusEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNexusEndpointResponse) Reset()
- func (x *CreateNexusEndpointResponse) String() string
- type DeleteNamespaceRequest
- func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceRequest) GetNamespace() string
- func (x *DeleteNamespaceRequest) GetNamespaceDeleteDelay() *durationpb.Duration
- func (x *DeleteNamespaceRequest) GetNamespaceId() string
- func (*DeleteNamespaceRequest) ProtoMessage()
- func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceRequest) Reset()
- func (x *DeleteNamespaceRequest) String() string
- type DeleteNamespaceResponse
- func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceResponse) GetDeletedNamespace() string
- func (*DeleteNamespaceResponse) ProtoMessage()
- func (x *DeleteNamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceResponse) Reset()
- func (x *DeleteNamespaceResponse) String() string
- type DeleteNexusEndpointRequest
- func (*DeleteNexusEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNexusEndpointRequest) GetId() string
- func (x *DeleteNexusEndpointRequest) GetVersion() int64
- func (*DeleteNexusEndpointRequest) ProtoMessage()
- func (x *DeleteNexusEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNexusEndpointRequest) Reset()
- func (x *DeleteNexusEndpointRequest) String() string
- type DeleteNexusEndpointResponse
- type GetNexusEndpointRequest
- func (*GetNexusEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNexusEndpointRequest) GetId() string
- func (*GetNexusEndpointRequest) ProtoMessage()
- func (x *GetNexusEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *GetNexusEndpointRequest) Reset()
- func (x *GetNexusEndpointRequest) String() string
- type GetNexusEndpointResponse
- func (*GetNexusEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNexusEndpointResponse) GetEndpoint() *v11.Endpoint
- func (*GetNexusEndpointResponse) ProtoMessage()
- func (x *GetNexusEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *GetNexusEndpointResponse) Reset()
- func (x *GetNexusEndpointResponse) String() string
- type ListClustersRequest
- func (*ListClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersRequest) GetNextPageToken() []byte
- func (x *ListClustersRequest) GetPageSize() int32
- func (*ListClustersRequest) ProtoMessage()
- func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListClustersRequest) Reset()
- func (x *ListClustersRequest) String() string
- type ListClustersResponse
- func (*ListClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersResponse) GetClusters() []*ClusterMetadata
- func (x *ListClustersResponse) GetNextPageToken() []byte
- func (*ListClustersResponse) ProtoMessage()
- func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListClustersResponse) Reset()
- func (x *ListClustersResponse) String() string
- type ListNexusEndpointsRequest
- func (*ListNexusEndpointsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNexusEndpointsRequest) GetName() string
- func (x *ListNexusEndpointsRequest) GetNextPageToken() []byte
- func (x *ListNexusEndpointsRequest) GetPageSize() int32
- func (*ListNexusEndpointsRequest) ProtoMessage()
- func (x *ListNexusEndpointsRequest) ProtoReflect() protoreflect.Message
- func (x *ListNexusEndpointsRequest) Reset()
- func (x *ListNexusEndpointsRequest) String() string
- type ListNexusEndpointsResponse
- func (*ListNexusEndpointsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNexusEndpointsResponse) GetEndpoints() []*v11.Endpoint
- func (x *ListNexusEndpointsResponse) GetNextPageToken() []byte
- func (*ListNexusEndpointsResponse) ProtoMessage()
- func (x *ListNexusEndpointsResponse) ProtoReflect() protoreflect.Message
- func (x *ListNexusEndpointsResponse) Reset()
- func (x *ListNexusEndpointsResponse) String() string
- type ListSearchAttributesRequest
- func (*ListSearchAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSearchAttributesRequest) GetNamespace() string
- func (*ListSearchAttributesRequest) ProtoMessage()
- func (x *ListSearchAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSearchAttributesRequest) Reset()
- func (x *ListSearchAttributesRequest) String() string
- type ListSearchAttributesResponse
- func (*ListSearchAttributesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSearchAttributesResponse) GetCustomAttributes() map[string]v1.IndexedValueType
- func (x *ListSearchAttributesResponse) GetStorageSchema() map[string]string
- func (x *ListSearchAttributesResponse) GetSystemAttributes() map[string]v1.IndexedValueType
- func (*ListSearchAttributesResponse) ProtoMessage()
- func (x *ListSearchAttributesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSearchAttributesResponse) Reset()
- func (x *ListSearchAttributesResponse) String() string
- type OperatorServiceClient
- type OperatorServiceServer
- type RemoveRemoteClusterRequest
- func (*RemoveRemoteClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRemoteClusterRequest) GetClusterName() string
- func (*RemoveRemoteClusterRequest) ProtoMessage()
- func (x *RemoveRemoteClusterRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRemoteClusterRequest) Reset()
- func (x *RemoveRemoteClusterRequest) String() string
- type RemoveRemoteClusterResponse
- type RemoveSearchAttributesRequest
- func (*RemoveSearchAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSearchAttributesRequest) GetNamespace() string
- func (x *RemoveSearchAttributesRequest) GetSearchAttributes() []string
- func (*RemoveSearchAttributesRequest) ProtoMessage()
- func (x *RemoveSearchAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveSearchAttributesRequest) Reset()
- func (x *RemoveSearchAttributesRequest) String() string
- type RemoveSearchAttributesResponse
- func (*RemoveSearchAttributesResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveSearchAttributesResponse) ProtoMessage()
- func (x *RemoveSearchAttributesResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveSearchAttributesResponse) Reset()
- func (x *RemoveSearchAttributesResponse) String() string
- type UnimplementedOperatorServiceServer
- func (UnimplementedOperatorServiceServer) AddOrUpdateRemoteCluster(context.Context, *AddOrUpdateRemoteClusterRequest) (*AddOrUpdateRemoteClusterResponse, error)
- func (UnimplementedOperatorServiceServer) AddSearchAttributes(context.Context, *AddSearchAttributesRequest) (*AddSearchAttributesResponse, error)
- func (UnimplementedOperatorServiceServer) CreateNexusEndpoint(context.Context, *CreateNexusEndpointRequest) (*CreateNexusEndpointResponse, error)
- func (UnimplementedOperatorServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error)
- func (UnimplementedOperatorServiceServer) DeleteNexusEndpoint(context.Context, *DeleteNexusEndpointRequest) (*DeleteNexusEndpointResponse, error)
- func (UnimplementedOperatorServiceServer) GetNexusEndpoint(context.Context, *GetNexusEndpointRequest) (*GetNexusEndpointResponse, error)
- func (UnimplementedOperatorServiceServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
- func (UnimplementedOperatorServiceServer) ListNexusEndpoints(context.Context, *ListNexusEndpointsRequest) (*ListNexusEndpointsResponse, error)
- func (UnimplementedOperatorServiceServer) ListSearchAttributes(context.Context, *ListSearchAttributesRequest) (*ListSearchAttributesResponse, error)
- func (UnimplementedOperatorServiceServer) RemoveRemoteCluster(context.Context, *RemoveRemoteClusterRequest) (*RemoveRemoteClusterResponse, error)
- func (UnimplementedOperatorServiceServer) RemoveSearchAttributes(context.Context, *RemoveSearchAttributesRequest) (*RemoveSearchAttributesResponse, error)
- func (UnimplementedOperatorServiceServer) UpdateNexusEndpoint(context.Context, *UpdateNexusEndpointRequest) (*UpdateNexusEndpointResponse, error)
- type UnsafeOperatorServiceServer
- type UpdateNexusEndpointRequest
- func (*UpdateNexusEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNexusEndpointRequest) GetId() string
- func (x *UpdateNexusEndpointRequest) GetSpec() *v11.EndpointSpec
- func (x *UpdateNexusEndpointRequest) GetVersion() int64
- func (*UpdateNexusEndpointRequest) ProtoMessage()
- func (x *UpdateNexusEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNexusEndpointRequest) Reset()
- func (x *UpdateNexusEndpointRequest) String() string
- type UpdateNexusEndpointResponse
- func (*UpdateNexusEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNexusEndpointResponse) GetEndpoint() *v11.Endpoint
- func (*UpdateNexusEndpointResponse) ProtoMessage()
- func (x *UpdateNexusEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateNexusEndpointResponse) Reset()
- func (x *UpdateNexusEndpointResponse) String() string
Constants ¶
const ( OperatorService_AddSearchAttributes_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes" OperatorService_RemoveSearchAttributes_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes" OperatorService_ListSearchAttributes_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes" OperatorService_DeleteNamespace_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace" OperatorService_AddOrUpdateRemoteCluster_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster" OperatorService_RemoveRemoteCluster_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster" OperatorService_ListClusters_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/ListClusters" OperatorService_GetNexusEndpoint_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint" OperatorService_CreateNexusEndpoint_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint" OperatorService_UpdateNexusEndpoint_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint" OperatorService_DeleteNexusEndpoint_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint" OperatorService_ListNexusEndpoints_FullMethodName = "/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints" )
Variables ¶
var File_temporal_api_operatorservice_v1_request_response_proto protoreflect.FileDescriptor
var File_temporal_api_operatorservice_v1_service_proto protoreflect.FileDescriptor
var OperatorService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "temporal.api.operatorservice.v1.OperatorService", HandlerType: (*OperatorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddSearchAttributes", Handler: _OperatorService_AddSearchAttributes_Handler, }, { MethodName: "RemoveSearchAttributes", Handler: _OperatorService_RemoveSearchAttributes_Handler, }, { MethodName: "ListSearchAttributes", Handler: _OperatorService_ListSearchAttributes_Handler, }, { MethodName: "DeleteNamespace", Handler: _OperatorService_DeleteNamespace_Handler, }, { MethodName: "AddOrUpdateRemoteCluster", Handler: _OperatorService_AddOrUpdateRemoteCluster_Handler, }, { MethodName: "RemoveRemoteCluster", Handler: _OperatorService_RemoveRemoteCluster_Handler, }, { MethodName: "ListClusters", Handler: _OperatorService_ListClusters_Handler, }, { MethodName: "GetNexusEndpoint", Handler: _OperatorService_GetNexusEndpoint_Handler, }, { MethodName: "CreateNexusEndpoint", Handler: _OperatorService_CreateNexusEndpoint_Handler, }, { MethodName: "UpdateNexusEndpoint", Handler: _OperatorService_UpdateNexusEndpoint_Handler, }, { MethodName: "DeleteNexusEndpoint", Handler: _OperatorService_DeleteNexusEndpoint_Handler, }, { MethodName: "ListNexusEndpoints", Handler: _OperatorService_ListNexusEndpoints_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "temporal/api/operatorservice/v1/service.proto", }
OperatorService_ServiceDesc is the grpc.ServiceDesc for OperatorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOperatorServiceServer ¶
func RegisterOperatorServiceServer(s grpc.ServiceRegistrar, srv OperatorServiceServer)
Types ¶
type AddOrUpdateRemoteClusterRequest ¶
type AddOrUpdateRemoteClusterRequest struct {
// Frontend Address is a cross cluster accessible address for gRPC traffic. This field is required.
FrontendAddress string `protobuf:"bytes,1,opt,name=frontend_address,json=frontendAddress,proto3" json:"frontend_address,omitempty"`
// Flag to enable / disable the cross cluster connection.
EnableRemoteClusterConnection bool `` /* 153-byte string literal not displayed */
// Frontend HTTP Address is a cross cluster accessible address for HTTP traffic. This field is optional. If not provided
//
// on update, the existing HTTP address will be removed.
FrontendHttpAddress string `protobuf:"bytes,3,opt,name=frontend_http_address,json=frontendHttpAddress,proto3" json:"frontend_http_address,omitempty"`
// contains filtered or unexported fields
}
func (*AddOrUpdateRemoteClusterRequest) Descriptor
deprecated
func (*AddOrUpdateRemoteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddOrUpdateRemoteClusterRequest.ProtoReflect.Descriptor instead.
func (*AddOrUpdateRemoteClusterRequest) GetEnableRemoteClusterConnection ¶
func (x *AddOrUpdateRemoteClusterRequest) GetEnableRemoteClusterConnection() bool
func (*AddOrUpdateRemoteClusterRequest) GetFrontendAddress ¶
func (x *AddOrUpdateRemoteClusterRequest) GetFrontendAddress() string
func (*AddOrUpdateRemoteClusterRequest) GetFrontendHttpAddress ¶ added in v4.13.0
func (x *AddOrUpdateRemoteClusterRequest) GetFrontendHttpAddress() string
func (*AddOrUpdateRemoteClusterRequest) ProtoMessage ¶
func (*AddOrUpdateRemoteClusterRequest) ProtoMessage()
func (*AddOrUpdateRemoteClusterRequest) ProtoReflect ¶
func (x *AddOrUpdateRemoteClusterRequest) ProtoReflect() protoreflect.Message
func (*AddOrUpdateRemoteClusterRequest) Reset ¶
func (x *AddOrUpdateRemoteClusterRequest) Reset()
func (*AddOrUpdateRemoteClusterRequest) String ¶
func (x *AddOrUpdateRemoteClusterRequest) String() string
type AddOrUpdateRemoteClusterResponse ¶
type AddOrUpdateRemoteClusterResponse struct {
// contains filtered or unexported fields
}
func (*AddOrUpdateRemoteClusterResponse) Descriptor
deprecated
func (*AddOrUpdateRemoteClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddOrUpdateRemoteClusterResponse.ProtoReflect.Descriptor instead.
func (*AddOrUpdateRemoteClusterResponse) ProtoMessage ¶
func (*AddOrUpdateRemoteClusterResponse) ProtoMessage()
func (*AddOrUpdateRemoteClusterResponse) ProtoReflect ¶
func (x *AddOrUpdateRemoteClusterResponse) ProtoReflect() protoreflect.Message
func (*AddOrUpdateRemoteClusterResponse) Reset ¶
func (x *AddOrUpdateRemoteClusterResponse) Reset()
func (*AddOrUpdateRemoteClusterResponse) String ¶
func (x *AddOrUpdateRemoteClusterResponse) String() string
type AddSearchAttributesRequest ¶
type AddSearchAttributesRequest struct {
// Mapping between search attribute name and its IndexedValueType.
SearchAttributes map[string]v1.IndexedValueType `` /* 228-byte string literal not displayed */
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
func (*AddSearchAttributesRequest) Descriptor
deprecated
func (*AddSearchAttributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddSearchAttributesRequest.ProtoReflect.Descriptor instead.
func (*AddSearchAttributesRequest) GetNamespace ¶
func (x *AddSearchAttributesRequest) GetNamespace() string
func (*AddSearchAttributesRequest) GetSearchAttributes ¶
func (x *AddSearchAttributesRequest) GetSearchAttributes() map[string]v1.IndexedValueType
func (*AddSearchAttributesRequest) ProtoMessage ¶
func (*AddSearchAttributesRequest) ProtoMessage()
func (*AddSearchAttributesRequest) ProtoReflect ¶
func (x *AddSearchAttributesRequest) ProtoReflect() protoreflect.Message
func (*AddSearchAttributesRequest) Reset ¶
func (x *AddSearchAttributesRequest) Reset()
func (*AddSearchAttributesRequest) String ¶
func (x *AddSearchAttributesRequest) String() string
type AddSearchAttributesResponse ¶
type AddSearchAttributesResponse struct {
// contains filtered or unexported fields
}
func (*AddSearchAttributesResponse) Descriptor
deprecated
func (*AddSearchAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddSearchAttributesResponse.ProtoReflect.Descriptor instead.
func (*AddSearchAttributesResponse) ProtoMessage ¶
func (*AddSearchAttributesResponse) ProtoMessage()
func (*AddSearchAttributesResponse) ProtoReflect ¶
func (x *AddSearchAttributesResponse) ProtoReflect() protoreflect.Message
func (*AddSearchAttributesResponse) Reset ¶
func (x *AddSearchAttributesResponse) Reset()
func (*AddSearchAttributesResponse) String ¶
func (x *AddSearchAttributesResponse) String() string
type ClusterMetadata ¶
type ClusterMetadata struct {
// Name of the cluster name.
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// Id of the cluster.
ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// gRPC address.
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
// HTTP address, if one exists.
HttpAddress string `protobuf:"bytes,7,opt,name=http_address,json=httpAddress,proto3" json:"http_address,omitempty"`
// A unique failover version across all connected clusters.
InitialFailoverVersion int64 `` /* 130-byte string literal not displayed */
// History service shard number.
HistoryShardCount int32 `protobuf:"varint,5,opt,name=history_shard_count,json=historyShardCount,proto3" json:"history_shard_count,omitempty"`
// A flag to indicate if a connection is active.
IsConnectionEnabled bool `protobuf:"varint,6,opt,name=is_connection_enabled,json=isConnectionEnabled,proto3" json:"is_connection_enabled,omitempty"`
// contains filtered or unexported fields
}
func (*ClusterMetadata) Descriptor
deprecated
func (*ClusterMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ClusterMetadata.ProtoReflect.Descriptor instead.
func (*ClusterMetadata) GetAddress ¶
func (x *ClusterMetadata) GetAddress() string
func (*ClusterMetadata) GetClusterId ¶
func (x *ClusterMetadata) GetClusterId() string
func (*ClusterMetadata) GetClusterName ¶
func (x *ClusterMetadata) GetClusterName() string
func (*ClusterMetadata) GetHistoryShardCount ¶
func (x *ClusterMetadata) GetHistoryShardCount() int32
func (*ClusterMetadata) GetHttpAddress ¶ added in v4.13.0
func (x *ClusterMetadata) GetHttpAddress() string
func (*ClusterMetadata) GetInitialFailoverVersion ¶
func (x *ClusterMetadata) GetInitialFailoverVersion() int64
func (*ClusterMetadata) GetIsConnectionEnabled ¶
func (x *ClusterMetadata) GetIsConnectionEnabled() bool
func (*ClusterMetadata) ProtoMessage ¶
func (*ClusterMetadata) ProtoMessage()
func (*ClusterMetadata) ProtoReflect ¶
func (x *ClusterMetadata) ProtoReflect() protoreflect.Message
func (*ClusterMetadata) Reset ¶
func (x *ClusterMetadata) Reset()
func (*ClusterMetadata) String ¶
func (x *ClusterMetadata) String() string
type CreateNexusEndpointRequest ¶ added in v4.13.0
type CreateNexusEndpointRequest struct {
// Endpoint definition to create.
Spec *v11.EndpointSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*CreateNexusEndpointRequest) Descriptor
deprecated
added in
v4.13.0
func (*CreateNexusEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNexusEndpointRequest.ProtoReflect.Descriptor instead.
func (*CreateNexusEndpointRequest) GetSpec ¶ added in v4.13.0
func (x *CreateNexusEndpointRequest) GetSpec() *v11.EndpointSpec
func (*CreateNexusEndpointRequest) ProtoMessage ¶ added in v4.13.0
func (*CreateNexusEndpointRequest) ProtoMessage()
func (*CreateNexusEndpointRequest) ProtoReflect ¶ added in v4.13.0
func (x *CreateNexusEndpointRequest) ProtoReflect() protoreflect.Message
func (*CreateNexusEndpointRequest) Reset ¶ added in v4.13.0
func (x *CreateNexusEndpointRequest) Reset()
func (*CreateNexusEndpointRequest) String ¶ added in v4.13.0
func (x *CreateNexusEndpointRequest) String() string
type CreateNexusEndpointResponse ¶ added in v4.13.0
type CreateNexusEndpointResponse struct {
// Data post acceptance. Can be used to issue additional updates to this record.
Endpoint *v11.Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
func (*CreateNexusEndpointResponse) Descriptor
deprecated
added in
v4.13.0
func (*CreateNexusEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNexusEndpointResponse.ProtoReflect.Descriptor instead.
func (*CreateNexusEndpointResponse) GetEndpoint ¶ added in v4.13.0
func (x *CreateNexusEndpointResponse) GetEndpoint() *v11.Endpoint
func (*CreateNexusEndpointResponse) ProtoMessage ¶ added in v4.13.0
func (*CreateNexusEndpointResponse) ProtoMessage()
func (*CreateNexusEndpointResponse) ProtoReflect ¶ added in v4.13.0
func (x *CreateNexusEndpointResponse) ProtoReflect() protoreflect.Message
func (*CreateNexusEndpointResponse) Reset ¶ added in v4.13.0
func (x *CreateNexusEndpointResponse) Reset()
func (*CreateNexusEndpointResponse) String ¶ added in v4.13.0
func (x *CreateNexusEndpointResponse) String() string
type DeleteNamespaceRequest ¶
type DeleteNamespaceRequest struct {
// Only one of namespace or namespace_id must be specified to identify namespace.
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
NamespaceId string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
// If provided, the deletion of namespace info will be delayed for the given duration (0 means no delay).
// If not provided, the default delay configured in the cluster will be used.
NamespaceDeleteDelay *durationpb.Duration `protobuf:"bytes,3,opt,name=namespace_delete_delay,json=namespaceDeleteDelay,proto3" json:"namespace_delete_delay,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteNamespaceRequest) Descriptor
deprecated
func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceRequest) GetNamespace ¶
func (x *DeleteNamespaceRequest) GetNamespace() string
func (*DeleteNamespaceRequest) GetNamespaceDeleteDelay ¶ added in v4.11.0
func (x *DeleteNamespaceRequest) GetNamespaceDeleteDelay() *durationpb.Duration
func (*DeleteNamespaceRequest) GetNamespaceId ¶ added in v4.10.0
func (x *DeleteNamespaceRequest) GetNamespaceId() string
func (*DeleteNamespaceRequest) ProtoMessage ¶
func (*DeleteNamespaceRequest) ProtoMessage()
func (*DeleteNamespaceRequest) ProtoReflect ¶
func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceRequest) Reset ¶
func (x *DeleteNamespaceRequest) Reset()
func (*DeleteNamespaceRequest) String ¶
func (x *DeleteNamespaceRequest) String() string
type DeleteNamespaceResponse ¶
type DeleteNamespaceResponse struct {
// Temporary namespace name that is used during reclaim resources step.
DeletedNamespace string `protobuf:"bytes,1,opt,name=deleted_namespace,json=deletedNamespace,proto3" json:"deleted_namespace,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteNamespaceResponse) Descriptor
deprecated
func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceResponse.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceResponse) GetDeletedNamespace ¶
func (x *DeleteNamespaceResponse) GetDeletedNamespace() string
func (*DeleteNamespaceResponse) ProtoMessage ¶
func (*DeleteNamespaceResponse) ProtoMessage()
func (*DeleteNamespaceResponse) ProtoReflect ¶
func (x *DeleteNamespaceResponse) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceResponse) Reset ¶
func (x *DeleteNamespaceResponse) Reset()
func (*DeleteNamespaceResponse) String ¶
func (x *DeleteNamespaceResponse) String() string
type DeleteNexusEndpointRequest ¶ added in v4.13.0
type DeleteNexusEndpointRequest struct {
// Server-generated unique endpoint ID.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Data version for this endpoint. Must match current version.
Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteNexusEndpointRequest) Descriptor
deprecated
added in
v4.13.0
func (*DeleteNexusEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNexusEndpointRequest.ProtoReflect.Descriptor instead.
func (*DeleteNexusEndpointRequest) GetId ¶ added in v4.13.0
func (x *DeleteNexusEndpointRequest) GetId() string
func (*DeleteNexusEndpointRequest) GetVersion ¶ added in v4.13.0
func (x *DeleteNexusEndpointRequest) GetVersion() int64
func (*DeleteNexusEndpointRequest) ProtoMessage ¶ added in v4.13.0
func (*DeleteNexusEndpointRequest) ProtoMessage()
func (*DeleteNexusEndpointRequest) ProtoReflect ¶ added in v4.13.0
func (x *DeleteNexusEndpointRequest) ProtoReflect() protoreflect.Message
func (*DeleteNexusEndpointRequest) Reset ¶ added in v4.13.0
func (x *DeleteNexusEndpointRequest) Reset()
func (*DeleteNexusEndpointRequest) String ¶ added in v4.13.0
func (x *DeleteNexusEndpointRequest) String() string
type DeleteNexusEndpointResponse ¶ added in v4.13.0
type DeleteNexusEndpointResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNexusEndpointResponse) Descriptor
deprecated
added in
v4.13.0
func (*DeleteNexusEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNexusEndpointResponse.ProtoReflect.Descriptor instead.
func (*DeleteNexusEndpointResponse) ProtoMessage ¶ added in v4.13.0
func (*DeleteNexusEndpointResponse) ProtoMessage()
func (*DeleteNexusEndpointResponse) ProtoReflect ¶ added in v4.13.0
func (x *DeleteNexusEndpointResponse) ProtoReflect() protoreflect.Message
func (*DeleteNexusEndpointResponse) Reset ¶ added in v4.13.0
func (x *DeleteNexusEndpointResponse) Reset()
func (*DeleteNexusEndpointResponse) String ¶ added in v4.13.0
func (x *DeleteNexusEndpointResponse) String() string
type GetNexusEndpointRequest ¶ added in v4.13.0
type GetNexusEndpointRequest struct {
// Server-generated unique endpoint ID.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetNexusEndpointRequest) Descriptor
deprecated
added in
v4.13.0
func (*GetNexusEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNexusEndpointRequest.ProtoReflect.Descriptor instead.
func (*GetNexusEndpointRequest) GetId ¶ added in v4.13.0
func (x *GetNexusEndpointRequest) GetId() string
func (*GetNexusEndpointRequest) ProtoMessage ¶ added in v4.13.0
func (*GetNexusEndpointRequest) ProtoMessage()
func (*GetNexusEndpointRequest) ProtoReflect ¶ added in v4.13.0
func (x *GetNexusEndpointRequest) ProtoReflect() protoreflect.Message
func (*GetNexusEndpointRequest) Reset ¶ added in v4.13.0
func (x *GetNexusEndpointRequest) Reset()
func (*GetNexusEndpointRequest) String ¶ added in v4.13.0
func (x *GetNexusEndpointRequest) String() string
type GetNexusEndpointResponse ¶ added in v4.13.0
type GetNexusEndpointResponse struct {
Endpoint *v11.Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
func (*GetNexusEndpointResponse) Descriptor
deprecated
added in
v4.13.0
func (*GetNexusEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNexusEndpointResponse.ProtoReflect.Descriptor instead.
func (*GetNexusEndpointResponse) GetEndpoint ¶ added in v4.13.0
func (x *GetNexusEndpointResponse) GetEndpoint() *v11.Endpoint
func (*GetNexusEndpointResponse) ProtoMessage ¶ added in v4.13.0
func (*GetNexusEndpointResponse) ProtoMessage()
func (*GetNexusEndpointResponse) ProtoReflect ¶ added in v4.13.0
func (x *GetNexusEndpointResponse) ProtoReflect() protoreflect.Message
func (*GetNexusEndpointResponse) Reset ¶ added in v4.13.0
func (x *GetNexusEndpointResponse) Reset()
func (*GetNexusEndpointResponse) String ¶ added in v4.13.0
func (x *GetNexusEndpointResponse) String() string
type ListClustersRequest ¶
type ListClustersRequest struct {
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListClustersRequest) Descriptor
deprecated
func (*ListClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (*ListClustersRequest) GetNextPageToken ¶
func (x *ListClustersRequest) GetNextPageToken() []byte
func (*ListClustersRequest) GetPageSize ¶
func (x *ListClustersRequest) GetPageSize() int32
func (*ListClustersRequest) ProtoMessage ¶
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) ProtoReflect ¶
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
func (*ListClustersRequest) Reset ¶
func (x *ListClustersRequest) Reset()
func (*ListClustersRequest) String ¶
func (x *ListClustersRequest) String() string
type ListClustersResponse ¶
type ListClustersResponse struct {
// List of all cluster information
Clusters []*ClusterMetadata `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
NextPageToken []byte `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListClustersResponse) Descriptor
deprecated
func (*ListClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.
func (*ListClustersResponse) GetClusters ¶
func (x *ListClustersResponse) GetClusters() []*ClusterMetadata
func (*ListClustersResponse) GetNextPageToken ¶
func (x *ListClustersResponse) GetNextPageToken() []byte
func (*ListClustersResponse) ProtoMessage ¶
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) ProtoReflect ¶
func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
func (*ListClustersResponse) Reset ¶
func (x *ListClustersResponse) Reset()
func (*ListClustersResponse) String ¶
func (x *ListClustersResponse) String() string
type ListNexusEndpointsRequest ¶ added in v4.13.0
type ListNexusEndpointsRequest struct {
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// To get the next page, pass in `ListNexusEndpointsResponse.next_page_token` from the previous page's
// response, the token will be empty if there's no other page.
// Note: the last page may be empty if the total number of endpoints registered is a multiple of the page size.
NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Name of the incoming endpoint to filter on - optional. Specifying this will result in zero or one results.
// (-- api-linter: core::203::field-behavior-required=disabled
//
// aip.dev/not-precedent: Not following linter rules. --)
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ListNexusEndpointsRequest) Descriptor
deprecated
added in
v4.13.0
func (*ListNexusEndpointsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNexusEndpointsRequest.ProtoReflect.Descriptor instead.
func (*ListNexusEndpointsRequest) GetName ¶ added in v4.13.0
func (x *ListNexusEndpointsRequest) GetName() string
func (*ListNexusEndpointsRequest) GetNextPageToken ¶ added in v4.13.0
func (x *ListNexusEndpointsRequest) GetNextPageToken() []byte
func (*ListNexusEndpointsRequest) GetPageSize ¶ added in v4.13.0
func (x *ListNexusEndpointsRequest) GetPageSize() int32
func (*ListNexusEndpointsRequest) ProtoMessage ¶ added in v4.13.0
func (*ListNexusEndpointsRequest) ProtoMessage()
func (*ListNexusEndpointsRequest) ProtoReflect ¶ added in v4.13.0
func (x *ListNexusEndpointsRequest) ProtoReflect() protoreflect.Message
func (*ListNexusEndpointsRequest) Reset ¶ added in v4.13.0
func (x *ListNexusEndpointsRequest) Reset()
func (*ListNexusEndpointsRequest) String ¶ added in v4.13.0
func (x *ListNexusEndpointsRequest) String() string
type ListNexusEndpointsResponse ¶ added in v4.13.0
type ListNexusEndpointsResponse struct {
// Token for getting the next page.
NextPageToken []byte `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
Endpoints []*v11.Endpoint `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// contains filtered or unexported fields
}
func (*ListNexusEndpointsResponse) Descriptor
deprecated
added in
v4.13.0
func (*ListNexusEndpointsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNexusEndpointsResponse.ProtoReflect.Descriptor instead.
func (*ListNexusEndpointsResponse) GetEndpoints ¶ added in v4.13.0
func (x *ListNexusEndpointsResponse) GetEndpoints() []*v11.Endpoint
func (*ListNexusEndpointsResponse) GetNextPageToken ¶ added in v4.13.0
func (x *ListNexusEndpointsResponse) GetNextPageToken() []byte
func (*ListNexusEndpointsResponse) ProtoMessage ¶ added in v4.13.0
func (*ListNexusEndpointsResponse) ProtoMessage()
func (*ListNexusEndpointsResponse) ProtoReflect ¶ added in v4.13.0
func (x *ListNexusEndpointsResponse) ProtoReflect() protoreflect.Message
func (*ListNexusEndpointsResponse) Reset ¶ added in v4.13.0
func (x *ListNexusEndpointsResponse) Reset()
func (*ListNexusEndpointsResponse) String ¶ added in v4.13.0
func (x *ListNexusEndpointsResponse) String() string
type ListSearchAttributesRequest ¶
type ListSearchAttributesRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
func (*ListSearchAttributesRequest) Descriptor
deprecated
func (*ListSearchAttributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSearchAttributesRequest.ProtoReflect.Descriptor instead.
func (*ListSearchAttributesRequest) GetNamespace ¶
func (x *ListSearchAttributesRequest) GetNamespace() string
func (*ListSearchAttributesRequest) ProtoMessage ¶
func (*ListSearchAttributesRequest) ProtoMessage()
func (*ListSearchAttributesRequest) ProtoReflect ¶
func (x *ListSearchAttributesRequest) ProtoReflect() protoreflect.Message
func (*ListSearchAttributesRequest) Reset ¶
func (x *ListSearchAttributesRequest) Reset()
func (*ListSearchAttributesRequest) String ¶
func (x *ListSearchAttributesRequest) String() string
type ListSearchAttributesResponse ¶
type ListSearchAttributesResponse struct {
// Mapping between custom (user-registered) search attribute name to its IndexedValueType.
CustomAttributes map[string]v1.IndexedValueType `` /* 228-byte string literal not displayed */
// Mapping between system (predefined) search attribute name to its IndexedValueType.
SystemAttributes map[string]v1.IndexedValueType `` /* 228-byte string literal not displayed */
// Mapping from the attribute name to the visibility storage native type.
StorageSchema map[string]string `` /* 174-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ListSearchAttributesResponse) Descriptor
deprecated
func (*ListSearchAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSearchAttributesResponse.ProtoReflect.Descriptor instead.
func (*ListSearchAttributesResponse) GetCustomAttributes ¶
func (x *ListSearchAttributesResponse) GetCustomAttributes() map[string]v1.IndexedValueType
func (*ListSearchAttributesResponse) GetStorageSchema ¶
func (x *ListSearchAttributesResponse) GetStorageSchema() map[string]string
func (*ListSearchAttributesResponse) GetSystemAttributes ¶
func (x *ListSearchAttributesResponse) GetSystemAttributes() map[string]v1.IndexedValueType
func (*ListSearchAttributesResponse) ProtoMessage ¶
func (*ListSearchAttributesResponse) ProtoMessage()
func (*ListSearchAttributesResponse) ProtoReflect ¶
func (x *ListSearchAttributesResponse) ProtoReflect() protoreflect.Message
func (*ListSearchAttributesResponse) Reset ¶
func (x *ListSearchAttributesResponse) Reset()
func (*ListSearchAttributesResponse) String ¶
func (x *ListSearchAttributesResponse) String() string
type OperatorServiceClient ¶
type OperatorServiceClient interface {
// AddSearchAttributes add custom search attributes.
//
// Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists
// Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails,
AddSearchAttributes(ctx context.Context, in *AddSearchAttributesRequest, opts ...grpc.CallOption) (*AddSearchAttributesResponse, error)
// RemoveSearchAttributes removes custom search attributes.
//
// Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered
RemoveSearchAttributes(ctx context.Context, in *RemoveSearchAttributesRequest, opts ...grpc.CallOption) (*RemoveSearchAttributesResponse, error)
// ListSearchAttributes returns comprehensive information about search attributes.
ListSearchAttributes(ctx context.Context, in *ListSearchAttributesRequest, opts ...grpc.CallOption) (*ListSearchAttributesResponse, error)
// DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.
DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error)
// AddOrUpdateRemoteCluster adds or updates remote cluster.
AddOrUpdateRemoteCluster(ctx context.Context, in *AddOrUpdateRemoteClusterRequest, opts ...grpc.CallOption) (*AddOrUpdateRemoteClusterResponse, error)
// RemoveRemoteCluster removes remote cluster.
RemoveRemoteCluster(ctx context.Context, in *RemoveRemoteClusterRequest, opts ...grpc.CallOption) (*RemoveRemoteClusterResponse, error)
// ListClusters returns information about Temporal clusters.
ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
// Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.
GetNexusEndpoint(ctx context.Context, in *GetNexusEndpointRequest, opts ...grpc.CallOption) (*GetNexusEndpointResponse, error)
// Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of
// ALREADY_EXISTS.
// Returns the created endpoint with its initial version. You may use this version for subsequent updates.
CreateNexusEndpoint(ctx context.Context, in *CreateNexusEndpointRequest, opts ...grpc.CallOption) (*CreateNexusEndpointResponse, error)
// Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or
// `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not
// match.
// Returns the updated endpoint with its updated version. You may use this version for subsequent updates. You don't
// need to increment the version yourself. The server will increment the version for you after each update.
UpdateNexusEndpoint(ctx context.Context, in *UpdateNexusEndpointRequest, opts ...grpc.CallOption) (*UpdateNexusEndpointResponse, error)
// Delete an incoming Nexus service by ID.
DeleteNexusEndpoint(ctx context.Context, in *DeleteNexusEndpointRequest, opts ...grpc.CallOption) (*DeleteNexusEndpointResponse, error)
// List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the
// next_page_token field of the previous response to get the next page of results. An empty next_page_token
// indicates that there are no more results. During pagination, a newly added service with an ID lexicographically
// earlier than the previous page's last endpoint's ID may be missed.
ListNexusEndpoints(ctx context.Context, in *ListNexusEndpointsRequest, opts ...grpc.CallOption) (*ListNexusEndpointsResponse, error)
}
OperatorServiceClient is the client API for OperatorService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by designated APIs that clearly state that they shouldn't be used by the main Application (Workflows & Activities) framework.
func NewOperatorServiceClient ¶
func NewOperatorServiceClient(cc grpc.ClientConnInterface) OperatorServiceClient
type OperatorServiceServer ¶
type OperatorServiceServer interface {
// AddSearchAttributes add custom search attributes.
//
// Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists
// Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails,
AddSearchAttributes(context.Context, *AddSearchAttributesRequest) (*AddSearchAttributesResponse, error)
// RemoveSearchAttributes removes custom search attributes.
//
// Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered
RemoveSearchAttributes(context.Context, *RemoveSearchAttributesRequest) (*RemoveSearchAttributesResponse, error)
// ListSearchAttributes returns comprehensive information about search attributes.
ListSearchAttributes(context.Context, *ListSearchAttributesRequest) (*ListSearchAttributesResponse, error)
// DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.
DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error)
// AddOrUpdateRemoteCluster adds or updates remote cluster.
AddOrUpdateRemoteCluster(context.Context, *AddOrUpdateRemoteClusterRequest) (*AddOrUpdateRemoteClusterResponse, error)
// RemoveRemoteCluster removes remote cluster.
RemoveRemoteCluster(context.Context, *RemoveRemoteClusterRequest) (*RemoveRemoteClusterResponse, error)
// ListClusters returns information about Temporal clusters.
ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
// Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.
GetNexusEndpoint(context.Context, *GetNexusEndpointRequest) (*GetNexusEndpointResponse, error)
// Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of
// ALREADY_EXISTS.
// Returns the created endpoint with its initial version. You may use this version for subsequent updates.
CreateNexusEndpoint(context.Context, *CreateNexusEndpointRequest) (*CreateNexusEndpointResponse, error)
// Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or
// `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not
// match.
// Returns the updated endpoint with its updated version. You may use this version for subsequent updates. You don't
// need to increment the version yourself. The server will increment the version for you after each update.
UpdateNexusEndpoint(context.Context, *UpdateNexusEndpointRequest) (*UpdateNexusEndpointResponse, error)
// Delete an incoming Nexus service by ID.
DeleteNexusEndpoint(context.Context, *DeleteNexusEndpointRequest) (*DeleteNexusEndpointResponse, error)
// List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the
// next_page_token field of the previous response to get the next page of results. An empty next_page_token
// indicates that there are no more results. During pagination, a newly added service with an ID lexicographically
// earlier than the previous page's last endpoint's ID may be missed.
ListNexusEndpoints(context.Context, *ListNexusEndpointsRequest) (*ListNexusEndpointsResponse, error)
}
OperatorServiceServer is the server API for OperatorService service. All implementations should embed UnimplementedOperatorServiceServer for forward compatibility.
OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by designated APIs that clearly state that they shouldn't be used by the main Application (Workflows & Activities) framework.
type RemoveRemoteClusterRequest ¶
type RemoveRemoteClusterRequest struct {
// Remote cluster name to be removed.
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveRemoteClusterRequest) Descriptor
deprecated
func (*RemoveRemoteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRemoteClusterRequest.ProtoReflect.Descriptor instead.
func (*RemoveRemoteClusterRequest) GetClusterName ¶
func (x *RemoveRemoteClusterRequest) GetClusterName() string
func (*RemoveRemoteClusterRequest) ProtoMessage ¶
func (*RemoveRemoteClusterRequest) ProtoMessage()
func (*RemoveRemoteClusterRequest) ProtoReflect ¶
func (x *RemoveRemoteClusterRequest) ProtoReflect() protoreflect.Message
func (*RemoveRemoteClusterRequest) Reset ¶
func (x *RemoveRemoteClusterRequest) Reset()
func (*RemoveRemoteClusterRequest) String ¶
func (x *RemoveRemoteClusterRequest) String() string
type RemoveRemoteClusterResponse ¶
type RemoveRemoteClusterResponse struct {
// contains filtered or unexported fields
}
func (*RemoveRemoteClusterResponse) Descriptor
deprecated
func (*RemoveRemoteClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRemoteClusterResponse.ProtoReflect.Descriptor instead.
func (*RemoveRemoteClusterResponse) ProtoMessage ¶
func (*RemoveRemoteClusterResponse) ProtoMessage()
func (*RemoveRemoteClusterResponse) ProtoReflect ¶
func (x *RemoveRemoteClusterResponse) ProtoReflect() protoreflect.Message
func (*RemoveRemoteClusterResponse) Reset ¶
func (x *RemoveRemoteClusterResponse) Reset()
func (*RemoveRemoteClusterResponse) String ¶
func (x *RemoveRemoteClusterResponse) String() string
type RemoveSearchAttributesRequest ¶
type RemoveSearchAttributesRequest struct {
// Search attribute names to delete.
SearchAttributes []string `protobuf:"bytes,1,rep,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveSearchAttributesRequest) Descriptor
deprecated
func (*RemoveSearchAttributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSearchAttributesRequest.ProtoReflect.Descriptor instead.
func (*RemoveSearchAttributesRequest) GetNamespace ¶
func (x *RemoveSearchAttributesRequest) GetNamespace() string
func (*RemoveSearchAttributesRequest) GetSearchAttributes ¶
func (x *RemoveSearchAttributesRequest) GetSearchAttributes() []string
func (*RemoveSearchAttributesRequest) ProtoMessage ¶
func (*RemoveSearchAttributesRequest) ProtoMessage()
func (*RemoveSearchAttributesRequest) ProtoReflect ¶
func (x *RemoveSearchAttributesRequest) ProtoReflect() protoreflect.Message
func (*RemoveSearchAttributesRequest) Reset ¶
func (x *RemoveSearchAttributesRequest) Reset()
func (*RemoveSearchAttributesRequest) String ¶
func (x *RemoveSearchAttributesRequest) String() string
type RemoveSearchAttributesResponse ¶
type RemoveSearchAttributesResponse struct {
// contains filtered or unexported fields
}
func (*RemoveSearchAttributesResponse) Descriptor
deprecated
func (*RemoveSearchAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSearchAttributesResponse.ProtoReflect.Descriptor instead.
func (*RemoveSearchAttributesResponse) ProtoMessage ¶
func (*RemoveSearchAttributesResponse) ProtoMessage()
func (*RemoveSearchAttributesResponse) ProtoReflect ¶
func (x *RemoveSearchAttributesResponse) ProtoReflect() protoreflect.Message
func (*RemoveSearchAttributesResponse) Reset ¶
func (x *RemoveSearchAttributesResponse) Reset()
func (*RemoveSearchAttributesResponse) String ¶
func (x *RemoveSearchAttributesResponse) String() string
type UnimplementedOperatorServiceServer ¶
type UnimplementedOperatorServiceServer struct{}
UnimplementedOperatorServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedOperatorServiceServer) AddOrUpdateRemoteCluster ¶
func (UnimplementedOperatorServiceServer) AddOrUpdateRemoteCluster(context.Context, *AddOrUpdateRemoteClusterRequest) (*AddOrUpdateRemoteClusterResponse, error)
func (UnimplementedOperatorServiceServer) AddSearchAttributes ¶
func (UnimplementedOperatorServiceServer) AddSearchAttributes(context.Context, *AddSearchAttributesRequest) (*AddSearchAttributesResponse, error)
func (UnimplementedOperatorServiceServer) CreateNexusEndpoint ¶ added in v4.13.0
func (UnimplementedOperatorServiceServer) CreateNexusEndpoint(context.Context, *CreateNexusEndpointRequest) (*CreateNexusEndpointResponse, error)
func (UnimplementedOperatorServiceServer) DeleteNamespace ¶
func (UnimplementedOperatorServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error)
func (UnimplementedOperatorServiceServer) DeleteNexusEndpoint ¶ added in v4.13.0
func (UnimplementedOperatorServiceServer) DeleteNexusEndpoint(context.Context, *DeleteNexusEndpointRequest) (*DeleteNexusEndpointResponse, error)
func (UnimplementedOperatorServiceServer) GetNexusEndpoint ¶ added in v4.13.0
func (UnimplementedOperatorServiceServer) GetNexusEndpoint(context.Context, *GetNexusEndpointRequest) (*GetNexusEndpointResponse, error)
func (UnimplementedOperatorServiceServer) ListClusters ¶
func (UnimplementedOperatorServiceServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (UnimplementedOperatorServiceServer) ListNexusEndpoints ¶ added in v4.13.0
func (UnimplementedOperatorServiceServer) ListNexusEndpoints(context.Context, *ListNexusEndpointsRequest) (*ListNexusEndpointsResponse, error)
func (UnimplementedOperatorServiceServer) ListSearchAttributes ¶
func (UnimplementedOperatorServiceServer) ListSearchAttributes(context.Context, *ListSearchAttributesRequest) (*ListSearchAttributesResponse, error)
func (UnimplementedOperatorServiceServer) RemoveRemoteCluster ¶
func (UnimplementedOperatorServiceServer) RemoveRemoteCluster(context.Context, *RemoveRemoteClusterRequest) (*RemoveRemoteClusterResponse, error)
func (UnimplementedOperatorServiceServer) RemoveSearchAttributes ¶
func (UnimplementedOperatorServiceServer) RemoveSearchAttributes(context.Context, *RemoveSearchAttributesRequest) (*RemoveSearchAttributesResponse, error)
func (UnimplementedOperatorServiceServer) UpdateNexusEndpoint ¶ added in v4.13.0
func (UnimplementedOperatorServiceServer) UpdateNexusEndpoint(context.Context, *UpdateNexusEndpointRequest) (*UpdateNexusEndpointResponse, error)
type UnsafeOperatorServiceServer ¶
type UnsafeOperatorServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOperatorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OperatorServiceServer will result in compilation errors.
type UpdateNexusEndpointRequest ¶ added in v4.13.0
type UpdateNexusEndpointRequest struct {
// Server-generated unique endpoint ID.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Data version for this endpoint. Must match current version.
Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
Spec *v11.EndpointSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateNexusEndpointRequest) Descriptor
deprecated
added in
v4.13.0
func (*UpdateNexusEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNexusEndpointRequest.ProtoReflect.Descriptor instead.
func (*UpdateNexusEndpointRequest) GetId ¶ added in v4.13.0
func (x *UpdateNexusEndpointRequest) GetId() string
func (*UpdateNexusEndpointRequest) GetSpec ¶ added in v4.13.0
func (x *UpdateNexusEndpointRequest) GetSpec() *v11.EndpointSpec
func (*UpdateNexusEndpointRequest) GetVersion ¶ added in v4.13.0
func (x *UpdateNexusEndpointRequest) GetVersion() int64
func (*UpdateNexusEndpointRequest) ProtoMessage ¶ added in v4.13.0
func (*UpdateNexusEndpointRequest) ProtoMessage()
func (*UpdateNexusEndpointRequest) ProtoReflect ¶ added in v4.13.0
func (x *UpdateNexusEndpointRequest) ProtoReflect() protoreflect.Message
func (*UpdateNexusEndpointRequest) Reset ¶ added in v4.13.0
func (x *UpdateNexusEndpointRequest) Reset()
func (*UpdateNexusEndpointRequest) String ¶ added in v4.13.0
func (x *UpdateNexusEndpointRequest) String() string
type UpdateNexusEndpointResponse ¶ added in v4.13.0
type UpdateNexusEndpointResponse struct {
// Data post acceptance. Can be used to issue additional updates to this record.
Endpoint *v11.Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateNexusEndpointResponse) Descriptor
deprecated
added in
v4.13.0
func (*UpdateNexusEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNexusEndpointResponse.ProtoReflect.Descriptor instead.
func (*UpdateNexusEndpointResponse) GetEndpoint ¶ added in v4.13.0
func (x *UpdateNexusEndpointResponse) GetEndpoint() *v11.Endpoint
func (*UpdateNexusEndpointResponse) ProtoMessage ¶ added in v4.13.0
func (*UpdateNexusEndpointResponse) ProtoMessage()
func (*UpdateNexusEndpointResponse) ProtoReflect ¶ added in v4.13.0
func (x *UpdateNexusEndpointResponse) ProtoReflect() protoreflect.Message
func (*UpdateNexusEndpointResponse) Reset ¶ added in v4.13.0
func (x *UpdateNexusEndpointResponse) Reset()
func (*UpdateNexusEndpointResponse) String ¶ added in v4.13.0
func (x *UpdateNexusEndpointResponse) String() string