namespacev1

package
v0.0.9-beta.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_temporal_api_cloud_namespace_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AWSPrivateLinkInfo

type AWSPrivateLinkInfo struct {

	// The list of principal arns that are allowed to access the namespace on the private link.
	AllowedPrincipalArns []string `protobuf:"bytes,1,rep,name=allowed_principal_arns,json=allowedPrincipalArns,proto3" json:"allowed_principal_arns,omitempty"`
	// The list of vpc endpoint service names that are associated with the namespace.
	VpcEndpointServiceNames []string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AWSPrivateLinkInfo) Descriptor deprecated

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

Deprecated: Use AWSPrivateLinkInfo.ProtoReflect.Descriptor instead.

func (*AWSPrivateLinkInfo) GetAllowedPrincipalArns

func (x *AWSPrivateLinkInfo) GetAllowedPrincipalArns() []string

func (*AWSPrivateLinkInfo) GetVpcEndpointServiceNames

func (x *AWSPrivateLinkInfo) GetVpcEndpointServiceNames() []string

func (*AWSPrivateLinkInfo) ProtoMessage

func (*AWSPrivateLinkInfo) ProtoMessage()

func (*AWSPrivateLinkInfo) ProtoReflect

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

func (*AWSPrivateLinkInfo) Reset

func (x *AWSPrivateLinkInfo) Reset()

func (*AWSPrivateLinkInfo) String

func (x *AWSPrivateLinkInfo) String() string

type CertificateFilterSpec

type CertificateFilterSpec struct {

	// The common_name in the certificate.
	// Optional, default is empty.
	CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	// The organization in the certificate.
	// Optional, default is empty.
	Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	// The organizational_unit in the certificate.
	// Optional, default is empty.
	OrganizationalUnit string `protobuf:"bytes,3,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
	// The subject_alternative_name in the certificate.
	// Optional, default is empty.
	SubjectAlternativeName string `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CertificateFilterSpec) Descriptor deprecated

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

Deprecated: Use CertificateFilterSpec.ProtoReflect.Descriptor instead.

func (*CertificateFilterSpec) GetCommonName

func (x *CertificateFilterSpec) GetCommonName() string

func (*CertificateFilterSpec) GetOrganization

func (x *CertificateFilterSpec) GetOrganization() string

func (*CertificateFilterSpec) GetOrganizationalUnit

func (x *CertificateFilterSpec) GetOrganizationalUnit() string

func (*CertificateFilterSpec) GetSubjectAlternativeName

func (x *CertificateFilterSpec) GetSubjectAlternativeName() string

func (*CertificateFilterSpec) ProtoMessage

func (*CertificateFilterSpec) ProtoMessage()

func (*CertificateFilterSpec) ProtoReflect

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

func (*CertificateFilterSpec) Reset

func (x *CertificateFilterSpec) Reset()

func (*CertificateFilterSpec) String

func (x *CertificateFilterSpec) String() string

type CodecServerSpec

type CodecServerSpec struct {

	// The codec server endpoint.
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Whether to pass the user access token with your endpoint.
	PassAccessToken bool `protobuf:"varint,2,opt,name=pass_access_token,json=passAccessToken,proto3" json:"pass_access_token,omitempty"`
	// Whether to include cross-origin credentials.
	IncludeCrossOriginCredentials bool `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CodecServerSpec) Descriptor deprecated

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

Deprecated: Use CodecServerSpec.ProtoReflect.Descriptor instead.

func (*CodecServerSpec) GetEndpoint

func (x *CodecServerSpec) GetEndpoint() string

func (*CodecServerSpec) GetIncludeCrossOriginCredentials

func (x *CodecServerSpec) GetIncludeCrossOriginCredentials() bool

func (*CodecServerSpec) GetPassAccessToken

func (x *CodecServerSpec) GetPassAccessToken() bool

func (*CodecServerSpec) ProtoMessage

func (*CodecServerSpec) ProtoMessage()

func (*CodecServerSpec) ProtoReflect

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

func (*CodecServerSpec) Reset

func (x *CodecServerSpec) Reset()

func (*CodecServerSpec) String

func (x *CodecServerSpec) String() string

type Endpoints

type Endpoints struct {

	// The web UI address.
	WebAddress string `protobuf:"bytes,1,opt,name=web_address,json=webAddress,proto3" json:"web_address,omitempty"`
	// The gRPC hostport address that the temporal workers, clients and tctl connect to.
	GrpcAddress string `protobuf:"bytes,2,opt,name=grpc_address,json=grpcAddress,proto3" json:"grpc_address,omitempty"`
	// contains filtered or unexported fields
}

func (*Endpoints) Descriptor deprecated

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

Deprecated: Use Endpoints.ProtoReflect.Descriptor instead.

func (*Endpoints) GetGrpcAddress

func (x *Endpoints) GetGrpcAddress() string

func (*Endpoints) GetWebAddress

func (x *Endpoints) GetWebAddress() string

func (*Endpoints) ProtoMessage

func (*Endpoints) ProtoMessage()

func (*Endpoints) ProtoReflect

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

func (*Endpoints) Reset

func (x *Endpoints) Reset()

func (*Endpoints) String

func (x *Endpoints) String() string

type Limits

type Limits struct {

	// The number of actions per second (APS) that is currently allowed for the namespace.
	// The namespace may be throttled if its APS exceeds the limit.
	ActionsPerSecondLimit int32 `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Limits) Descriptor deprecated

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

Deprecated: Use Limits.ProtoReflect.Descriptor instead.

func (*Limits) GetActionsPerSecondLimit

func (x *Limits) GetActionsPerSecondLimit() int32

func (*Limits) ProtoMessage

func (*Limits) ProtoMessage()

func (*Limits) ProtoReflect

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

func (*Limits) Reset

func (x *Limits) Reset()

func (*Limits) String

func (x *Limits) String() string

type MtlsAuthSpec

type MtlsAuthSpec struct {

	// The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization.
	// This must only be one value, but the CA can have a chain.
	AcceptedClientCa string `protobuf:"bytes,1,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"`
	// Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.
	// This allows limiting access to specific end-entity certificates.
	// Optional, default is empty.
	CertificateFilters []*CertificateFilterSpec `protobuf:"bytes,2,rep,name=certificate_filters,json=certificateFilters,proto3" json:"certificate_filters,omitempty"`
	// contains filtered or unexported fields
}

func (*MtlsAuthSpec) Descriptor deprecated

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

Deprecated: Use MtlsAuthSpec.ProtoReflect.Descriptor instead.

func (*MtlsAuthSpec) GetAcceptedClientCa

func (x *MtlsAuthSpec) GetAcceptedClientCa() string

func (*MtlsAuthSpec) GetCertificateFilters

func (x *MtlsAuthSpec) GetCertificateFilters() []*CertificateFilterSpec

func (*MtlsAuthSpec) ProtoMessage

func (*MtlsAuthSpec) ProtoMessage()

func (*MtlsAuthSpec) ProtoReflect

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

func (*MtlsAuthSpec) Reset

func (x *MtlsAuthSpec) Reset()

func (*MtlsAuthSpec) String

func (x *MtlsAuthSpec) String() string

type Namespace

type Namespace struct {

	// The namespace identifier.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// The current version of the namespace specification.
	// The next update operation will have to include this version.
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// The namespace specification.
	Spec *NamespaceSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// The current state of the namespace.
	State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// The id of the async operation that is creating/updating/deleting the namespace, if any.
	AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
	// The endpoints for the namespace.
	Endpoints *Endpoints `protobuf:"bytes,6,opt,name=endpoints,proto3" json:"endpoints,omitempty"`
	// The currently active region for the namespace.
	ActiveRegion string `protobuf:"bytes,7,opt,name=active_region,json=activeRegion,proto3" json:"active_region,omitempty"`
	// The limits set on the namespace currently.
	Limits *Limits `protobuf:"bytes,8,opt,name=limits,proto3" json:"limits,omitempty"`
	// The private connectivities for the namespace, if any.
	PrivateConnectivities []*PrivateConnectivity `protobuf:"bytes,9,rep,name=private_connectivities,json=privateConnectivities,proto3" json:"private_connectivities,omitempty"`
	// The date and time when the namespace was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// The date and time when the namespace was last modified.
	// Will not be set if the namespace has never been modified.
	LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Namespace) Descriptor deprecated

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

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetActiveRegion

func (x *Namespace) GetActiveRegion() string

func (*Namespace) GetAsyncOperationId

func (x *Namespace) GetAsyncOperationId() string

func (*Namespace) GetCreatedTime

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

func (*Namespace) GetEndpoints

func (x *Namespace) GetEndpoints() *Endpoints

func (*Namespace) GetLastModifiedTime

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

func (*Namespace) GetLimits

func (x *Namespace) GetLimits() *Limits

func (*Namespace) GetNamespace

func (x *Namespace) GetNamespace() string

func (*Namespace) GetPrivateConnectivities

func (x *Namespace) GetPrivateConnectivities() []*PrivateConnectivity

func (*Namespace) GetResourceVersion

func (x *Namespace) GetResourceVersion() string

func (*Namespace) GetSpec

func (x *Namespace) GetSpec() *NamespaceSpec

func (*Namespace) GetState

func (x *Namespace) GetState() string

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

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

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) String

func (x *Namespace) String() string

type NamespaceSpec

type NamespaceSpec struct {

	// The name to use for the namespace.
	// This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'.
	// The name is immutable. Once set, it cannot be changed.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The ids of the regions where the namespace should be available.
	// Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
	// Please reach out to Temporal support for more information on global namespaces.
	// When provisioned the global namespace will be active on the first region in the list and passive on the rest.
	// Number of supported regions is 2.
	// The regions is immutable. Once set, it cannot be changed.
	Regions []string `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"`
	// The number of days the workflows data will be retained for.
	// Changes to the retention period may impact your storage costs.
	// Any changes to the retention period will be applied to all new running workflows.
	RetentionDays int32 `protobuf:"varint,3,opt,name=retention_days,json=retentionDays,proto3" json:"retention_days,omitempty"`
	// The mtls authentication and authorization to enforce on the namespace.
	MtlsAuth *MtlsAuthSpec `protobuf:"bytes,4,opt,name=mtls_auth,json=mtlsAuth,proto3" json:"mtls_auth,omitempty"`
	// The custom search attributes to use for the namespace.
	// The name of the attribute is the key and the type is the value.
	// Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
	// NOTE: currently deleting a search attribute is not supported.
	// Optional, default is empty.
	CustomSearchAttributes map[string]string `` /* 217-byte string literal not displayed */
	// Codec server spec used by UI to decode payloads for all users interacting with this namespace.
	// Optional, default is unset.
	CodecServer *CodecServerSpec `protobuf:"bytes,6,opt,name=codec_server,json=codecServer,proto3" json:"codec_server,omitempty"`
	// contains filtered or unexported fields
}

func (*NamespaceSpec) Descriptor deprecated

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

Deprecated: Use NamespaceSpec.ProtoReflect.Descriptor instead.

func (*NamespaceSpec) GetCodecServer

func (x *NamespaceSpec) GetCodecServer() *CodecServerSpec

func (*NamespaceSpec) GetCustomSearchAttributes

func (x *NamespaceSpec) GetCustomSearchAttributes() map[string]string

func (*NamespaceSpec) GetMtlsAuth

func (x *NamespaceSpec) GetMtlsAuth() *MtlsAuthSpec

func (*NamespaceSpec) GetName

func (x *NamespaceSpec) GetName() string

func (*NamespaceSpec) GetRegions

func (x *NamespaceSpec) GetRegions() []string

func (*NamespaceSpec) GetRetentionDays

func (x *NamespaceSpec) GetRetentionDays() int32

func (*NamespaceSpec) ProtoMessage

func (*NamespaceSpec) ProtoMessage()

func (*NamespaceSpec) ProtoReflect

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

func (*NamespaceSpec) Reset

func (x *NamespaceSpec) Reset()

func (*NamespaceSpec) String

func (x *NamespaceSpec) String() string

type PrivateConnectivity

type PrivateConnectivity struct {

	// The id of the region where the private connectivity applies.
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	// The AWS PrivateLink info.
	// This will only be set for namespaces whose cloud provider is AWS.
	AwsPrivateLink *AWSPrivateLinkInfo `protobuf:"bytes,2,opt,name=aws_private_link,json=awsPrivateLink,proto3" json:"aws_private_link,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateConnectivity) Descriptor deprecated

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

Deprecated: Use PrivateConnectivity.ProtoReflect.Descriptor instead.

func (x *PrivateConnectivity) GetAwsPrivateLink() *AWSPrivateLinkInfo

func (*PrivateConnectivity) GetRegion

func (x *PrivateConnectivity) GetRegion() string

func (*PrivateConnectivity) ProtoMessage

func (*PrivateConnectivity) ProtoMessage()

func (*PrivateConnectivity) ProtoReflect

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

func (*PrivateConnectivity) Reset

func (x *PrivateConnectivity) Reset()

func (*PrivateConnectivity) String

func (x *PrivateConnectivity) String() string

Jump to

Keyboard shortcuts

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