Documentation ¶
Index ¶
- Variables
- type CertificateFilterSpec
- func (*CertificateFilterSpec) Descriptor() ([]byte, []int)
- func (this *CertificateFilterSpec) Equal(that interface{}) bool
- func (m *CertificateFilterSpec) GetCommonName() string
- func (m *CertificateFilterSpec) GetOrganization() string
- func (m *CertificateFilterSpec) GetOrganizationalUnit() string
- func (m *CertificateFilterSpec) GetSubjectAlternativeName() string
- func (this *CertificateFilterSpec) GoString() string
- func (m *CertificateFilterSpec) Marshal() (dAtA []byte, err error)
- func (m *CertificateFilterSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *CertificateFilterSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CertificateFilterSpec) ProtoMessage()
- func (m *CertificateFilterSpec) Reset()
- func (m *CertificateFilterSpec) Size() (n int)
- func (this *CertificateFilterSpec) String() string
- func (m *CertificateFilterSpec) Unmarshal(dAtA []byte) error
- func (m *CertificateFilterSpec) XXX_DiscardUnknown()
- func (m *CertificateFilterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CertificateFilterSpec) XXX_Merge(src proto.Message)
- func (m *CertificateFilterSpec) XXX_Size() int
- func (m *CertificateFilterSpec) XXX_Unmarshal(b []byte) error
- type Environment
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)
- func (this *Namespace) Equal(that interface{}) bool
- func (m *Namespace) GetLastModifiedTime() *types.Timestamp
- func (m *Namespace) GetNamespace() string
- func (m *Namespace) GetRequestId() string
- func (m *Namespace) GetResourceVersion() string
- func (m *Namespace) GetSpec() *NamespaceSpec
- func (m *Namespace) GetState() State
- func (m *Namespace) GetUri() *NamespaceURI
- func (this *Namespace) GoString() string
- func (m *Namespace) Marshal() (dAtA []byte, err error)
- func (m *Namespace) MarshalTo(dAtA []byte) (int, error)
- func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Namespace) ProtoMessage()
- func (m *Namespace) Reset()
- func (m *Namespace) Size() (n int)
- func (this *Namespace) String() string
- func (m *Namespace) Unmarshal(dAtA []byte) error
- func (m *Namespace) XXX_DiscardUnknown()
- func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Namespace) XXX_Merge(src proto.Message)
- func (m *Namespace) XXX_Size() int
- func (m *Namespace) XXX_Unmarshal(b []byte) error
- type NamespaceSpec
- func (*NamespaceSpec) Descriptor() ([]byte, []int)
- func (this *NamespaceSpec) Equal(that interface{}) bool
- func (m *NamespaceSpec) GetAcceptedClientCa() string
- func (m *NamespaceSpec) GetCertificateFilters() []*CertificateFilterSpec
- func (m *NamespaceSpec) GetEnvironment() Environment
- func (m *NamespaceSpec) GetRegion() string
- func (m *NamespaceSpec) GetRetentionDays() int32
- func (m *NamespaceSpec) GetSearchAttributes() map[string]SearchAttributeType
- func (this *NamespaceSpec) GoString() string
- func (m *NamespaceSpec) Marshal() (dAtA []byte, err error)
- func (m *NamespaceSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *NamespaceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NamespaceSpec) ProtoMessage()
- func (m *NamespaceSpec) Reset()
- func (m *NamespaceSpec) Size() (n int)
- func (this *NamespaceSpec) String() string
- func (m *NamespaceSpec) Unmarshal(dAtA []byte) error
- func (m *NamespaceSpec) XXX_DiscardUnknown()
- func (m *NamespaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NamespaceSpec) XXX_Merge(src proto.Message)
- func (m *NamespaceSpec) XXX_Size() int
- func (m *NamespaceSpec) XXX_Unmarshal(b []byte) error
- type NamespaceURI
- func (*NamespaceURI) Descriptor() ([]byte, []int)
- func (this *NamespaceURI) Equal(that interface{}) bool
- func (m *NamespaceURI) GetGrpc() string
- func (m *NamespaceURI) GetWeb() string
- func (this *NamespaceURI) GoString() string
- func (m *NamespaceURI) Marshal() (dAtA []byte, err error)
- func (m *NamespaceURI) MarshalTo(dAtA []byte) (int, error)
- func (m *NamespaceURI) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NamespaceURI) ProtoMessage()
- func (m *NamespaceURI) Reset()
- func (m *NamespaceURI) Size() (n int)
- func (this *NamespaceURI) String() string
- func (m *NamespaceURI) Unmarshal(dAtA []byte) error
- func (m *NamespaceURI) XXX_DiscardUnknown()
- func (m *NamespaceURI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NamespaceURI) XXX_Merge(src proto.Message)
- func (m *NamespaceURI) XXX_Size() int
- func (m *NamespaceURI) XXX_Unmarshal(b []byte) error
- type SearchAttributeType
- type State
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 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",
}
View Source
var SearchAttributeType_value = map[string]int32{
"Unspecified": 0,
"Keyword": 1,
"Text": 2,
"Int": 3,
"Double": 4,
"Datetime": 5,
"Bool": 6,
}
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 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 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 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"` }
func (*Namespace) Descriptor ¶
func (*Namespace) GetLastModifiedTime ¶
func (*Namespace) GetNamespace ¶
func (*Namespace) GetRequestId ¶
func (*Namespace) GetResourceVersion ¶
func (*Namespace) GetSpec ¶
func (m *Namespace) GetSpec() *NamespaceSpec
func (*Namespace) GetUri ¶
func (m *Namespace) GetUri() *NamespaceURI
func (*Namespace) MarshalToSizedBuffer ¶
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) XXX_DiscardUnknown ¶
func (m *Namespace) XXX_DiscardUnknown()
func (*Namespace) XXX_Marshal ¶
func (*Namespace) XXX_Unmarshal ¶
type NamespaceSpec ¶
type NamespaceSpec struct { // the region where the namespace is (or will be) located Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // 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's 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"` }
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) GetCertificateFilters ¶
func (m *NamespaceSpec) GetCertificateFilters() []*CertificateFilterSpec
func (*NamespaceSpec) GetEnvironment ¶
func (m *NamespaceSpec) GetEnvironment() Environment
func (*NamespaceSpec) GetRegion ¶
func (m *NamespaceSpec) GetRegion() string
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) 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 grpc address Grpc string `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"` }
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) 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) 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 )
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 ¶
Click to show internal directories.
Click to hide internal directories.