nexus

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-helpers. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_temporal_api_cloud_nexus_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AllowedCloudNamespacePolicySpec

type AllowedCloudNamespacePolicySpec struct {

	// The namespace that is allowed to call into this endpoint. Calling namespace must be in same account as the endpoint.
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AllowedCloudNamespacePolicySpec) Descriptor deprecated

func (*AllowedCloudNamespacePolicySpec) Descriptor() ([]byte, []int)

Deprecated: Use AllowedCloudNamespacePolicySpec.ProtoReflect.Descriptor instead.

func (*AllowedCloudNamespacePolicySpec) Equal

func (this *AllowedCloudNamespacePolicySpec) Equal(that interface{}) bool

Equal returns whether two AllowedCloudNamespacePolicySpec values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*AllowedCloudNamespacePolicySpec) GetNamespaceId

func (x *AllowedCloudNamespacePolicySpec) GetNamespaceId() string

func (*AllowedCloudNamespacePolicySpec) Marshal

func (val *AllowedCloudNamespacePolicySpec) Marshal() ([]byte, error)

Marshal an object of type AllowedCloudNamespacePolicySpec to the protobuf v3 wire format

func (*AllowedCloudNamespacePolicySpec) ProtoMessage

func (*AllowedCloudNamespacePolicySpec) ProtoMessage()

func (*AllowedCloudNamespacePolicySpec) ProtoReflect

func (*AllowedCloudNamespacePolicySpec) Reset

func (*AllowedCloudNamespacePolicySpec) Size

Size returns the size of the object, in bytes, once serialized

func (*AllowedCloudNamespacePolicySpec) String

func (*AllowedCloudNamespacePolicySpec) Unmarshal

func (val *AllowedCloudNamespacePolicySpec) Unmarshal(buf []byte) error

Unmarshal an object of type AllowedCloudNamespacePolicySpec from the protobuf v3 wire format

type Endpoint

type Endpoint struct {

	// The id of the endpoint. This is generated by the server and is immutable.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The current version of the endpoint specification.
	// The next update operation must include this version.
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The endpoint specification.
	Spec *EndpointSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current state of the endpoint.
	// For any failed state, reach out to Temporal Cloud support for remediation.
	State v1.ResourceState `protobuf:"varint,4,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"`
	// The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.
	AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// The date and time when the endpoint was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// The date and time when the endpoint was last modified.
	LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// contains filtered or unexported fields
}

An endpoint that receives and then routes Nexus requests

func (*Endpoint) Descriptor deprecated

func (*Endpoint) Descriptor() ([]byte, []int)

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) Equal

func (this *Endpoint) Equal(that interface{}) bool

Equal returns whether two Endpoint values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*Endpoint) GetAsyncOperationId

func (x *Endpoint) GetAsyncOperationId() string

func (*Endpoint) GetCreatedTime

func (x *Endpoint) GetCreatedTime() *timestamppb.Timestamp

func (*Endpoint) GetId

func (x *Endpoint) GetId() string

func (*Endpoint) GetLastModifiedTime

func (x *Endpoint) GetLastModifiedTime() *timestamppb.Timestamp

func (*Endpoint) GetResourceVersion

func (x *Endpoint) GetResourceVersion() string

func (*Endpoint) GetSpec

func (x *Endpoint) GetSpec() *EndpointSpec

func (*Endpoint) GetState

func (x *Endpoint) GetState() v1.ResourceState

func (*Endpoint) Marshal

func (val *Endpoint) Marshal() ([]byte, error)

Marshal an object of type Endpoint to the protobuf v3 wire format

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

func (x *Endpoint) ProtoReflect() protoreflect.Message

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) Size

func (val *Endpoint) Size() int

Size returns the size of the object, in bytes, once serialized

func (*Endpoint) String

func (x *Endpoint) String() string

func (*Endpoint) Unmarshal

func (val *Endpoint) Unmarshal(buf []byte) error

Unmarshal an object of type Endpoint from the protobuf v3 wire format

type EndpointPolicySpec

type EndpointPolicySpec struct {

	// Types that are assignable to Variant:
	//
	//	*EndpointPolicySpec_AllowedCloudNamespacePolicySpec
	Variant isEndpointPolicySpec_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

func (*EndpointPolicySpec) Descriptor deprecated

func (*EndpointPolicySpec) Descriptor() ([]byte, []int)

Deprecated: Use EndpointPolicySpec.ProtoReflect.Descriptor instead.

func (*EndpointPolicySpec) Equal

func (this *EndpointPolicySpec) Equal(that interface{}) bool

Equal returns whether two EndpointPolicySpec values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*EndpointPolicySpec) GetAllowedCloudNamespacePolicySpec

func (x *EndpointPolicySpec) GetAllowedCloudNamespacePolicySpec() *AllowedCloudNamespacePolicySpec

func (*EndpointPolicySpec) GetVariant

func (m *EndpointPolicySpec) GetVariant() isEndpointPolicySpec_Variant

func (*EndpointPolicySpec) Marshal

func (val *EndpointPolicySpec) Marshal() ([]byte, error)

Marshal an object of type EndpointPolicySpec to the protobuf v3 wire format

func (*EndpointPolicySpec) ProtoMessage

func (*EndpointPolicySpec) ProtoMessage()

func (*EndpointPolicySpec) ProtoReflect

func (x *EndpointPolicySpec) ProtoReflect() protoreflect.Message

func (*EndpointPolicySpec) Reset

func (x *EndpointPolicySpec) Reset()

func (*EndpointPolicySpec) Size

func (val *EndpointPolicySpec) Size() int

Size returns the size of the object, in bytes, once serialized

func (*EndpointPolicySpec) String

func (x *EndpointPolicySpec) String() string

func (*EndpointPolicySpec) Unmarshal

func (val *EndpointPolicySpec) Unmarshal(buf []byte) error

Unmarshal an object of type EndpointPolicySpec from the protobuf v3 wire format

type EndpointPolicySpec_AllowedCloudNamespacePolicySpec

type EndpointPolicySpec_AllowedCloudNamespacePolicySpec struct {
	// A policy spec that allows one caller namespace to access the endpoint.
	AllowedCloudNamespacePolicySpec *AllowedCloudNamespacePolicySpec `protobuf:"bytes,1,opt,name=allowed_cloud_namespace_policy_spec,json=allowedCloudNamespacePolicySpec,proto3,oneof"`
}

type EndpointSpec

type EndpointSpec struct {

	// The name of the endpoint. Must be unique within an account.
	// The name must match `^[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9]$`.
	// This field is mutable.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Indicates where the endpoint should forward received nexus requests to.
	TargetSpec *EndpointTargetSpec `protobuf:"bytes,2,opt,name=target_spec,json=targetSpec,proto3" json:"target_spec,omitempty"`
	// The set of policies (e.g. authorization) for the endpoint. Each request's caller
	// must match with at least one of the specs to be accepted by the endpoint.
	// This field is mutable.
	PolicySpecs []*EndpointPolicySpec `protobuf:"bytes,3,rep,name=policy_specs,json=policySpecs,proto3" json:"policy_specs,omitempty"`
	// The markdown description of the endpoint - optional.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*EndpointSpec) Descriptor deprecated

func (*EndpointSpec) Descriptor() ([]byte, []int)

Deprecated: Use EndpointSpec.ProtoReflect.Descriptor instead.

func (*EndpointSpec) Equal

func (this *EndpointSpec) Equal(that interface{}) bool

Equal returns whether two EndpointSpec values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*EndpointSpec) GetDescription

func (x *EndpointSpec) GetDescription() string

func (*EndpointSpec) GetName

func (x *EndpointSpec) GetName() string

func (*EndpointSpec) GetPolicySpecs

func (x *EndpointSpec) GetPolicySpecs() []*EndpointPolicySpec

func (*EndpointSpec) GetTargetSpec

func (x *EndpointSpec) GetTargetSpec() *EndpointTargetSpec

func (*EndpointSpec) Marshal

func (val *EndpointSpec) Marshal() ([]byte, error)

Marshal an object of type EndpointSpec to the protobuf v3 wire format

func (*EndpointSpec) ProtoMessage

func (*EndpointSpec) ProtoMessage()

func (*EndpointSpec) ProtoReflect

func (x *EndpointSpec) ProtoReflect() protoreflect.Message

func (*EndpointSpec) Reset

func (x *EndpointSpec) Reset()

func (*EndpointSpec) Size

func (val *EndpointSpec) Size() int

Size returns the size of the object, in bytes, once serialized

func (*EndpointSpec) String

func (x *EndpointSpec) String() string

func (*EndpointSpec) Unmarshal

func (val *EndpointSpec) Unmarshal(buf []byte) error

Unmarshal an object of type EndpointSpec from the protobuf v3 wire format

type EndpointTargetSpec

type EndpointTargetSpec struct {

	// Types that are assignable to Variant:
	//
	//	*EndpointTargetSpec_WorkerTargetSpec
	Variant isEndpointTargetSpec_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

func (*EndpointTargetSpec) Descriptor deprecated

func (*EndpointTargetSpec) Descriptor() ([]byte, []int)

Deprecated: Use EndpointTargetSpec.ProtoReflect.Descriptor instead.

func (*EndpointTargetSpec) Equal

func (this *EndpointTargetSpec) Equal(that interface{}) bool

Equal returns whether two EndpointTargetSpec values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*EndpointTargetSpec) GetVariant

func (m *EndpointTargetSpec) GetVariant() isEndpointTargetSpec_Variant

func (*EndpointTargetSpec) GetWorkerTargetSpec

func (x *EndpointTargetSpec) GetWorkerTargetSpec() *WorkerTargetSpec

func (*EndpointTargetSpec) Marshal

func (val *EndpointTargetSpec) Marshal() ([]byte, error)

Marshal an object of type EndpointTargetSpec to the protobuf v3 wire format

func (*EndpointTargetSpec) ProtoMessage

func (*EndpointTargetSpec) ProtoMessage()

func (*EndpointTargetSpec) ProtoReflect

func (x *EndpointTargetSpec) ProtoReflect() protoreflect.Message

func (*EndpointTargetSpec) Reset

func (x *EndpointTargetSpec) Reset()

func (*EndpointTargetSpec) Size

func (val *EndpointTargetSpec) Size() int

Size returns the size of the object, in bytes, once serialized

func (*EndpointTargetSpec) String

func (x *EndpointTargetSpec) String() string

func (*EndpointTargetSpec) Unmarshal

func (val *EndpointTargetSpec) Unmarshal(buf []byte) error

Unmarshal an object of type EndpointTargetSpec from the protobuf v3 wire format

type EndpointTargetSpec_WorkerTargetSpec

type EndpointTargetSpec_WorkerTargetSpec struct {
	// A target spec for routing nexus requests to a specific cloud namespace worker.
	WorkerTargetSpec *WorkerTargetSpec `protobuf:"bytes,1,opt,name=worker_target_spec,json=workerTargetSpec,proto3,oneof"`
}

type WorkerTargetSpec

type WorkerTargetSpec struct {

	// The target cloud namespace to route requests to. Namespace must be in same account as the endpoint. This field is mutable.
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	// The task queue on the cloud namespace to route requests to. This field is mutable.
	TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkerTargetSpec) Descriptor deprecated

func (*WorkerTargetSpec) Descriptor() ([]byte, []int)

Deprecated: Use WorkerTargetSpec.ProtoReflect.Descriptor instead.

func (*WorkerTargetSpec) Equal

func (this *WorkerTargetSpec) Equal(that interface{}) bool

Equal returns whether two WorkerTargetSpec values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*WorkerTargetSpec) GetNamespaceId

func (x *WorkerTargetSpec) GetNamespaceId() string

func (*WorkerTargetSpec) GetTaskQueue

func (x *WorkerTargetSpec) GetTaskQueue() string

func (*WorkerTargetSpec) Marshal

func (val *WorkerTargetSpec) Marshal() ([]byte, error)

Marshal an object of type WorkerTargetSpec to the protobuf v3 wire format

func (*WorkerTargetSpec) ProtoMessage

func (*WorkerTargetSpec) ProtoMessage()

func (*WorkerTargetSpec) ProtoReflect

func (x *WorkerTargetSpec) ProtoReflect() protoreflect.Message

func (*WorkerTargetSpec) Reset

func (x *WorkerTargetSpec) Reset()

func (*WorkerTargetSpec) Size

func (val *WorkerTargetSpec) Size() int

Size returns the size of the object, in bytes, once serialized

func (*WorkerTargetSpec) String

func (x *WorkerTargetSpec) String() string

func (*WorkerTargetSpec) Unmarshal

func (val *WorkerTargetSpec) Unmarshal(buf []byte) error

Unmarshal an object of type WorkerTargetSpec from the protobuf v3 wire format

Jump to

Keyboard shortcuts

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