Documentation ¶
Index ¶
- Variables
- type ActorRef
- type EscalateDirective
- type GetKindsRequest
- type GetKindsResponse
- type GetNodeMetricRequest
- func (*GetNodeMetricRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeMetricRequest) GetNodeAddress() string
- func (*GetNodeMetricRequest) ProtoMessage()
- func (x *GetNodeMetricRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodeMetricRequest) Reset()
- func (x *GetNodeMetricRequest) String() string
- type GetNodeMetricResponse
- func (*GetNodeMetricResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeMetricResponse) GetActorsCount() uint64
- func (x *GetNodeMetricResponse) GetNodeRemoteAddress() string
- func (*GetNodeMetricResponse) ProtoMessage()
- func (x *GetNodeMetricResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodeMetricResponse) Reset()
- func (x *GetNodeMetricResponse) String() string
- type HandleFault
- func (*HandleFault) Descriptor() ([]byte, []int)deprecated
- func (x *HandleFault) GetActorId() string
- func (m *HandleFault) GetDirective() isHandleFault_Directive
- func (x *HandleFault) GetEscalate() *EscalateDirective
- func (x *HandleFault) GetMessage() string
- func (x *HandleFault) GetRestart() *RestartDirective
- func (x *HandleFault) GetResume() *ResumeDirective
- func (x *HandleFault) GetStop() *StopDirective
- func (*HandleFault) ProtoMessage()
- func (x *HandleFault) ProtoReflect() protoreflect.Message
- func (x *HandleFault) Reset()
- func (x *HandleFault) String() string
- type HandleFault_Escalate
- type HandleFault_Restart
- type HandleFault_Resume
- type HandleFault_Stop
- type NatsMessage
- func (*NatsMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NatsMessage) GetHost() string
- func (x *NatsMessage) GetMessageType() NatsMessageType
- func (x *NatsMessage) GetName() string
- func (x *NatsMessage) GetPort() int32
- func (*NatsMessage) ProtoMessage()
- func (x *NatsMessage) ProtoReflect() protoreflect.Message
- func (x *NatsMessage) Reset()
- func (x *NatsMessage) String() string
- type NatsMessageType
- func (NatsMessageType) Descriptor() protoreflect.EnumDescriptor
- func (x NatsMessageType) Enum() *NatsMessageType
- func (NatsMessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NatsMessageType) Number() protoreflect.EnumNumber
- func (x NatsMessageType) String() string
- func (NatsMessageType) Type() protoreflect.EnumType
- type PeerState
- func (*PeerState) Descriptor() ([]byte, []int)deprecated
- func (x *PeerState) GetActors() []*ActorRef
- func (x *PeerState) GetHost() string
- func (x *PeerState) GetPeersPort() int32
- func (x *PeerState) GetRemotingPort() int32
- func (*PeerState) ProtoMessage()
- func (x *PeerState) ProtoReflect() protoreflect.Message
- func (x *PeerState) Reset()
- func (x *PeerState) String() string
- type PeersSync
- func (*PeersSync) Descriptor() ([]byte, []int)deprecated
- func (x *PeersSync) GetActor() *ActorRef
- func (x *PeersSync) GetHost() string
- func (x *PeersSync) GetPeersPort() int32
- func (x *PeersSync) GetRemotingPort() int32
- func (*PeersSync) ProtoMessage()
- func (x *PeersSync) ProtoReflect() protoreflect.Message
- func (x *PeersSync) Reset()
- func (x *PeersSync) String() string
- type Rebalance
- type RemoteAskRequest
- func (*RemoteAskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteAskRequest) GetRemoteMessage() *RemoteMessage
- func (x *RemoteAskRequest) GetTimeout() *durationpb.Duration
- func (*RemoteAskRequest) ProtoMessage()
- func (x *RemoteAskRequest) ProtoReflect() protoreflect.Message
- func (x *RemoteAskRequest) Reset()
- func (x *RemoteAskRequest) String() string
- type RemoteAskResponse
- func (*RemoteAskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteAskResponse) GetMessage() *anypb.Any
- func (*RemoteAskResponse) ProtoMessage()
- func (x *RemoteAskResponse) ProtoReflect() protoreflect.Message
- func (x *RemoteAskResponse) Reset()
- func (x *RemoteAskResponse) String() string
- type RemoteLookupRequest
- func (*RemoteLookupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteLookupRequest) GetHost() string
- func (x *RemoteLookupRequest) GetName() string
- func (x *RemoteLookupRequest) GetPort() int32
- func (*RemoteLookupRequest) ProtoMessage()
- func (x *RemoteLookupRequest) ProtoReflect() protoreflect.Message
- func (x *RemoteLookupRequest) Reset()
- func (x *RemoteLookupRequest) String() string
- type RemoteLookupResponse
- func (*RemoteLookupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteLookupResponse) GetAddress() *goaktpb.Address
- func (*RemoteLookupResponse) ProtoMessage()
- func (x *RemoteLookupResponse) ProtoReflect() protoreflect.Message
- func (x *RemoteLookupResponse) Reset()
- func (x *RemoteLookupResponse) String() string
- type RemoteMessage
- func (*RemoteMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteMessage) GetMessage() *anypb.Any
- func (x *RemoteMessage) GetReceiver() *goaktpb.Address
- func (x *RemoteMessage) GetSender() *goaktpb.Address
- func (*RemoteMessage) ProtoMessage()
- func (x *RemoteMessage) ProtoReflect() protoreflect.Message
- func (x *RemoteMessage) Reset()
- func (x *RemoteMessage) String() string
- type RemoteReSpawnRequest
- func (*RemoteReSpawnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteReSpawnRequest) GetHost() string
- func (x *RemoteReSpawnRequest) GetName() string
- func (x *RemoteReSpawnRequest) GetPort() int32
- func (*RemoteReSpawnRequest) ProtoMessage()
- func (x *RemoteReSpawnRequest) ProtoReflect() protoreflect.Message
- func (x *RemoteReSpawnRequest) Reset()
- func (x *RemoteReSpawnRequest) String() string
- type RemoteReSpawnResponse
- type RemoteSpawnRequest
- func (*RemoteSpawnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteSpawnRequest) GetActorName() string
- func (x *RemoteSpawnRequest) GetActorType() string
- func (x *RemoteSpawnRequest) GetHost() string
- func (x *RemoteSpawnRequest) GetPort() int32
- func (*RemoteSpawnRequest) ProtoMessage()
- func (x *RemoteSpawnRequest) ProtoReflect() protoreflect.Message
- func (x *RemoteSpawnRequest) Reset()
- func (x *RemoteSpawnRequest) String() string
- type RemoteSpawnResponse
- type RemoteStopRequest
- func (*RemoteStopRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteStopRequest) GetHost() string
- func (x *RemoteStopRequest) GetName() string
- func (x *RemoteStopRequest) GetPort() int32
- func (*RemoteStopRequest) ProtoMessage()
- func (x *RemoteStopRequest) ProtoReflect() protoreflect.Message
- func (x *RemoteStopRequest) Reset()
- func (x *RemoteStopRequest) String() string
- type RemoteStopResponse
- type RemoteTellRequest
- func (*RemoteTellRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteTellRequest) GetRemoteMessage() *RemoteMessage
- func (*RemoteTellRequest) ProtoMessage()
- func (x *RemoteTellRequest) ProtoReflect() protoreflect.Message
- func (x *RemoteTellRequest) Reset()
- func (x *RemoteTellRequest) String() string
- type RemoteTellResponse
- type RestartDirective
- func (*RestartDirective) Descriptor() ([]byte, []int)deprecated
- func (x *RestartDirective) GetMaxRetries() uint32
- func (x *RestartDirective) GetTimeout() int64
- func (*RestartDirective) ProtoMessage()
- func (x *RestartDirective) ProtoReflect() protoreflect.Message
- func (x *RestartDirective) Reset()
- func (x *RestartDirective) String() string
- type ResumeDirective
- type StopDirective
Constants ¶
This section is empty.
Variables ¶
var ( NatsMessageType_name = map[int32]string{ 0: "NATS_MESSAGE_TYPE_REGISTER", 1: "NATS_MESSAGE_TYPE_DEREGISTER", 2: "NATS_MESSAGE_TYPE_REQUEST", 3: "NATS_MESSAGE_TYPE_RESPONSE", } NatsMessageType_value = map[string]int32{ "NATS_MESSAGE_TYPE_REGISTER": 0, "NATS_MESSAGE_TYPE_DEREGISTER": 1, "NATS_MESSAGE_TYPE_REQUEST": 2, "NATS_MESSAGE_TYPE_RESPONSE": 3, } )
Enum value maps for NatsMessageType.
var File_internal_actor_proto protoreflect.FileDescriptor
var File_internal_cluster_proto protoreflect.FileDescriptor
var File_internal_nats_proto protoreflect.FileDescriptor
var File_internal_peers_proto protoreflect.FileDescriptor
var File_internal_remoting_proto protoreflect.FileDescriptor
var File_internal_supervision_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActorRef ¶ added in v2.6.2
type ActorRef struct { // Specifies the actor address ActorAddress *goaktpb.Address `protobuf:"bytes,1,opt,name=actor_address,json=actorAddress,proto3" json:"actor_address,omitempty"` // Specifies the actor type ActorType string `protobuf:"bytes,2,opt,name=actor_type,json=actorType,proto3" json:"actor_type,omitempty"` // contains filtered or unexported fields }
ActorRef represents the actor information on the wire.
func (*ActorRef) Descriptor
deprecated
added in
v2.6.2
func (*ActorRef) GetActorAddress ¶ added in v2.6.2
func (*ActorRef) GetActorType ¶ added in v2.6.2
func (*ActorRef) ProtoMessage ¶ added in v2.6.2
func (*ActorRef) ProtoMessage()
func (*ActorRef) ProtoReflect ¶ added in v2.6.2
func (x *ActorRef) ProtoReflect() protoreflect.Message
type EscalateDirective ¶ added in v2.10.0
type EscalateDirective struct {
// contains filtered or unexported fields
}
EscalateDirective defines the supervisor escalation directive It escalates the failure to the next parent in the hierarchy, thereby failing itself
func (*EscalateDirective) Descriptor
deprecated
added in
v2.10.0
func (*EscalateDirective) Descriptor() ([]byte, []int)
Deprecated: Use EscalateDirective.ProtoReflect.Descriptor instead.
func (*EscalateDirective) ProtoMessage ¶ added in v2.10.0
func (*EscalateDirective) ProtoMessage()
func (*EscalateDirective) ProtoReflect ¶ added in v2.10.0
func (x *EscalateDirective) ProtoReflect() protoreflect.Message
func (*EscalateDirective) Reset ¶ added in v2.10.0
func (x *EscalateDirective) Reset()
func (*EscalateDirective) String ¶ added in v2.10.0
func (x *EscalateDirective) String() string
type GetKindsRequest ¶ added in v2.2.1
type GetKindsRequest struct { // Specifies the node address NodeAddress string `protobuf:"bytes,1,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty"` // contains filtered or unexported fields }
func (*GetKindsRequest) Descriptor
deprecated
added in
v2.2.1
func (*GetKindsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKindsRequest.ProtoReflect.Descriptor instead.
func (*GetKindsRequest) GetNodeAddress ¶ added in v2.2.1
func (x *GetKindsRequest) GetNodeAddress() string
func (*GetKindsRequest) ProtoMessage ¶ added in v2.2.1
func (*GetKindsRequest) ProtoMessage()
func (*GetKindsRequest) ProtoReflect ¶ added in v2.2.1
func (x *GetKindsRequest) ProtoReflect() protoreflect.Message
func (*GetKindsRequest) Reset ¶ added in v2.2.1
func (x *GetKindsRequest) Reset()
func (*GetKindsRequest) String ¶ added in v2.2.1
func (x *GetKindsRequest) String() string
type GetKindsResponse ¶ added in v2.2.1
type GetKindsResponse struct { // Specifies the list of kinds Kinds []string `protobuf:"bytes,1,rep,name=kinds,proto3" json:"kinds,omitempty"` // contains filtered or unexported fields }
func (*GetKindsResponse) Descriptor
deprecated
added in
v2.2.1
func (*GetKindsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKindsResponse.ProtoReflect.Descriptor instead.
func (*GetKindsResponse) GetKinds ¶ added in v2.2.1
func (x *GetKindsResponse) GetKinds() []string
func (*GetKindsResponse) ProtoMessage ¶ added in v2.2.1
func (*GetKindsResponse) ProtoMessage()
func (*GetKindsResponse) ProtoReflect ¶ added in v2.2.1
func (x *GetKindsResponse) ProtoReflect() protoreflect.Message
func (*GetKindsResponse) Reset ¶ added in v2.2.1
func (x *GetKindsResponse) Reset()
func (*GetKindsResponse) String ¶ added in v2.2.1
func (x *GetKindsResponse) String() string
type GetNodeMetricRequest ¶ added in v2.2.1
type GetNodeMetricRequest struct { // Specifies the node address NodeAddress string `protobuf:"bytes,1,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty"` // contains filtered or unexported fields }
func (*GetNodeMetricRequest) Descriptor
deprecated
added in
v2.2.1
func (*GetNodeMetricRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeMetricRequest.ProtoReflect.Descriptor instead.
func (*GetNodeMetricRequest) GetNodeAddress ¶ added in v2.2.1
func (x *GetNodeMetricRequest) GetNodeAddress() string
func (*GetNodeMetricRequest) ProtoMessage ¶ added in v2.2.1
func (*GetNodeMetricRequest) ProtoMessage()
func (*GetNodeMetricRequest) ProtoReflect ¶ added in v2.2.1
func (x *GetNodeMetricRequest) ProtoReflect() protoreflect.Message
func (*GetNodeMetricRequest) Reset ¶ added in v2.2.1
func (x *GetNodeMetricRequest) Reset()
func (*GetNodeMetricRequest) String ¶ added in v2.2.1
func (x *GetNodeMetricRequest) String() string
type GetNodeMetricResponse ¶ added in v2.2.1
type GetNodeMetricResponse struct { // Specifies the node address NodeRemoteAddress string `protobuf:"bytes,1,opt,name=node_remote_address,json=nodeRemoteAddress,proto3" json:"node_remote_address,omitempty"` // Specifies the actors count for the given node ActorsCount uint64 `protobuf:"varint,2,opt,name=actors_count,json=actorsCount,proto3" json:"actors_count,omitempty"` // contains filtered or unexported fields }
func (*GetNodeMetricResponse) Descriptor
deprecated
added in
v2.2.1
func (*GetNodeMetricResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeMetricResponse.ProtoReflect.Descriptor instead.
func (*GetNodeMetricResponse) GetActorsCount ¶ added in v2.2.1
func (x *GetNodeMetricResponse) GetActorsCount() uint64
func (*GetNodeMetricResponse) GetNodeRemoteAddress ¶ added in v2.2.1
func (x *GetNodeMetricResponse) GetNodeRemoteAddress() string
func (*GetNodeMetricResponse) ProtoMessage ¶ added in v2.2.1
func (*GetNodeMetricResponse) ProtoMessage()
func (*GetNodeMetricResponse) ProtoReflect ¶ added in v2.2.1
func (x *GetNodeMetricResponse) ProtoReflect() protoreflect.Message
func (*GetNodeMetricResponse) Reset ¶ added in v2.2.1
func (x *GetNodeMetricResponse) Reset()
func (*GetNodeMetricResponse) String ¶ added in v2.2.1
func (x *GetNodeMetricResponse) String() string
type HandleFault ¶ added in v2.8.2
type HandleFault struct { // Specifies the actor id ActorId string `protobuf:"bytes,1,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` // Specifies the message Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Specifies the directive // // Types that are assignable to Directive: // // *HandleFault_Stop // *HandleFault_Resume // *HandleFault_Restart // *HandleFault_Escalate Directive isHandleFault_Directive `protobuf_oneof:"directive"` // contains filtered or unexported fields }
HandleFault message is sent by a child actor to its parent when it is panicking or returning an error while processing message
func (*HandleFault) Descriptor
deprecated
added in
v2.8.2
func (*HandleFault) Descriptor() ([]byte, []int)
Deprecated: Use HandleFault.ProtoReflect.Descriptor instead.
func (*HandleFault) GetActorId ¶ added in v2.8.2
func (x *HandleFault) GetActorId() string
func (*HandleFault) GetDirective ¶ added in v2.10.0
func (m *HandleFault) GetDirective() isHandleFault_Directive
func (*HandleFault) GetEscalate ¶ added in v2.10.0
func (x *HandleFault) GetEscalate() *EscalateDirective
func (*HandleFault) GetMessage ¶ added in v2.8.2
func (x *HandleFault) GetMessage() string
func (*HandleFault) GetRestart ¶ added in v2.10.0
func (x *HandleFault) GetRestart() *RestartDirective
func (*HandleFault) GetResume ¶ added in v2.10.0
func (x *HandleFault) GetResume() *ResumeDirective
func (*HandleFault) GetStop ¶ added in v2.10.0
func (x *HandleFault) GetStop() *StopDirective
func (*HandleFault) ProtoMessage ¶ added in v2.8.2
func (*HandleFault) ProtoMessage()
func (*HandleFault) ProtoReflect ¶ added in v2.8.2
func (x *HandleFault) ProtoReflect() protoreflect.Message
func (*HandleFault) Reset ¶ added in v2.8.2
func (x *HandleFault) Reset()
func (*HandleFault) String ¶ added in v2.8.2
func (x *HandleFault) String() string
type HandleFault_Escalate ¶ added in v2.10.0
type HandleFault_Escalate struct {
Escalate *EscalateDirective `protobuf:"bytes,6,opt,name=escalate,proto3,oneof"`
}
type HandleFault_Restart ¶ added in v2.10.0
type HandleFault_Restart struct {
Restart *RestartDirective `protobuf:"bytes,5,opt,name=restart,proto3,oneof"`
}
type HandleFault_Resume ¶ added in v2.10.0
type HandleFault_Resume struct {
Resume *ResumeDirective `protobuf:"bytes,4,opt,name=resume,proto3,oneof"`
}
type HandleFault_Stop ¶ added in v2.10.0
type HandleFault_Stop struct {
Stop *StopDirective `protobuf:"bytes,3,opt,name=stop,proto3,oneof"`
}
type NatsMessage ¶
type NatsMessage struct { // Specifies the host name of the client node Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Specifies the port of the client node Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // Specifies the client name Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Specifies the message type MessageType NatsMessageType `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
NatsMessage defines the NATs message used by the discovery provider
func (*NatsMessage) Descriptor
deprecated
func (*NatsMessage) Descriptor() ([]byte, []int)
Deprecated: Use NatsMessage.ProtoReflect.Descriptor instead.
func (*NatsMessage) GetHost ¶
func (x *NatsMessage) GetHost() string
func (*NatsMessage) GetMessageType ¶
func (x *NatsMessage) GetMessageType() NatsMessageType
func (*NatsMessage) GetName ¶
func (x *NatsMessage) GetName() string
func (*NatsMessage) GetPort ¶
func (x *NatsMessage) GetPort() int32
func (*NatsMessage) ProtoMessage ¶
func (*NatsMessage) ProtoMessage()
func (*NatsMessage) ProtoReflect ¶
func (x *NatsMessage) ProtoReflect() protoreflect.Message
func (*NatsMessage) Reset ¶
func (x *NatsMessage) Reset()
func (*NatsMessage) String ¶
func (x *NatsMessage) String() string
type NatsMessageType ¶
type NatsMessageType int32
NatsMessageType defines the NATs message type
const ( NatsMessageType_NATS_MESSAGE_TYPE_REGISTER NatsMessageType = 0 NatsMessageType_NATS_MESSAGE_TYPE_DEREGISTER NatsMessageType = 1 NatsMessageType_NATS_MESSAGE_TYPE_REQUEST NatsMessageType = 2 NatsMessageType_NATS_MESSAGE_TYPE_RESPONSE NatsMessageType = 3 )
func (NatsMessageType) Descriptor ¶
func (NatsMessageType) Descriptor() protoreflect.EnumDescriptor
func (NatsMessageType) Enum ¶
func (x NatsMessageType) Enum() *NatsMessageType
func (NatsMessageType) EnumDescriptor
deprecated
func (NatsMessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NatsMessageType.Descriptor instead.
func (NatsMessageType) Number ¶
func (x NatsMessageType) Number() protoreflect.EnumNumber
func (NatsMessageType) String ¶
func (x NatsMessageType) String() string
func (NatsMessageType) Type ¶
func (NatsMessageType) Type() protoreflect.EnumType
type PeerState ¶ added in v2.1.0
type PeerState struct { // Specifies the peer host Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Specifies the remoting port RemotingPort int32 `protobuf:"varint,2,opt,name=remoting_port,json=remotingPort,proto3" json:"remoting_port,omitempty"` // Specifies the remoting host PeersPort int32 `protobuf:"varint,3,opt,name=peers_port,json=peersPort,proto3" json:"peers_port,omitempty"` // Specifies the list of actors Actors []*ActorRef `protobuf:"bytes,4,rep,name=actors,proto3" json:"actors,omitempty"` // contains filtered or unexported fields }
func (*PeerState) Descriptor
deprecated
added in
v2.1.0
func (*PeerState) GetPeersPort ¶ added in v2.1.0
func (*PeerState) GetRemotingPort ¶ added in v2.1.0
func (*PeerState) ProtoMessage ¶ added in v2.1.0
func (*PeerState) ProtoMessage()
func (*PeerState) ProtoReflect ¶ added in v2.1.0
func (x *PeerState) ProtoReflect() protoreflect.Message
type PeersSync ¶ added in v2.1.0
type PeersSync struct { // Specifies the peer host Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Specifies the remoting port RemotingPort int32 `protobuf:"varint,2,opt,name=remoting_port,json=remotingPort,proto3" json:"remoting_port,omitempty"` // Specifies the remoting host PeersPort int32 `protobuf:"varint,3,opt,name=peers_port,json=peersPort,proto3" json:"peers_port,omitempty"` // Specifies the wire actor Actor *ActorRef `protobuf:"bytes,4,opt,name=actor,proto3" json:"actor,omitempty"` // contains filtered or unexported fields }
PeersSync is used to share a created/ restarted actor on a given node to his peers when cluster is enabled
func (*PeersSync) Descriptor
deprecated
added in
v2.1.0
func (*PeersSync) GetPeersPort ¶ added in v2.1.0
func (*PeersSync) GetRemotingPort ¶ added in v2.1.0
func (*PeersSync) ProtoMessage ¶ added in v2.1.0
func (*PeersSync) ProtoMessage()
func (*PeersSync) ProtoReflect ¶ added in v2.1.0
func (x *PeersSync) ProtoReflect() protoreflect.Message
type Rebalance ¶ added in v2.8.1
type Rebalance struct { // Specifies the peer state PeerState *PeerState `protobuf:"bytes,1,opt,name=peer_state,json=peerState,proto3" json:"peer_state,omitempty"` // contains filtered or unexported fields }
func (*Rebalance) Descriptor
deprecated
added in
v2.8.1
func (*Rebalance) GetPeerState ¶ added in v2.8.1
func (*Rebalance) ProtoMessage ¶ added in v2.8.1
func (*Rebalance) ProtoMessage()
func (*Rebalance) ProtoReflect ¶ added in v2.8.1
func (x *Rebalance) ProtoReflect() protoreflect.Message
type RemoteAskRequest ¶
type RemoteAskRequest struct { // Specifies the remote message to send RemoteMessage *RemoteMessage `protobuf:"bytes,1,opt,name=remote_message,json=remoteMessage,proto3" json:"remote_message,omitempty"` // Specifies the timeout(how long to wait for a reply) Timeout *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
RemoteAsk is used to send a message to an actor remotely and expect a response immediately.
func (*RemoteAskRequest) Descriptor
deprecated
func (*RemoteAskRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoteAskRequest.ProtoReflect.Descriptor instead.
func (*RemoteAskRequest) GetRemoteMessage ¶
func (x *RemoteAskRequest) GetRemoteMessage() *RemoteMessage
func (*RemoteAskRequest) GetTimeout ¶ added in v2.3.0
func (x *RemoteAskRequest) GetTimeout() *durationpb.Duration
func (*RemoteAskRequest) ProtoMessage ¶
func (*RemoteAskRequest) ProtoMessage()
func (*RemoteAskRequest) ProtoReflect ¶
func (x *RemoteAskRequest) ProtoReflect() protoreflect.Message
func (*RemoteAskRequest) Reset ¶
func (x *RemoteAskRequest) Reset()
func (*RemoteAskRequest) String ¶
func (x *RemoteAskRequest) String() string
type RemoteAskResponse ¶
type RemoteAskResponse struct { // Specifies the message to send to the actor // Any proto message is allowed to be sent Message *anypb.Any `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*RemoteAskResponse) Descriptor
deprecated
func (*RemoteAskResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoteAskResponse.ProtoReflect.Descriptor instead.
func (*RemoteAskResponse) GetMessage ¶
func (x *RemoteAskResponse) GetMessage() *anypb.Any
func (*RemoteAskResponse) ProtoMessage ¶
func (*RemoteAskResponse) ProtoMessage()
func (*RemoteAskResponse) ProtoReflect ¶
func (x *RemoteAskResponse) ProtoReflect() protoreflect.Message
func (*RemoteAskResponse) Reset ¶
func (x *RemoteAskResponse) Reset()
func (*RemoteAskResponse) String ¶
func (x *RemoteAskResponse) String() string
type RemoteLookupRequest ¶
type RemoteLookupRequest struct { // Specifies the remote host address Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Specifies the remote port Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // Specifies the actor name Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
RemoteLookupRequest checks whether a given actor exists on a remote host
func (*RemoteLookupRequest) Descriptor
deprecated
func (*RemoteLookupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoteLookupRequest.ProtoReflect.Descriptor instead.
func (*RemoteLookupRequest) GetHost ¶
func (x *RemoteLookupRequest) GetHost() string
func (*RemoteLookupRequest) GetName ¶
func (x *RemoteLookupRequest) GetName() string
func (*RemoteLookupRequest) GetPort ¶
func (x *RemoteLookupRequest) GetPort() int32
func (*RemoteLookupRequest) ProtoMessage ¶
func (*RemoteLookupRequest) ProtoMessage()
func (*RemoteLookupRequest) ProtoReflect ¶
func (x *RemoteLookupRequest) ProtoReflect() protoreflect.Message
func (*RemoteLookupRequest) Reset ¶
func (x *RemoteLookupRequest) Reset()
func (*RemoteLookupRequest) String ¶
func (x *RemoteLookupRequest) String() string
type RemoteLookupResponse ¶
type RemoteLookupResponse struct { // Specifies the actor address Address *goaktpb.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*RemoteLookupResponse) Descriptor
deprecated
func (*RemoteLookupResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoteLookupResponse.ProtoReflect.Descriptor instead.
func (*RemoteLookupResponse) GetAddress ¶
func (x *RemoteLookupResponse) GetAddress() *goaktpb.Address
func (*RemoteLookupResponse) ProtoMessage ¶
func (*RemoteLookupResponse) ProtoMessage()
func (*RemoteLookupResponse) ProtoReflect ¶
func (x *RemoteLookupResponse) ProtoReflect() protoreflect.Message
func (*RemoteLookupResponse) Reset ¶
func (x *RemoteLookupResponse) Reset()
func (*RemoteLookupResponse) String ¶
func (x *RemoteLookupResponse) String() string
type RemoteMessage ¶
type RemoteMessage struct { // Specifies the sender' address Sender *goaktpb.Address `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Specifies the actor address Receiver *goaktpb.Address `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` // Specifies the message to send to the actor // Any proto message is allowed to be sent Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
RemoteMessage will be used by Actors to communicate remotely
func (*RemoteMessage) Descriptor
deprecated
func (*RemoteMessage) Descriptor() ([]byte, []int)
Deprecated: Use RemoteMessage.ProtoReflect.Descriptor instead.
func (*RemoteMessage) GetMessage ¶
func (x *RemoteMessage) GetMessage() *anypb.Any
func (*RemoteMessage) GetReceiver ¶
func (x *RemoteMessage) GetReceiver() *goaktpb.Address
func (*RemoteMessage) GetSender ¶
func (x *RemoteMessage) GetSender() *goaktpb.Address
func (*RemoteMessage) ProtoMessage ¶
func (*RemoteMessage) ProtoMessage()
func (*RemoteMessage) ProtoReflect ¶
func (x *RemoteMessage) ProtoReflect() protoreflect.Message
func (*RemoteMessage) Reset ¶
func (x *RemoteMessage) Reset()
func (*RemoteMessage) String ¶
func (x *RemoteMessage) String() string
type RemoteReSpawnRequest ¶
type RemoteReSpawnRequest struct { // Specifies the remote host address Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Specifies the remote port Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // Specifies the actor name Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RemoteReSpawnRequest) Descriptor
deprecated
func (*RemoteReSpawnRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoteReSpawnRequest.ProtoReflect.Descriptor instead.
func (*RemoteReSpawnRequest) GetHost ¶
func (x *RemoteReSpawnRequest) GetHost() string
func (*RemoteReSpawnRequest) GetName ¶
func (x *RemoteReSpawnRequest) GetName() string
func (*RemoteReSpawnRequest) GetPort ¶
func (x *RemoteReSpawnRequest) GetPort() int32
func (*RemoteReSpawnRequest) ProtoMessage ¶
func (*RemoteReSpawnRequest) ProtoMessage()
func (*RemoteReSpawnRequest) ProtoReflect ¶
func (x *RemoteReSpawnRequest) ProtoReflect() protoreflect.Message
func (*RemoteReSpawnRequest) Reset ¶
func (x *RemoteReSpawnRequest) Reset()
func (*RemoteReSpawnRequest) String ¶
func (x *RemoteReSpawnRequest) String() string
type RemoteReSpawnResponse ¶
type RemoteReSpawnResponse struct {
// contains filtered or unexported fields
}
func (*RemoteReSpawnResponse) Descriptor
deprecated
func (*RemoteReSpawnResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoteReSpawnResponse.ProtoReflect.Descriptor instead.
func (*RemoteReSpawnResponse) ProtoMessage ¶
func (*RemoteReSpawnResponse) ProtoMessage()
func (*RemoteReSpawnResponse) ProtoReflect ¶
func (x *RemoteReSpawnResponse) ProtoReflect() protoreflect.Message
func (*RemoteReSpawnResponse) Reset ¶
func (x *RemoteReSpawnResponse) Reset()
func (*RemoteReSpawnResponse) String ¶
func (x *RemoteReSpawnResponse) String() string
type RemoteSpawnRequest ¶
type RemoteSpawnRequest struct { // Specifies the remote host address Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Specifies the remote port Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // Specifies the actor name. ActorName string `protobuf:"bytes,3,opt,name=actor_name,json=actorName,proto3" json:"actor_name,omitempty"` // Specifies the actor type ActorType string `protobuf:"bytes,4,opt,name=actor_type,json=actorType,proto3" json:"actor_type,omitempty"` // contains filtered or unexported fields }
func (*RemoteSpawnRequest) Descriptor
deprecated
func (*RemoteSpawnRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoteSpawnRequest.ProtoReflect.Descriptor instead.
func (*RemoteSpawnRequest) GetActorName ¶
func (x *RemoteSpawnRequest) GetActorName() string
func (*RemoteSpawnRequest) GetActorType ¶
func (x *RemoteSpawnRequest) GetActorType() string
func (*RemoteSpawnRequest) GetHost ¶
func (x *RemoteSpawnRequest) GetHost() string
func (*RemoteSpawnRequest) GetPort ¶
func (x *RemoteSpawnRequest) GetPort() int32
func (*RemoteSpawnRequest) ProtoMessage ¶
func (*RemoteSpawnRequest) ProtoMessage()
func (*RemoteSpawnRequest) ProtoReflect ¶
func (x *RemoteSpawnRequest) ProtoReflect() protoreflect.Message
func (*RemoteSpawnRequest) Reset ¶
func (x *RemoteSpawnRequest) Reset()
func (*RemoteSpawnRequest) String ¶
func (x *RemoteSpawnRequest) String() string
type RemoteSpawnResponse ¶
type RemoteSpawnResponse struct {
// contains filtered or unexported fields
}
func (*RemoteSpawnResponse) Descriptor
deprecated
func (*RemoteSpawnResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoteSpawnResponse.ProtoReflect.Descriptor instead.
func (*RemoteSpawnResponse) ProtoMessage ¶
func (*RemoteSpawnResponse) ProtoMessage()
func (*RemoteSpawnResponse) ProtoReflect ¶
func (x *RemoteSpawnResponse) ProtoReflect() protoreflect.Message
func (*RemoteSpawnResponse) Reset ¶
func (x *RemoteSpawnResponse) Reset()
func (*RemoteSpawnResponse) String ¶
func (x *RemoteSpawnResponse) String() string
type RemoteStopRequest ¶
type RemoteStopRequest struct { // Specifies the remote host address Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Specifies the remote port Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // Specifies the actor name Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RemoteStopRequest) Descriptor
deprecated
func (*RemoteStopRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoteStopRequest.ProtoReflect.Descriptor instead.
func (*RemoteStopRequest) GetHost ¶
func (x *RemoteStopRequest) GetHost() string
func (*RemoteStopRequest) GetName ¶
func (x *RemoteStopRequest) GetName() string
func (*RemoteStopRequest) GetPort ¶
func (x *RemoteStopRequest) GetPort() int32
func (*RemoteStopRequest) ProtoMessage ¶
func (*RemoteStopRequest) ProtoMessage()
func (*RemoteStopRequest) ProtoReflect ¶
func (x *RemoteStopRequest) ProtoReflect() protoreflect.Message
func (*RemoteStopRequest) Reset ¶
func (x *RemoteStopRequest) Reset()
func (*RemoteStopRequest) String ¶
func (x *RemoteStopRequest) String() string
type RemoteStopResponse ¶
type RemoteStopResponse struct {
// contains filtered or unexported fields
}
func (*RemoteStopResponse) Descriptor
deprecated
func (*RemoteStopResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoteStopResponse.ProtoReflect.Descriptor instead.
func (*RemoteStopResponse) ProtoMessage ¶
func (*RemoteStopResponse) ProtoMessage()
func (*RemoteStopResponse) ProtoReflect ¶
func (x *RemoteStopResponse) ProtoReflect() protoreflect.Message
func (*RemoteStopResponse) Reset ¶
func (x *RemoteStopResponse) Reset()
func (*RemoteStopResponse) String ¶
func (x *RemoteStopResponse) String() string
type RemoteTellRequest ¶
type RemoteTellRequest struct { // Specifies the remote message to send RemoteMessage *RemoteMessage `protobuf:"bytes,1,opt,name=remote_message,json=remoteMessage,proto3" json:"remote_message,omitempty"` // contains filtered or unexported fields }
RemoteTell is used to send a message to an actor remotely
func (*RemoteTellRequest) Descriptor
deprecated
func (*RemoteTellRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoteTellRequest.ProtoReflect.Descriptor instead.
func (*RemoteTellRequest) GetRemoteMessage ¶
func (x *RemoteTellRequest) GetRemoteMessage() *RemoteMessage
func (*RemoteTellRequest) ProtoMessage ¶
func (*RemoteTellRequest) ProtoMessage()
func (*RemoteTellRequest) ProtoReflect ¶
func (x *RemoteTellRequest) ProtoReflect() protoreflect.Message
func (*RemoteTellRequest) Reset ¶
func (x *RemoteTellRequest) Reset()
func (*RemoteTellRequest) String ¶
func (x *RemoteTellRequest) String() string
type RemoteTellResponse ¶
type RemoteTellResponse struct {
// contains filtered or unexported fields
}
func (*RemoteTellResponse) Descriptor
deprecated
func (*RemoteTellResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoteTellResponse.ProtoReflect.Descriptor instead.
func (*RemoteTellResponse) ProtoMessage ¶
func (*RemoteTellResponse) ProtoMessage()
func (*RemoteTellResponse) ProtoReflect ¶
func (x *RemoteTellResponse) ProtoReflect() protoreflect.Message
func (*RemoteTellResponse) Reset ¶
func (x *RemoteTellResponse) Reset()
func (*RemoteTellResponse) String ¶
func (x *RemoteTellResponse) String() string
type RestartDirective ¶ added in v2.10.0
type RestartDirective struct { // Specifies the maximum number of retries // When reaching this number the faulty actor is stopped MaxRetries uint32 `protobuf:"varint,1,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"` // Specifies the time range to restart the faulty actor Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
RestartDirective defines supervisor restart directive
func (*RestartDirective) Descriptor
deprecated
added in
v2.10.0
func (*RestartDirective) Descriptor() ([]byte, []int)
Deprecated: Use RestartDirective.ProtoReflect.Descriptor instead.
func (*RestartDirective) GetMaxRetries ¶ added in v2.10.0
func (x *RestartDirective) GetMaxRetries() uint32
func (*RestartDirective) GetTimeout ¶ added in v2.10.0
func (x *RestartDirective) GetTimeout() int64
func (*RestartDirective) ProtoMessage ¶ added in v2.10.0
func (*RestartDirective) ProtoMessage()
func (*RestartDirective) ProtoReflect ¶ added in v2.10.0
func (x *RestartDirective) ProtoReflect() protoreflect.Message
func (*RestartDirective) Reset ¶ added in v2.10.0
func (x *RestartDirective) Reset()
func (*RestartDirective) String ¶ added in v2.10.0
func (x *RestartDirective) String() string
type ResumeDirective ¶ added in v2.10.0
type ResumeDirective struct {
// contains filtered or unexported fields
}
ResumeDirective defines the supervisor resume directive This ignores the failure and process the next message, instead
func (*ResumeDirective) Descriptor
deprecated
added in
v2.10.0
func (*ResumeDirective) Descriptor() ([]byte, []int)
Deprecated: Use ResumeDirective.ProtoReflect.Descriptor instead.
func (*ResumeDirective) ProtoMessage ¶ added in v2.10.0
func (*ResumeDirective) ProtoMessage()
func (*ResumeDirective) ProtoReflect ¶ added in v2.10.0
func (x *ResumeDirective) ProtoReflect() protoreflect.Message
func (*ResumeDirective) Reset ¶ added in v2.10.0
func (x *ResumeDirective) Reset()
func (*ResumeDirective) String ¶ added in v2.10.0
func (x *ResumeDirective) String() string
type StopDirective ¶ added in v2.10.0
type StopDirective struct {
// contains filtered or unexported fields
}
StopDirective defines the supervisor stop directive
func (*StopDirective) Descriptor
deprecated
added in
v2.10.0
func (*StopDirective) Descriptor() ([]byte, []int)
Deprecated: Use StopDirective.ProtoReflect.Descriptor instead.
func (*StopDirective) ProtoMessage ¶ added in v2.10.0
func (*StopDirective) ProtoMessage()
func (*StopDirective) ProtoReflect ¶ added in v2.10.0
func (x *StopDirective) ProtoReflect() protoreflect.Message
func (*StopDirective) Reset ¶ added in v2.10.0
func (x *StopDirective) Reset()
func (*StopDirective) String ¶ added in v2.10.0
func (x *StopDirective) String() string