Documentation
¶
Index ¶
- Variables
- type DestinationType
- type KinesisSpec
- func (*KinesisSpec) Descriptor() ([]byte, []int)
- func (this *KinesisSpec) Equal(that interface{}) bool
- func (m *KinesisSpec) GetAssumedRole() string
- func (m *KinesisSpec) GetDestinationUri() string
- func (m *KinesisSpec) GetRegion() string
- func (this *KinesisSpec) GoString() string
- func (m *KinesisSpec) Marshal() (dAtA []byte, err error)
- func (m *KinesisSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *KinesisSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KinesisSpec) ProtoMessage()
- func (m *KinesisSpec) Reset()
- func (m *KinesisSpec) Size() (n int)
- func (this *KinesisSpec) String() string
- func (m *KinesisSpec) Unmarshal(dAtA []byte) error
- func (m *KinesisSpec) XXX_DiscardUnknown()
- func (m *KinesisSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KinesisSpec) XXX_Merge(src proto.Message)
- func (m *KinesisSpec) XXX_Size() int
- func (m *KinesisSpec) XXX_Unmarshal(b []byte) error
- type PubSubSpec
- func (*PubSubSpec) Descriptor() ([]byte, []int)
- func (this *PubSubSpec) Equal(that interface{}) bool
- func (m *PubSubSpec) GetGcpProjectId() string
- func (m *PubSubSpec) GetSaId() string
- func (m *PubSubSpec) GetTopicName() string
- func (this *PubSubSpec) GoString() string
- func (m *PubSubSpec) Marshal() (dAtA []byte, err error)
- func (m *PubSubSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PubSubSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PubSubSpec) ProtoMessage()
- func (m *PubSubSpec) Reset()
- func (m *PubSubSpec) Size() (n int)
- func (this *PubSubSpec) String() string
- func (m *PubSubSpec) Unmarshal(dAtA []byte) error
- func (m *PubSubSpec) XXX_DiscardUnknown()
- func (m *PubSubSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PubSubSpec) XXX_Merge(src proto.Message)
- func (m *PubSubSpec) XXX_Size() int
- func (m *PubSubSpec) XXX_Unmarshal(b []byte) error
- type Sink
- func (*Sink) Descriptor() ([]byte, []int)
- func (this *Sink) Equal(that interface{}) bool
- func (m *Sink) GetErrorMessage() string
- func (m *Sink) GetLastSucceededTime() *types.Timestamp
- func (m *Sink) GetName() string
- func (m *Sink) GetState() State
- func (this *Sink) GoString() string
- func (m *Sink) Marshal() (dAtA []byte, err error)
- func (m *Sink) MarshalTo(dAtA []byte) (int, error)
- func (m *Sink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Sink) ProtoMessage()
- func (m *Sink) Reset()
- func (m *Sink) Size() (n int)
- func (this *Sink) String() string
- func (m *Sink) Unmarshal(dAtA []byte) error
- func (m *Sink) XXX_DiscardUnknown()
- func (m *Sink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sink) XXX_Merge(src proto.Message)
- func (m *Sink) XXX_Size() int
- func (m *Sink) XXX_Unmarshal(b []byte) error
- type SinkSpec
- func (*SinkSpec) Descriptor() ([]byte, []int)
- func (this *SinkSpec) Equal(that interface{}) bool
- func (m *SinkSpec) GetDestinationType() DestinationType
- func (m *SinkSpec) GetEnabled() bool
- func (m *SinkSpec) GetKinesisSink() *KinesisSpec
- func (m *SinkSpec) GetName() string
- func (m *SinkSpec) GetPubSubSink() *PubSubSpec
- func (m *SinkSpec) GetSinkType() Type
- func (this *SinkSpec) GoString() string
- func (m *SinkSpec) Marshal() (dAtA []byte, err error)
- func (m *SinkSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *SinkSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SinkSpec) ProtoMessage()
- func (m *SinkSpec) Reset()
- func (m *SinkSpec) Size() (n int)
- func (this *SinkSpec) String() string
- func (m *SinkSpec) Unmarshal(dAtA []byte) error
- func (m *SinkSpec) XXX_DiscardUnknown()
- func (m *SinkSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SinkSpec) XXX_Merge(src proto.Message)
- func (m *SinkSpec) XXX_Size() int
- func (m *SinkSpec) XXX_Unmarshal(b []byte) error
- type State
- type Type
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 DestinationType_name = map[int32]string{
0: "Unspecified",
1: "Kinesis",
2: "S3",
3: "Pubsub",
}
View Source
var DestinationType_value = map[string]int32{
"Unspecified": 0,
"Kinesis": 1,
"S3": 2,
"Pubsub": 3,
}
View Source
var State_name = map[int32]string{
0: "Unspecified",
1: "Creating",
2: "Active",
3: "Deleted",
4: "InternalError",
5: "UserError",
}
View Source
var State_value = map[string]int32{
"Unspecified": 0,
"Creating": 1,
"Active": 2,
"Deleted": 3,
"InternalError": 4,
"UserError": 5,
}
View Source
var Type_name = map[int32]string{
0: "Unspecified",
1: "AuditLog",
2: "WorkflowHistoryExport",
}
View Source
var Type_value = map[string]int32{
"Unspecified": 0,
"AuditLog": 1,
"WorkflowHistoryExport": 2,
}
Functions ¶
This section is empty.
Types ¶
type DestinationType ¶
type DestinationType int32
DestinationType is only used by Audit Log
const ( DESTINATION_TYPE_UNSPECIFIED DestinationType = 0 DESTINATION_TYPE_KINESIS DestinationType = 1 DESTINATION_TYPE_S3 DestinationType = 2 DESTINATION_TYPE_PUBSUB DestinationType = 3 )
func (DestinationType) EnumDescriptor ¶
func (DestinationType) EnumDescriptor() ([]byte, []int)
func (DestinationType) String ¶
func (x DestinationType) String() string
type KinesisSpec ¶
type KinesisSpec struct {
// The role Temporal Cloud assumes when writing records to Kinesis
AssumedRole string `protobuf:"bytes,1,opt,name=assumed_role,json=assumedRole,proto3" json:"assumed_role,omitempty"`
// Destination Kinesis endpoint arn for temporal to send data to.
DestinationUri string `protobuf:"bytes,2,opt,name=destination_uri,json=destinationUri,proto3" json:"destination_uri,omitempty"`
// The sink's region.
Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
}
func (*KinesisSpec) Descriptor ¶
func (*KinesisSpec) Descriptor() ([]byte, []int)
func (*KinesisSpec) Equal ¶
func (this *KinesisSpec) Equal(that interface{}) bool
func (*KinesisSpec) GetAssumedRole ¶
func (m *KinesisSpec) GetAssumedRole() string
func (*KinesisSpec) GetDestinationUri ¶
func (m *KinesisSpec) GetDestinationUri() string
func (*KinesisSpec) GetRegion ¶
func (m *KinesisSpec) GetRegion() string
func (*KinesisSpec) GoString ¶
func (this *KinesisSpec) GoString() string
func (*KinesisSpec) Marshal ¶
func (m *KinesisSpec) Marshal() (dAtA []byte, err error)
func (*KinesisSpec) MarshalToSizedBuffer ¶
func (m *KinesisSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KinesisSpec) ProtoMessage ¶
func (*KinesisSpec) ProtoMessage()
func (*KinesisSpec) Reset ¶
func (m *KinesisSpec) Reset()
func (*KinesisSpec) Size ¶
func (m *KinesisSpec) Size() (n int)
func (*KinesisSpec) String ¶
func (this *KinesisSpec) String() string
func (*KinesisSpec) Unmarshal ¶
func (m *KinesisSpec) Unmarshal(dAtA []byte) error
func (*KinesisSpec) XXX_DiscardUnknown ¶
func (m *KinesisSpec) XXX_DiscardUnknown()
func (*KinesisSpec) XXX_Marshal ¶
func (m *KinesisSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KinesisSpec) XXX_Merge ¶
func (m *KinesisSpec) XXX_Merge(src proto.Message)
func (*KinesisSpec) XXX_Size ¶
func (m *KinesisSpec) XXX_Size() int
func (*KinesisSpec) XXX_Unmarshal ¶
func (m *KinesisSpec) XXX_Unmarshal(b []byte) error
type PubSubSpec ¶ added in v0.17.0
type PubSubSpec struct {
// The customer service account id that Temporal Cloud impersonates for writing records to customer's pubsub topic
SaId string `protobuf:"bytes,1,opt,name=sa_id,json=saId,proto3" json:"sa_id,omitempty"`
// Destination pubsub topic name for us
TopicName string `protobuf:"bytes,2,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"`
// The gcp project id of pubsub topic and service account
GcpProjectId string `protobuf:"bytes,3,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"`
}
func (*PubSubSpec) Descriptor ¶ added in v0.17.0
func (*PubSubSpec) Descriptor() ([]byte, []int)
func (*PubSubSpec) Equal ¶ added in v0.17.0
func (this *PubSubSpec) Equal(that interface{}) bool
func (*PubSubSpec) GetGcpProjectId ¶ added in v0.17.0
func (m *PubSubSpec) GetGcpProjectId() string
func (*PubSubSpec) GetSaId ¶ added in v0.17.0
func (m *PubSubSpec) GetSaId() string
func (*PubSubSpec) GetTopicName ¶ added in v0.17.0
func (m *PubSubSpec) GetTopicName() string
func (*PubSubSpec) GoString ¶ added in v0.17.0
func (this *PubSubSpec) GoString() string
func (*PubSubSpec) Marshal ¶ added in v0.17.0
func (m *PubSubSpec) Marshal() (dAtA []byte, err error)
func (*PubSubSpec) MarshalTo ¶ added in v0.17.0
func (m *PubSubSpec) MarshalTo(dAtA []byte) (int, error)
func (*PubSubSpec) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *PubSubSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PubSubSpec) ProtoMessage ¶ added in v0.17.0
func (*PubSubSpec) ProtoMessage()
func (*PubSubSpec) Reset ¶ added in v0.17.0
func (m *PubSubSpec) Reset()
func (*PubSubSpec) Size ¶ added in v0.17.0
func (m *PubSubSpec) Size() (n int)
func (*PubSubSpec) String ¶ added in v0.17.0
func (this *PubSubSpec) String() string
func (*PubSubSpec) Unmarshal ¶ added in v0.17.0
func (m *PubSubSpec) Unmarshal(dAtA []byte) error
func (*PubSubSpec) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *PubSubSpec) XXX_DiscardUnknown()
func (*PubSubSpec) XXX_Marshal ¶ added in v0.17.0
func (m *PubSubSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PubSubSpec) XXX_Merge ¶ added in v0.17.0
func (m *PubSubSpec) XXX_Merge(src proto.Message)
func (*PubSubSpec) XXX_Size ¶ added in v0.17.0
func (m *PubSubSpec) XXX_Size() int
func (*PubSubSpec) XXX_Unmarshal ¶ added in v0.17.0
func (m *PubSubSpec) XXX_Unmarshal(b []byte) error
type Sink ¶
type Sink struct {
// Name of the sink e.g. "audit_log_01"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
State State `protobuf:"varint,2,opt,name=state,proto3,enum=api.sink.v1.State" json:"state,omitempty"`
ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// The last succeeded timestamp for the internal workflow responsible for adding data to the sink.
LastSucceededTime *types.Timestamp `protobuf:"bytes,4,opt,name=last_succeeded_time,json=lastSucceededTime,proto3" json:"last_succeeded_time,omitempty"`
}
Sink is only used by Audit Log
func (*Sink) Descriptor ¶
func (*Sink) GetErrorMessage ¶
func (*Sink) GetLastSucceededTime ¶
func (*Sink) ProtoMessage ¶
func (*Sink) ProtoMessage()
func (*Sink) XXX_DiscardUnknown ¶
func (m *Sink) XXX_DiscardUnknown()
func (*Sink) XXX_Unmarshal ¶
type SinkSpec ¶
type SinkSpec struct {
// Name of the sink e.g. "audit_log_01"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Type of the sink.
SinkType Type `protobuf:"varint,2,opt,name=sink_type,json=sinkType,proto3,enum=api.sink.v1.Type" json:"sink_type,omitempty"`
// The receiving service type.
DestinationType DestinationType `` /* 140-byte string literal not displayed */
// The KinesisSpec when destination_type is Kinesis
KinesisSink *KinesisSpec `protobuf:"bytes,4,opt,name=kinesis_sink,json=kinesisSink,proto3" json:"kinesis_sink,omitempty"`
Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"`
// The PubSubSpec when destination_type is PubSub
PubSubSink *PubSubSpec `protobuf:"bytes,7,opt,name=pub_sub_sink,json=pubSubSink,proto3" json:"pub_sub_sink,omitempty"`
}
SinkSpec is only used by Audit Log
func (*SinkSpec) Descriptor ¶
func (*SinkSpec) GetDestinationType ¶
func (m *SinkSpec) GetDestinationType() DestinationType
func (*SinkSpec) GetEnabled ¶
func (*SinkSpec) GetKinesisSink ¶
func (m *SinkSpec) GetKinesisSink() *KinesisSpec
func (*SinkSpec) GetPubSubSink ¶ added in v0.17.0
func (m *SinkSpec) GetPubSubSink() *PubSubSpec
func (*SinkSpec) GetSinkType ¶
func (*SinkSpec) MarshalToSizedBuffer ¶
func (*SinkSpec) ProtoMessage ¶
func (*SinkSpec) ProtoMessage()
func (*SinkSpec) XXX_DiscardUnknown ¶
func (m *SinkSpec) XXX_DiscardUnknown()
func (*SinkSpec) XXX_Marshal ¶
func (*SinkSpec) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.