Help us shape the future of Go! Take the 2026 Go Developer Survey

namespace

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AuthMethod_name = map[int32]string{
	0: "Unspecified",
	1: "Restricted",
	2: "Mtls",
	3: "ApiKey",
	4: "ApiKeyOrMtls",
}
View Source
var AuthMethod_value = map[string]int32{
	"Unspecified":  0,
	"Restricted":   1,
	"Mtls":         2,
	"ApiKey":       3,
	"ApiKeyOrMtls": 4,
}
View Source
var E_ApiVersion = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FileOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         52000,
	Name:          "api.namespace.v1.api_version",
	Tag:           "bytes,52000,opt,name=api_version",
	Filename:      "api/namespace/v1/message.proto",
}
View Source
var Environment_name = map[int32]string{
	0: "Unspecified",
	1: "Dev",
	2: "Test",
	3: "Prod",
}
View Source
var Environment_value = map[string]int32{
	"Unspecified": 0,
	"Dev":         1,
	"Test":        2,
	"Prod":        3,
}
View Source
var SearchAttributeType_name = map[int32]string{
	0: "Unspecified",
	1: "Keyword",
	2: "Text",
	3: "Int",
	4: "Double",
	5: "Datetime",
	6: "Bool",
	7: "KeywordList",
}
View Source
var SearchAttributeType_value = map[string]int32{
	"Unspecified": 0,
	"Keyword":     1,
	"Text":        2,
	"Int":         3,
	"Double":      4,
	"Datetime":    5,
	"Bool":        6,
	"KeywordList": 7,
}
View Source
var State_name = map[int32]string{
	0:  "Unspecified",
	1:  "Activating",
	2:  "ActivationFailed",
	3:  "Active",
	4:  "Updating",
	5:  "UpdateFailed",
	6:  "Deleting",
	7:  "DeleteFailed",
	8:  "Deleted",
	9:  "Suspending",
	10: "SuspendFailed",
	11: "Suspended",
}
View Source
var State_value = map[string]int32{
	"Unspecified":      0,
	"Activating":       1,
	"ActivationFailed": 2,
	"Active":           3,
	"Updating":         4,
	"UpdateFailed":     5,
	"Deleting":         6,
	"DeleteFailed":     7,
	"Deleted":          8,
	"Suspending":       9,
	"SuspendFailed":    10,
	"Suspended":        11,
}

Functions

This section is empty.

Types

type AuthMethod added in v0.20.0

type AuthMethod int32
const (
	AUTH_METHOD_UNSPECIFIED     AuthMethod = 0
	AUTH_METHOD_RESTRICTED      AuthMethod = 1
	AUTH_METHOD_MTLS            AuthMethod = 2
	AUTH_METHOD_API_KEY         AuthMethod = 3
	AUTH_METHOD_API_KEY_OR_MTLS AuthMethod = 4
)

func (AuthMethod) EnumDescriptor added in v0.20.0

func (AuthMethod) EnumDescriptor() ([]byte, []int)

func (AuthMethod) String added in v0.20.0

func (x AuthMethod) String() string

type CertificateFilterSpec

type CertificateFilterSpec struct {
	// (-- api-linter: core::0122::name-suffix=disabled --)
	CommonName         string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	Organization       string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	OrganizationalUnit string `protobuf:"bytes,3,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
	// (-- api-linter: core::0122::name-suffix=disabled --)
	SubjectAlternativeName string `` /* 129-byte string literal not displayed */
}

a filter matches a certificate if the specified fields on the filter match the corresponding fields on the certificate. A filter with zero specified fields is invalid and will be rejected by the server. A field is either an exact string match, a prefix match (field starts with '*') or a suffix match (field ends with a '*')

func (*CertificateFilterSpec) Descriptor

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

func (*CertificateFilterSpec) Equal

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

func (*CertificateFilterSpec) GetCommonName

func (m *CertificateFilterSpec) GetCommonName() string

func (*CertificateFilterSpec) GetOrganization

func (m *CertificateFilterSpec) GetOrganization() string

func (*CertificateFilterSpec) GetOrganizationalUnit

func (m *CertificateFilterSpec) GetOrganizationalUnit() string

func (*CertificateFilterSpec) GetSubjectAlternativeName

func (m *CertificateFilterSpec) GetSubjectAlternativeName() string

func (*CertificateFilterSpec) GoString

func (this *CertificateFilterSpec) GoString() string

func (*CertificateFilterSpec) Marshal

func (m *CertificateFilterSpec) Marshal() (dAtA []byte, err error)

func (*CertificateFilterSpec) MarshalTo

func (m *CertificateFilterSpec) MarshalTo(dAtA []byte) (int, error)

func (*CertificateFilterSpec) MarshalToSizedBuffer

func (m *CertificateFilterSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CertificateFilterSpec) ProtoMessage

func (*CertificateFilterSpec) ProtoMessage()

func (*CertificateFilterSpec) Reset

func (m *CertificateFilterSpec) Reset()

func (*CertificateFilterSpec) Size

func (m *CertificateFilterSpec) Size() (n int)

func (*CertificateFilterSpec) String

func (this *CertificateFilterSpec) String() string

func (*CertificateFilterSpec) Unmarshal

func (m *CertificateFilterSpec) Unmarshal(dAtA []byte) error

func (*CertificateFilterSpec) XXX_DiscardUnknown

func (m *CertificateFilterSpec) XXX_DiscardUnknown()

func (*CertificateFilterSpec) XXX_Marshal

func (m *CertificateFilterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CertificateFilterSpec) XXX_Merge

func (m *CertificateFilterSpec) XXX_Merge(src proto.Message)

func (*CertificateFilterSpec) XXX_Size

func (m *CertificateFilterSpec) XXX_Size() int

func (*CertificateFilterSpec) XXX_Unmarshal

func (m *CertificateFilterSpec) XXX_Unmarshal(b []byte) error

type CodecServerPropertySpec added in v0.7.0

type CodecServerPropertySpec struct {
	// server endpoints
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// whether to pass access token, i.e. jwt
	PassAccessToken bool `protobuf:"varint,2,opt,name=pass_access_token,json=passAccessToken,proto3" json:"pass_access_token,omitempty"`
	// whether to include credentials
	IncludeCredentials bool `protobuf:"varint,3,opt,name=include_credentials,json=includeCredentials,proto3" json:"include_credentials,omitempty"`
	// A custom error message to display for remote codec server errors.
	CustomErrorMessage *CodecServerPropertySpec_CustomErrorMessage `protobuf:"bytes,4,opt,name=custom_error_message,json=customErrorMessage,proto3" json:"custom_error_message,omitempty"`
}

func (*CodecServerPropertySpec) Descriptor added in v0.7.0

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

func (*CodecServerPropertySpec) Equal added in v0.7.0

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

func (*CodecServerPropertySpec) GetCustomErrorMessage added in v0.41.0

func (*CodecServerPropertySpec) GetEndpoint added in v0.7.0

func (m *CodecServerPropertySpec) GetEndpoint() string

func (*CodecServerPropertySpec) GetIncludeCredentials added in v0.7.0

func (m *CodecServerPropertySpec) GetIncludeCredentials() bool

func (*CodecServerPropertySpec) GetPassAccessToken added in v0.7.0

func (m *CodecServerPropertySpec) GetPassAccessToken() bool

func (*CodecServerPropertySpec) GoString added in v0.7.0

func (this *CodecServerPropertySpec) GoString() string

func (*CodecServerPropertySpec) Marshal added in v0.7.0

func (m *CodecServerPropertySpec) Marshal() (dAtA []byte, err error)

func (*CodecServerPropertySpec) MarshalTo added in v0.7.0

func (m *CodecServerPropertySpec) MarshalTo(dAtA []byte) (int, error)

func (*CodecServerPropertySpec) MarshalToSizedBuffer added in v0.7.0

func (m *CodecServerPropertySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CodecServerPropertySpec) ProtoMessage added in v0.7.0

func (*CodecServerPropertySpec) ProtoMessage()

func (*CodecServerPropertySpec) Reset added in v0.7.0

func (m *CodecServerPropertySpec) Reset()

func (*CodecServerPropertySpec) Size added in v0.7.0

func (m *CodecServerPropertySpec) Size() (n int)

func (*CodecServerPropertySpec) String added in v0.7.0

func (this *CodecServerPropertySpec) String() string

func (*CodecServerPropertySpec) Unmarshal added in v0.7.0

func (m *CodecServerPropertySpec) Unmarshal(dAtA []byte) error

func (*CodecServerPropertySpec) XXX_DiscardUnknown added in v0.7.0

func (m *CodecServerPropertySpec) XXX_DiscardUnknown()

func (*CodecServerPropertySpec) XXX_Marshal added in v0.7.0

func (m *CodecServerPropertySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CodecServerPropertySpec) XXX_Merge added in v0.7.0

func (m *CodecServerPropertySpec) XXX_Merge(src proto.Message)

func (*CodecServerPropertySpec) XXX_Size added in v0.7.0

func (m *CodecServerPropertySpec) XXX_Size() int

func (*CodecServerPropertySpec) XXX_Unmarshal added in v0.7.0

func (m *CodecServerPropertySpec) XXX_Unmarshal(b []byte) error

type CodecServerPropertySpec_CustomErrorMessage added in v0.41.0

type CodecServerPropertySpec_CustomErrorMessage struct {
	// The error message to display by default for any remote codec server errors.
	Default *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
}

func (*CodecServerPropertySpec_CustomErrorMessage) Descriptor added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage) Equal added in v0.41.0

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

func (*CodecServerPropertySpec_CustomErrorMessage) GetDefault added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage) GoString added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage) Marshal added in v0.41.0

func (m *CodecServerPropertySpec_CustomErrorMessage) Marshal() (dAtA []byte, err error)

func (*CodecServerPropertySpec_CustomErrorMessage) MarshalTo added in v0.41.0

func (m *CodecServerPropertySpec_CustomErrorMessage) MarshalTo(dAtA []byte) (int, error)

func (*CodecServerPropertySpec_CustomErrorMessage) MarshalToSizedBuffer added in v0.41.0

func (m *CodecServerPropertySpec_CustomErrorMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CodecServerPropertySpec_CustomErrorMessage) ProtoMessage added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage) Reset added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage) Size added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage) String added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage) Unmarshal added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage) XXX_DiscardUnknown added in v0.41.0

func (m *CodecServerPropertySpec_CustomErrorMessage) XXX_DiscardUnknown()

func (*CodecServerPropertySpec_CustomErrorMessage) XXX_Marshal added in v0.41.0

func (m *CodecServerPropertySpec_CustomErrorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CodecServerPropertySpec_CustomErrorMessage) XXX_Merge added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage) XXX_Size added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage) XXX_Unmarshal added in v0.41.0

type CodecServerPropertySpec_CustomErrorMessage_ErrorMessage added in v0.41.0

type CodecServerPropertySpec_CustomErrorMessage_ErrorMessage struct {
	// A message to display.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// A link that is displayed along side the configured message.
	Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"`
}

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Descriptor added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Equal added in v0.41.0

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

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) GetMessage added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) GoString added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Marshal added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) MarshalTo added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) MarshalToSizedBuffer added in v0.41.0

func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) ProtoMessage added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Reset added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Size added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) String added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Unmarshal added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_DiscardUnknown added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_Marshal added in v0.41.0

func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_Merge added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_Size added in v0.41.0

func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_Unmarshal added in v0.41.0

type Environment

type Environment int32
const (
	ENVIRONMENT_UNSPECIFIED Environment = 0
	ENVIRONMENT_DEV         Environment = 1
	ENVIRONMENT_TEST        Environment = 2
	ENVIRONMENT_PROD        Environment = 3
)

func (Environment) EnumDescriptor

func (Environment) EnumDescriptor() ([]byte, []int)

func (Environment) String

func (x Environment) String() string

type HighAvailabilitySpec added in v0.39.0

type HighAvailabilitySpec struct {
	// Flag to disable managed failover for the namespace.
	DisableManagedFailover bool `` /* 130-byte string literal not displayed */
}

func (*HighAvailabilitySpec) Descriptor added in v0.39.0

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

func (*HighAvailabilitySpec) Equal added in v0.39.0

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

func (*HighAvailabilitySpec) GetDisableManagedFailover added in v0.39.0

func (m *HighAvailabilitySpec) GetDisableManagedFailover() bool

func (*HighAvailabilitySpec) GoString added in v0.39.0

func (this *HighAvailabilitySpec) GoString() string

func (*HighAvailabilitySpec) Marshal added in v0.39.0

func (m *HighAvailabilitySpec) Marshal() (dAtA []byte, err error)

func (*HighAvailabilitySpec) MarshalTo added in v0.39.0

func (m *HighAvailabilitySpec) MarshalTo(dAtA []byte) (int, error)

func (*HighAvailabilitySpec) MarshalToSizedBuffer added in v0.39.0

func (m *HighAvailabilitySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HighAvailabilitySpec) ProtoMessage added in v0.39.0

func (*HighAvailabilitySpec) ProtoMessage()

func (*HighAvailabilitySpec) Reset added in v0.39.0

func (m *HighAvailabilitySpec) Reset()

func (*HighAvailabilitySpec) Size added in v0.39.0

func (m *HighAvailabilitySpec) Size() (n int)

func (*HighAvailabilitySpec) String added in v0.39.0

func (this *HighAvailabilitySpec) String() string

func (*HighAvailabilitySpec) Unmarshal added in v0.39.0

func (m *HighAvailabilitySpec) Unmarshal(dAtA []byte) error

func (*HighAvailabilitySpec) XXX_DiscardUnknown added in v0.39.0

func (m *HighAvailabilitySpec) XXX_DiscardUnknown()

func (*HighAvailabilitySpec) XXX_Marshal added in v0.39.0

func (m *HighAvailabilitySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HighAvailabilitySpec) XXX_Merge added in v0.39.0

func (m *HighAvailabilitySpec) XXX_Merge(src proto.Message)

func (*HighAvailabilitySpec) XXX_Size added in v0.39.0

func (m *HighAvailabilitySpec) XXX_Size() int

func (*HighAvailabilitySpec) XXX_Unmarshal added in v0.39.0

func (m *HighAvailabilitySpec) XXX_Unmarshal(b []byte) error

type LifecycleSpec added in v0.36.0

type LifecycleSpec struct {
	// Flag to enable delete protection for the namespace.
	EnableDeleteProtection bool `` /* 130-byte string literal not displayed */
}

func (*LifecycleSpec) Descriptor added in v0.36.0

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

func (*LifecycleSpec) Equal added in v0.36.0

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

func (*LifecycleSpec) GetEnableDeleteProtection added in v0.36.0

func (m *LifecycleSpec) GetEnableDeleteProtection() bool

func (*LifecycleSpec) GoString added in v0.36.0

func (this *LifecycleSpec) GoString() string

func (*LifecycleSpec) Marshal added in v0.36.0

func (m *LifecycleSpec) Marshal() (dAtA []byte, err error)

func (*LifecycleSpec) MarshalTo added in v0.36.0

func (m *LifecycleSpec) MarshalTo(dAtA []byte) (int, error)

func (*LifecycleSpec) MarshalToSizedBuffer added in v0.36.0

func (m *LifecycleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LifecycleSpec) ProtoMessage added in v0.36.0

func (*LifecycleSpec) ProtoMessage()

func (*LifecycleSpec) Reset added in v0.36.0

func (m *LifecycleSpec) Reset()

func (*LifecycleSpec) Size added in v0.36.0

func (m *LifecycleSpec) Size() (n int)

func (*LifecycleSpec) String added in v0.36.0

func (this *LifecycleSpec) String() string

func (*LifecycleSpec) Unmarshal added in v0.36.0

func (m *LifecycleSpec) Unmarshal(dAtA []byte) error

func (*LifecycleSpec) XXX_DiscardUnknown added in v0.36.0

func (m *LifecycleSpec) XXX_DiscardUnknown()

func (*LifecycleSpec) XXX_Marshal added in v0.36.0

func (m *LifecycleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LifecycleSpec) XXX_Merge added in v0.36.0

func (m *LifecycleSpec) XXX_Merge(src proto.Message)

func (*LifecycleSpec) XXX_Size added in v0.36.0

func (m *LifecycleSpec) XXX_Size() int

func (*LifecycleSpec) XXX_Unmarshal added in v0.36.0

func (m *LifecycleSpec) XXX_Unmarshal(b []byte) error

type Namespace

type Namespace struct {
	// the namespace
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// the current version of the namespace specification
	// the next update request 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 State `protobuf:"varint,4,opt,name=state,proto3,enum=api.namespace.v1.State" json:"state,omitempty"`
	// the id of the request that is creating/updating the namespace, if any
	RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// the date and time when the namespace was last modified
	LastModifiedTime *types.Timestamp `protobuf:"bytes,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// the web uri for the namespace
	Uri *NamespaceURI `protobuf:"bytes,7,opt,name=uri,proto3" json:"uri,omitempty"`
	// namespace envelope is a list of service level agreements (SLAs) that can be provided around a given namespace
	Envelope *NamespaceEnvelope `protobuf:"bytes,9,opt,name=envelope,proto3" json:"envelope,omitempty"`
	// allowed principals is a list of principals that allowed to access the private links on the namespace
	AllowedPrincipals []string `protobuf:"bytes,11,rep,name=allowed_principals,json=allowedPrincipals,proto3" json:"allowed_principals,omitempty"`
	// the regions where the namespace is with including active and passive regions
	Regions []*NamespaceRegion `protobuf:"bytes,12,rep,name=regions,proto3" json:"regions,omitempty"`
	// connectivity_rules that set on this namespace
	ConnectivityRules []*v11.ConnectivityRule `protobuf:"bytes,14,rep,name=connectivity_rules,json=connectivityRules,proto3" json:"connectivity_rules,omitempty"`
	// the tags for the namespace
	Tags map[string]string `` /* 150-byte string literal not displayed */
}

func (*Namespace) Descriptor

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

func (*Namespace) Equal

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

func (*Namespace) GetAllowedPrincipals added in v0.11.0

func (m *Namespace) GetAllowedPrincipals() []string

func (*Namespace) GetConnectivityRules added in v0.43.0

func (m *Namespace) GetConnectivityRules() []*v11.ConnectivityRule

func (*Namespace) GetEnvelope added in v0.7.0

func (m *Namespace) GetEnvelope() *NamespaceEnvelope

func (*Namespace) GetLastModifiedTime

func (m *Namespace) GetLastModifiedTime() *types.Timestamp

func (*Namespace) GetNamespace

func (m *Namespace) GetNamespace() string

func (*Namespace) GetRegions added in v0.26.0

func (m *Namespace) GetRegions() []*NamespaceRegion

func (*Namespace) GetRequestId

func (m *Namespace) GetRequestId() string

func (*Namespace) GetResourceVersion

func (m *Namespace) GetResourceVersion() string

func (*Namespace) GetSpec

func (m *Namespace) GetSpec() *NamespaceSpec

func (*Namespace) GetState

func (m *Namespace) GetState() State

func (*Namespace) GetTags added in v0.44.0

func (m *Namespace) GetTags() map[string]string

func (*Namespace) GetUri

func (m *Namespace) GetUri() *NamespaceURI

func (*Namespace) GoString

func (this *Namespace) GoString() string

func (*Namespace) Marshal

func (m *Namespace) Marshal() (dAtA []byte, err error)

func (*Namespace) MarshalTo

func (m *Namespace) MarshalTo(dAtA []byte) (int, error)

func (*Namespace) MarshalToSizedBuffer

func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) Reset

func (m *Namespace) Reset()

func (*Namespace) Size

func (m *Namespace) Size() (n int)

func (*Namespace) String

func (this *Namespace) String() string

func (*Namespace) Unmarshal

func (m *Namespace) Unmarshal(dAtA []byte) error

func (*Namespace) XXX_DiscardUnknown

func (m *Namespace) XXX_DiscardUnknown()

func (*Namespace) XXX_Marshal

func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Namespace) XXX_Merge

func (m *Namespace) XXX_Merge(src proto.Message)

func (*Namespace) XXX_Size

func (m *Namespace) XXX_Size() int

func (*Namespace) XXX_Unmarshal

func (m *Namespace) XXX_Unmarshal(b []byte) error

type NamespaceEnvelope added in v0.7.0

type NamespaceEnvelope struct {
	// the namespace may be throttled if its APS exceeds the limit
	ActionsPerSecondLimit *types.Int32Value `` /* 128-byte string literal not displayed */
	// if set, this amount of APS was being throttled
	ThrottledActionsPerSecond *types.Int32Value `` /* 140-byte string literal not displayed */
	// when the throttled APS was last updated
	ThrottledActionsPerSecondLastUpdatedTime *types.Timestamp `` /* 191-byte string literal not displayed */
	// Similar to above, but for frontend RPS.
	FrontendRpsLimit                    *types.Int32Value `protobuf:"bytes,7,opt,name=frontend_rps_limit,json=frontendRpsLimit,proto3" json:"frontend_rps_limit,omitempty"`
	ThrottledFrontendRps                *types.Int32Value `protobuf:"bytes,8,opt,name=throttled_frontend_rps,json=throttledFrontendRps,proto3" json:"throttled_frontend_rps,omitempty"`
	ThrottledFrontendRpsLastUpdatedTime *types.Timestamp  `` /* 174-byte string literal not displayed */
}

func (*NamespaceEnvelope) Descriptor added in v0.7.0

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

func (*NamespaceEnvelope) Equal added in v0.7.0

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

func (*NamespaceEnvelope) GetActionsPerSecondLimit added in v0.7.0

func (m *NamespaceEnvelope) GetActionsPerSecondLimit() *types.Int32Value

func (*NamespaceEnvelope) GetFrontendRpsLimit added in v0.26.0

func (m *NamespaceEnvelope) GetFrontendRpsLimit() *types.Int32Value

func (*NamespaceEnvelope) GetThrottledActionsPerSecond added in v0.20.0

func (m *NamespaceEnvelope) GetThrottledActionsPerSecond() *types.Int32Value

func (*NamespaceEnvelope) GetThrottledActionsPerSecondLastUpdatedTime added in v0.20.0

func (m *NamespaceEnvelope) GetThrottledActionsPerSecondLastUpdatedTime() *types.Timestamp

func (*NamespaceEnvelope) GetThrottledFrontendRps added in v0.26.0

func (m *NamespaceEnvelope) GetThrottledFrontendRps() *types.Int32Value

func (*NamespaceEnvelope) GetThrottledFrontendRpsLastUpdatedTime added in v0.26.0

func (m *NamespaceEnvelope) GetThrottledFrontendRpsLastUpdatedTime() *types.Timestamp

func (*NamespaceEnvelope) GoString added in v0.7.0

func (this *NamespaceEnvelope) GoString() string

func (*NamespaceEnvelope) Marshal added in v0.7.0

func (m *NamespaceEnvelope) Marshal() (dAtA []byte, err error)

func (*NamespaceEnvelope) MarshalTo added in v0.7.0

func (m *NamespaceEnvelope) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceEnvelope) MarshalToSizedBuffer added in v0.7.0

func (m *NamespaceEnvelope) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceEnvelope) ProtoMessage added in v0.7.0

func (*NamespaceEnvelope) ProtoMessage()

func (*NamespaceEnvelope) Reset added in v0.7.0

func (m *NamespaceEnvelope) Reset()

func (*NamespaceEnvelope) Size added in v0.7.0

func (m *NamespaceEnvelope) Size() (n int)

func (*NamespaceEnvelope) String added in v0.7.0

func (this *NamespaceEnvelope) String() string

func (*NamespaceEnvelope) Unmarshal added in v0.7.0

func (m *NamespaceEnvelope) Unmarshal(dAtA []byte) error

func (*NamespaceEnvelope) XXX_DiscardUnknown added in v0.7.0

func (m *NamespaceEnvelope) XXX_DiscardUnknown()

func (*NamespaceEnvelope) XXX_Marshal added in v0.7.0

func (m *NamespaceEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceEnvelope) XXX_Merge added in v0.7.0

func (m *NamespaceEnvelope) XXX_Merge(src proto.Message)

func (*NamespaceEnvelope) XXX_Size added in v0.7.0

func (m *NamespaceEnvelope) XXX_Size() int

func (*NamespaceEnvelope) XXX_Unmarshal added in v0.7.0

func (m *NamespaceEnvelope) XXX_Unmarshal(b []byte) error

type NamespaceRegion added in v0.26.0

type NamespaceRegion struct {
	// region id, including cloud provider
	RegionId *v1.RegionID `protobuf:"bytes,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// the replica mode of the namespace in the region
	ReplicaMode v1.ReplicaMode `` /* 126-byte string literal not displayed */
	// the state of the replica in the region
	ReplicaState v1.ReplicaState `` /* 130-byte string literal not displayed */
}

func (*NamespaceRegion) Descriptor added in v0.26.0

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

func (*NamespaceRegion) Equal added in v0.26.0

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

func (*NamespaceRegion) GetRegionId added in v0.26.0

func (m *NamespaceRegion) GetRegionId() *v1.RegionID

func (*NamespaceRegion) GetReplicaMode added in v0.26.0

func (m *NamespaceRegion) GetReplicaMode() v1.ReplicaMode

func (*NamespaceRegion) GetReplicaState added in v0.26.0

func (m *NamespaceRegion) GetReplicaState() v1.ReplicaState

func (*NamespaceRegion) GoString added in v0.26.0

func (this *NamespaceRegion) GoString() string

func (*NamespaceRegion) Marshal added in v0.26.0

func (m *NamespaceRegion) Marshal() (dAtA []byte, err error)

func (*NamespaceRegion) MarshalTo added in v0.26.0

func (m *NamespaceRegion) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceRegion) MarshalToSizedBuffer added in v0.26.0

func (m *NamespaceRegion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceRegion) ProtoMessage added in v0.26.0

func (*NamespaceRegion) ProtoMessage()

func (*NamespaceRegion) Reset added in v0.26.0

func (m *NamespaceRegion) Reset()

func (*NamespaceRegion) Size added in v0.26.0

func (m *NamespaceRegion) Size() (n int)

func (*NamespaceRegion) String added in v0.26.0

func (this *NamespaceRegion) String() string

func (*NamespaceRegion) Unmarshal added in v0.26.0

func (m *NamespaceRegion) Unmarshal(dAtA []byte) error

func (*NamespaceRegion) XXX_DiscardUnknown added in v0.26.0

func (m *NamespaceRegion) XXX_DiscardUnknown()

func (*NamespaceRegion) XXX_Marshal added in v0.26.0

func (m *NamespaceRegion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceRegion) XXX_Merge added in v0.26.0

func (m *NamespaceRegion) XXX_Merge(src proto.Message)

func (*NamespaceRegion) XXX_Size added in v0.26.0

func (m *NamespaceRegion) XXX_Size() int

func (*NamespaceRegion) XXX_Unmarshal added in v0.26.0

func (m *NamespaceRegion) XXX_Unmarshal(b []byte) error

type NamespaceSpec

type NamespaceSpec struct {
	// the base64 encoded ca cert(s) that the clients can use for authentication and authorization
	AcceptedClientCa string `protobuf:"bytes,2,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"`
	// the num of days the workflows' data will be retained for
	RetentionDays int32 `protobuf:"varint,3,opt,name=retention_days,json=retentionDays,proto3" json:"retention_days,omitempty"`
	// the custom search attributes to use for the namespace
	SearchAttributes map[string]SearchAttributeType `` /* 240-byte string literal not displayed */
	// certificate filters which, if specified, only allow connections from client certificates
	// whose distinguished name properties match at least one of the filters.
	CertificateFilters []*CertificateFilterSpec `protobuf:"bytes,5,rep,name=certificate_filters,json=certificateFilters,proto3" json:"certificate_filters,omitempty"`
	// environment of the namespace.
	// NOTE: currently there is no additional SLA or functional guarantee implied by the value of this field.
	Environment Environment `protobuf:"varint,6,opt,name=environment,proto3,enum=api.namespace.v1.Environment" json:"environment,omitempty"`
	// codec server property spec needed for user to set and retrieve
	CodecSpec *CodecServerPropertySpec `protobuf:"bytes,8,opt,name=codec_spec,json=codecSpec,proto3" json:"codec_spec,omitempty"`
	// the regions where the namespace is (or will be) located
	PassiveRegions []string `protobuf:"bytes,9,rep,name=passive_regions,json=passiveRegions,proto3" json:"passive_regions,omitempty"` // Deprecated: Do not use.
	// the authentication method(s) configured for the namespace.
	AuthMethod AuthMethod `` /* 126-byte string literal not displayed */
	// use the new region id for region and cloud provider
	RegionId *v1.RegionID `protobuf:"bytes,14,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// The lifecycle configuration for the namespace.
	Lifecycle *LifecycleSpec `protobuf:"bytes,15,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
	// The high availability configuration for the namespace.
	// temporal:versioning:min_version=2025-01-01-00
	HighAvailability *HighAvailabilitySpec `protobuf:"bytes,16,opt,name=high_availability,json=highAvailability,proto3" json:"high_availability,omitempty"`
	// The passive regions with cloud providers where the namespace is located.
	// temporal:versioning:min_version=2025-04-12-00
	PassiveRegionIds []*v1.RegionID `protobuf:"bytes,17,rep,name=passive_region_ids,json=passiveRegionIds,proto3" json:"passive_region_ids,omitempty"`
	// The private connectivity configuration for the namespace.
	// temporal:versioning:min_version=2025-02-11-00
	ConnectivityRuleIds []string `protobuf:"bytes,18,rep,name=connectivity_rule_ids,json=connectivityRuleIds,proto3" json:"connectivity_rule_ids,omitempty"`
}

func (*NamespaceSpec) Descriptor

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

func (*NamespaceSpec) Equal

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

func (*NamespaceSpec) GetAcceptedClientCa

func (m *NamespaceSpec) GetAcceptedClientCa() string

func (*NamespaceSpec) GetAuthMethod added in v0.20.0

func (m *NamespaceSpec) GetAuthMethod() AuthMethod

func (*NamespaceSpec) GetCertificateFilters

func (m *NamespaceSpec) GetCertificateFilters() []*CertificateFilterSpec

func (*NamespaceSpec) GetCodecSpec added in v0.7.0

func (m *NamespaceSpec) GetCodecSpec() *CodecServerPropertySpec

func (*NamespaceSpec) GetConnectivityRuleIds added in v0.41.0

func (m *NamespaceSpec) GetConnectivityRuleIds() []string

func (*NamespaceSpec) GetEnvironment

func (m *NamespaceSpec) GetEnvironment() Environment

func (*NamespaceSpec) GetHighAvailability added in v0.39.0

func (m *NamespaceSpec) GetHighAvailability() *HighAvailabilitySpec

func (*NamespaceSpec) GetLifecycle added in v0.36.0

func (m *NamespaceSpec) GetLifecycle() *LifecycleSpec

func (*NamespaceSpec) GetPassiveRegionIds added in v0.41.0

func (m *NamespaceSpec) GetPassiveRegionIds() []*v1.RegionID

func (*NamespaceSpec) GetPassiveRegions deprecated added in v0.7.0

func (m *NamespaceSpec) GetPassiveRegions() []string

Deprecated: Do not use.

func (*NamespaceSpec) GetRegionId added in v0.26.0

func (m *NamespaceSpec) GetRegionId() *v1.RegionID

func (*NamespaceSpec) GetRetentionDays

func (m *NamespaceSpec) GetRetentionDays() int32

func (*NamespaceSpec) GetSearchAttributes

func (m *NamespaceSpec) GetSearchAttributes() map[string]SearchAttributeType

func (*NamespaceSpec) GoString

func (this *NamespaceSpec) GoString() string

func (*NamespaceSpec) Marshal

func (m *NamespaceSpec) Marshal() (dAtA []byte, err error)

func (*NamespaceSpec) MarshalTo

func (m *NamespaceSpec) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceSpec) MarshalToSizedBuffer

func (m *NamespaceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceSpec) ProtoMessage

func (*NamespaceSpec) ProtoMessage()

func (*NamespaceSpec) Reset

func (m *NamespaceSpec) Reset()

func (*NamespaceSpec) Size

func (m *NamespaceSpec) Size() (n int)

func (*NamespaceSpec) String

func (this *NamespaceSpec) String() string

func (*NamespaceSpec) Unmarshal

func (m *NamespaceSpec) Unmarshal(dAtA []byte) error

func (*NamespaceSpec) XXX_DiscardUnknown

func (m *NamespaceSpec) XXX_DiscardUnknown()

func (*NamespaceSpec) XXX_Marshal

func (m *NamespaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceSpec) XXX_Merge

func (m *NamespaceSpec) XXX_Merge(src proto.Message)

func (*NamespaceSpec) XXX_Size

func (m *NamespaceSpec) XXX_Size() int

func (*NamespaceSpec) XXX_Unmarshal

func (m *NamespaceSpec) XXX_Unmarshal(b []byte) error

type NamespaceURI

type NamespaceURI struct {
	// the web ui address
	Web string `protobuf:"bytes,1,opt,name=web,proto3" json:"web,omitempty"`
	// the per namespace grpc address
	Grpc string `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"`
	// the list of private links
	VpcEndpointServiceNames []string `` /* 134-byte string literal not displayed */
	// the active regional grpc address
	RegionalGrpc string `protobuf:"bytes,4,opt,name=regional_grpc,json=regionalGrpc,proto3" json:"regional_grpc,omitempty"`
	// the passive regional grpc addresses
	PassiveRegionalGrpcAddresses []string `` /* 149-byte string literal not displayed */
}

func (*NamespaceURI) Descriptor

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

func (*NamespaceURI) Equal

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

func (*NamespaceURI) GetGrpc

func (m *NamespaceURI) GetGrpc() string

func (*NamespaceURI) GetPassiveRegionalGrpcAddresses added in v0.38.0

func (m *NamespaceURI) GetPassiveRegionalGrpcAddresses() []string

func (*NamespaceURI) GetRegionalGrpc added in v0.20.0

func (m *NamespaceURI) GetRegionalGrpc() string

func (*NamespaceURI) GetVpcEndpointServiceNames added in v0.7.0

func (m *NamespaceURI) GetVpcEndpointServiceNames() []string

func (*NamespaceURI) GetWeb

func (m *NamespaceURI) GetWeb() string

func (*NamespaceURI) GoString

func (this *NamespaceURI) GoString() string

func (*NamespaceURI) Marshal

func (m *NamespaceURI) Marshal() (dAtA []byte, err error)

func (*NamespaceURI) MarshalTo

func (m *NamespaceURI) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceURI) MarshalToSizedBuffer

func (m *NamespaceURI) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceURI) ProtoMessage

func (*NamespaceURI) ProtoMessage()

func (*NamespaceURI) Reset

func (m *NamespaceURI) Reset()

func (*NamespaceURI) Size

func (m *NamespaceURI) Size() (n int)

func (*NamespaceURI) String

func (this *NamespaceURI) String() string

func (*NamespaceURI) Unmarshal

func (m *NamespaceURI) Unmarshal(dAtA []byte) error

func (*NamespaceURI) XXX_DiscardUnknown

func (m *NamespaceURI) XXX_DiscardUnknown()

func (*NamespaceURI) XXX_Marshal

func (m *NamespaceURI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceURI) XXX_Merge

func (m *NamespaceURI) XXX_Merge(src proto.Message)

func (*NamespaceURI) XXX_Size

func (m *NamespaceURI) XXX_Size() int

func (*NamespaceURI) XXX_Unmarshal

func (m *NamespaceURI) XXX_Unmarshal(b []byte) error

type SearchAttributeType

type SearchAttributeType int32
const (
	SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED  SearchAttributeType = 0
	SEARCH_ATTRIBUTE_TYPE_KEYWORD      SearchAttributeType = 1
	SEARCH_ATTRIBUTE_TYPE_TEXT         SearchAttributeType = 2
	SEARCH_ATTRIBUTE_TYPE_INT          SearchAttributeType = 3
	SEARCH_ATTRIBUTE_TYPE_DOUBLE       SearchAttributeType = 4
	SEARCH_ATTRIBUTE_TYPE_DATETIME     SearchAttributeType = 5
	SEARCH_ATTRIBUTE_TYPE_BOOL         SearchAttributeType = 6
	SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST SearchAttributeType = 7
)

func (SearchAttributeType) EnumDescriptor

func (SearchAttributeType) EnumDescriptor() ([]byte, []int)

func (SearchAttributeType) String

func (x SearchAttributeType) String() string

type State

type State int32
const (
	STATE_UNSPECIFIED       State = 0
	STATE_ACTIVATING        State = 1
	STATE_ACTIVATION_FAILED State = 2
	STATE_ACTIVE            State = 3
	STATE_UPDATING          State = 4
	STATE_UPDATE_FAILED     State = 5
	STATE_DELETING          State = 6
	STATE_DELETE_FAILED     State = 7
	STATE_DELETED           State = 8
	STATE_SUSPENDING        State = 9
	STATE_SUSPEND_FAILED    State = 10
	STATE_SUSPENDED         State = 11
)

func (State) EnumDescriptor

func (State) EnumDescriptor() ([]byte, []int)

func (State) String

func (x State) String() string

Jump to

Keyboard shortcuts

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