Documentation ¶
Index ¶
- func RegisterDaprInternalServer(s *grpc.Server, srv DaprInternalServer)
- func RegisterPlacementServiceServer(s *grpc.Server, srv PlacementServiceServer)
- type CallActorEnvelope
- func (*CallActorEnvelope) Descriptor() ([]byte, []int)
- func (m *CallActorEnvelope) GetActorID() string
- func (m *CallActorEnvelope) GetActorType() string
- func (m *CallActorEnvelope) GetData() *any.Any
- func (m *CallActorEnvelope) GetMetadata() map[string]string
- func (m *CallActorEnvelope) GetMethod() string
- func (*CallActorEnvelope) ProtoMessage()
- func (m *CallActorEnvelope) Reset()
- func (m *CallActorEnvelope) String() string
- func (m *CallActorEnvelope) XXX_DiscardUnknown()
- func (m *CallActorEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CallActorEnvelope) XXX_Merge(src proto.Message)
- func (m *CallActorEnvelope) XXX_Size() int
- func (m *CallActorEnvelope) XXX_Unmarshal(b []byte) error
- type Component
- func (*Component) Descriptor() ([]byte, []int)
- func (m *Component) GetAuth() *ComponentAuth
- func (m *Component) GetMetadata() *ComponentMetadata
- func (m *Component) GetSpec() *ComponentSpec
- func (*Component) ProtoMessage()
- func (m *Component) Reset()
- func (m *Component) String() string
- func (m *Component) XXX_DiscardUnknown()
- func (m *Component) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Component) XXX_Merge(src proto.Message)
- func (m *Component) XXX_Size() int
- func (m *Component) XXX_Unmarshal(b []byte) error
- type ComponentAuth
- func (*ComponentAuth) Descriptor() ([]byte, []int)
- func (m *ComponentAuth) GetSecretStore() string
- func (*ComponentAuth) ProtoMessage()
- func (m *ComponentAuth) Reset()
- func (m *ComponentAuth) String() string
- func (m *ComponentAuth) XXX_DiscardUnknown()
- func (m *ComponentAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ComponentAuth) XXX_Merge(src proto.Message)
- func (m *ComponentAuth) XXX_Size() int
- func (m *ComponentAuth) XXX_Unmarshal(b []byte) error
- type ComponentMetadata
- func (*ComponentMetadata) Descriptor() ([]byte, []int)
- func (m *ComponentMetadata) GetName() string
- func (m *ComponentMetadata) GetNamespace() string
- func (*ComponentMetadata) ProtoMessage()
- func (m *ComponentMetadata) Reset()
- func (m *ComponentMetadata) String() string
- func (m *ComponentMetadata) XXX_DiscardUnknown()
- func (m *ComponentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ComponentMetadata) XXX_Merge(src proto.Message)
- func (m *ComponentMetadata) XXX_Size() int
- func (m *ComponentMetadata) XXX_Unmarshal(b []byte) error
- type ComponentMetadataItem
- func (*ComponentMetadataItem) Descriptor() ([]byte, []int)
- func (m *ComponentMetadataItem) GetName() string
- func (m *ComponentMetadataItem) GetSecretKeyRef() *ComponentSecretKeyRef
- func (m *ComponentMetadataItem) GetValue() string
- func (*ComponentMetadataItem) ProtoMessage()
- func (m *ComponentMetadataItem) Reset()
- func (m *ComponentMetadataItem) String() string
- func (m *ComponentMetadataItem) XXX_DiscardUnknown()
- func (m *ComponentMetadataItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ComponentMetadataItem) XXX_Merge(src proto.Message)
- func (m *ComponentMetadataItem) XXX_Size() int
- func (m *ComponentMetadataItem) XXX_Unmarshal(b []byte) error
- type ComponentSecretKeyRef
- func (*ComponentSecretKeyRef) Descriptor() ([]byte, []int)
- func (m *ComponentSecretKeyRef) GetKey() string
- func (m *ComponentSecretKeyRef) GetName() string
- func (*ComponentSecretKeyRef) ProtoMessage()
- func (m *ComponentSecretKeyRef) Reset()
- func (m *ComponentSecretKeyRef) String() string
- func (m *ComponentSecretKeyRef) XXX_DiscardUnknown()
- func (m *ComponentSecretKeyRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ComponentSecretKeyRef) XXX_Merge(src proto.Message)
- func (m *ComponentSecretKeyRef) XXX_Size() int
- func (m *ComponentSecretKeyRef) XXX_Unmarshal(b []byte) error
- type ComponentSpec
- func (*ComponentSpec) Descriptor() ([]byte, []int)
- func (m *ComponentSpec) GetMetadata() []*ComponentMetadataItem
- func (m *ComponentSpec) GetType() string
- func (*ComponentSpec) ProtoMessage()
- func (m *ComponentSpec) Reset()
- func (m *ComponentSpec) String() string
- func (m *ComponentSpec) XXX_DiscardUnknown()
- func (m *ComponentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ComponentSpec) XXX_Merge(src proto.Message)
- func (m *ComponentSpec) XXX_Size() int
- func (m *ComponentSpec) XXX_Unmarshal(b []byte) error
- type DaprInternalClient
- type DaprInternalServer
- type GetStateEnvelope
- func (*GetStateEnvelope) Descriptor() ([]byte, []int)
- func (m *GetStateEnvelope) GetKey() string
- func (*GetStateEnvelope) ProtoMessage()
- func (m *GetStateEnvelope) Reset()
- func (m *GetStateEnvelope) String() string
- func (m *GetStateEnvelope) XXX_DiscardUnknown()
- func (m *GetStateEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStateEnvelope) XXX_Merge(src proto.Message)
- func (m *GetStateEnvelope) XXX_Size() int
- func (m *GetStateEnvelope) XXX_Unmarshal(b []byte) error
- type Host
- func (*Host) Descriptor() ([]byte, []int)
- func (m *Host) GetEntities() []string
- func (m *Host) GetId() string
- func (m *Host) GetLoad() int64
- func (m *Host) GetName() string
- func (m *Host) GetPort() int64
- func (*Host) ProtoMessage()
- func (m *Host) Reset()
- func (m *Host) String() string
- func (m *Host) XXX_DiscardUnknown()
- func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Host) XXX_Merge(src proto.Message)
- func (m *Host) XXX_Size() int
- func (m *Host) XXX_Unmarshal(b []byte) error
- type InvokeResponse
- func (*InvokeResponse) Descriptor() ([]byte, []int)
- func (m *InvokeResponse) GetData() *any.Any
- func (m *InvokeResponse) GetMetadata() map[string]string
- func (*InvokeResponse) ProtoMessage()
- func (m *InvokeResponse) Reset()
- func (m *InvokeResponse) String() string
- func (m *InvokeResponse) XXX_DiscardUnknown()
- func (m *InvokeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvokeResponse) XXX_Merge(src proto.Message)
- func (m *InvokeResponse) XXX_Size() int
- func (m *InvokeResponse) XXX_Unmarshal(b []byte) error
- type KeyVal
- func (*KeyVal) Descriptor() ([]byte, []int)
- func (m *KeyVal) GetKey() string
- func (m *KeyVal) GetValue() *any.Any
- func (*KeyVal) ProtoMessage()
- func (m *KeyVal) Reset()
- func (m *KeyVal) String() string
- func (m *KeyVal) XXX_DiscardUnknown()
- func (m *KeyVal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyVal) XXX_Merge(src proto.Message)
- func (m *KeyVal) XXX_Size() int
- func (m *KeyVal) XXX_Unmarshal(b []byte) error
- type LocalCallEnvelope
- func (*LocalCallEnvelope) Descriptor() ([]byte, []int)
- func (m *LocalCallEnvelope) GetData() *any.Any
- func (m *LocalCallEnvelope) GetMetadata() map[string]string
- func (m *LocalCallEnvelope) GetMethod() string
- func (*LocalCallEnvelope) ProtoMessage()
- func (m *LocalCallEnvelope) Reset()
- func (m *LocalCallEnvelope) String() string
- func (m *LocalCallEnvelope) XXX_DiscardUnknown()
- func (m *LocalCallEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalCallEnvelope) XXX_Merge(src proto.Message)
- func (m *LocalCallEnvelope) XXX_Size() int
- func (m *LocalCallEnvelope) XXX_Unmarshal(b []byte) error
- type PlacementOrder
- func (*PlacementOrder) Descriptor() ([]byte, []int)
- func (m *PlacementOrder) GetOperation() string
- func (m *PlacementOrder) GetTables() *PlacementTables
- func (*PlacementOrder) ProtoMessage()
- func (m *PlacementOrder) Reset()
- func (m *PlacementOrder) String() string
- func (m *PlacementOrder) XXX_DiscardUnknown()
- func (m *PlacementOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlacementOrder) XXX_Merge(src proto.Message)
- func (m *PlacementOrder) XXX_Size() int
- func (m *PlacementOrder) XXX_Unmarshal(b []byte) error
- type PlacementServiceClient
- type PlacementServiceServer
- type PlacementService_ReportDaprStatusClient
- type PlacementService_ReportDaprStatusServer
- type PlacementTable
- func (*PlacementTable) Descriptor() ([]byte, []int)
- func (m *PlacementTable) GetHosts() map[uint64]string
- func (m *PlacementTable) GetLoadMap() map[string]*Host
- func (m *PlacementTable) GetSortedSet() []uint64
- func (m *PlacementTable) GetTotalLoad() int64
- func (*PlacementTable) ProtoMessage()
- func (m *PlacementTable) Reset()
- func (m *PlacementTable) String() string
- func (m *PlacementTable) XXX_DiscardUnknown()
- func (m *PlacementTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlacementTable) XXX_Merge(src proto.Message)
- func (m *PlacementTable) XXX_Size() int
- func (m *PlacementTable) XXX_Unmarshal(b []byte) error
- type PlacementTables
- func (*PlacementTables) Descriptor() ([]byte, []int)
- func (m *PlacementTables) GetEntries() map[string]*PlacementTable
- func (m *PlacementTables) GetVersion() string
- func (*PlacementTables) ProtoMessage()
- func (m *PlacementTables) Reset()
- func (m *PlacementTables) String() string
- func (m *PlacementTables) XXX_DiscardUnknown()
- func (m *PlacementTables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlacementTables) XXX_Merge(src proto.Message)
- func (m *PlacementTables) XXX_Size() int
- func (m *PlacementTables) XXX_Unmarshal(b []byte) error
- type SaveStateEnvelope
- func (*SaveStateEnvelope) Descriptor() ([]byte, []int)
- func (m *SaveStateEnvelope) GetState() []*KeyVal
- func (*SaveStateEnvelope) ProtoMessage()
- func (m *SaveStateEnvelope) Reset()
- func (m *SaveStateEnvelope) String() string
- func (m *SaveStateEnvelope) XXX_DiscardUnknown()
- func (m *SaveStateEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SaveStateEnvelope) XXX_Merge(src proto.Message)
- func (m *SaveStateEnvelope) XXX_Size() int
- func (m *SaveStateEnvelope) XXX_Unmarshal(b []byte) error
- type UnimplementedDaprInternalServer
- func (*UnimplementedDaprInternalServer) CallActor(ctx context.Context, req *CallActorEnvelope) (*InvokeResponse, error)
- func (*UnimplementedDaprInternalServer) CallLocal(ctx context.Context, req *LocalCallEnvelope) (*InvokeResponse, error)
- func (*UnimplementedDaprInternalServer) UpdateComponent(ctx context.Context, req *Component) (*empty.Empty, error)
- type UnimplementedPlacementServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDaprInternalServer ¶
func RegisterDaprInternalServer(s *grpc.Server, srv DaprInternalServer)
func RegisterPlacementServiceServer ¶
func RegisterPlacementServiceServer(s *grpc.Server, srv PlacementServiceServer)
Types ¶
type CallActorEnvelope ¶
type CallActorEnvelope struct { ActorID string `protobuf:"bytes,1,opt,name=actorID,proto3" json:"actorID,omitempty"` ActorType string `protobuf:"bytes,2,opt,name=actorType,proto3" json:"actorType,omitempty"` Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` Data *any.Any `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallActorEnvelope) Descriptor ¶
func (*CallActorEnvelope) Descriptor() ([]byte, []int)
func (*CallActorEnvelope) GetActorID ¶
func (m *CallActorEnvelope) GetActorID() string
func (*CallActorEnvelope) GetActorType ¶
func (m *CallActorEnvelope) GetActorType() string
func (*CallActorEnvelope) GetData ¶
func (m *CallActorEnvelope) GetData() *any.Any
func (*CallActorEnvelope) GetMetadata ¶ added in v0.2.0
func (m *CallActorEnvelope) GetMetadata() map[string]string
func (*CallActorEnvelope) GetMethod ¶
func (m *CallActorEnvelope) GetMethod() string
func (*CallActorEnvelope) ProtoMessage ¶
func (*CallActorEnvelope) ProtoMessage()
func (*CallActorEnvelope) Reset ¶
func (m *CallActorEnvelope) Reset()
func (*CallActorEnvelope) String ¶
func (m *CallActorEnvelope) String() string
func (*CallActorEnvelope) XXX_DiscardUnknown ¶
func (m *CallActorEnvelope) XXX_DiscardUnknown()
func (*CallActorEnvelope) XXX_Marshal ¶
func (m *CallActorEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CallActorEnvelope) XXX_Merge ¶
func (m *CallActorEnvelope) XXX_Merge(src proto.Message)
func (*CallActorEnvelope) XXX_Size ¶
func (m *CallActorEnvelope) XXX_Size() int
func (*CallActorEnvelope) XXX_Unmarshal ¶
func (m *CallActorEnvelope) XXX_Unmarshal(b []byte) error
type Component ¶
type Component struct { Metadata *ComponentMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *ComponentSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` Auth *ComponentAuth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Component) Descriptor ¶
func (*Component) GetAuth ¶
func (m *Component) GetAuth() *ComponentAuth
func (*Component) GetMetadata ¶
func (m *Component) GetMetadata() *ComponentMetadata
func (*Component) GetSpec ¶
func (m *Component) GetSpec() *ComponentSpec
func (*Component) ProtoMessage ¶
func (*Component) ProtoMessage()
func (*Component) XXX_DiscardUnknown ¶
func (m *Component) XXX_DiscardUnknown()
func (*Component) XXX_Marshal ¶
func (*Component) XXX_Unmarshal ¶
type ComponentAuth ¶
type ComponentAuth struct { SecretStore string `protobuf:"bytes,1,opt,name=secretStore,proto3" json:"secretStore,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComponentAuth) Descriptor ¶
func (*ComponentAuth) Descriptor() ([]byte, []int)
func (*ComponentAuth) GetSecretStore ¶
func (m *ComponentAuth) GetSecretStore() string
func (*ComponentAuth) ProtoMessage ¶
func (*ComponentAuth) ProtoMessage()
func (*ComponentAuth) Reset ¶
func (m *ComponentAuth) Reset()
func (*ComponentAuth) String ¶
func (m *ComponentAuth) String() string
func (*ComponentAuth) XXX_DiscardUnknown ¶
func (m *ComponentAuth) XXX_DiscardUnknown()
func (*ComponentAuth) XXX_Marshal ¶
func (m *ComponentAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComponentAuth) XXX_Merge ¶
func (m *ComponentAuth) XXX_Merge(src proto.Message)
func (*ComponentAuth) XXX_Size ¶
func (m *ComponentAuth) XXX_Size() int
func (*ComponentAuth) XXX_Unmarshal ¶
func (m *ComponentAuth) XXX_Unmarshal(b []byte) error
type ComponentMetadata ¶
type ComponentMetadata struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComponentMetadata) Descriptor ¶
func (*ComponentMetadata) Descriptor() ([]byte, []int)
func (*ComponentMetadata) GetName ¶
func (m *ComponentMetadata) GetName() string
func (*ComponentMetadata) GetNamespace ¶
func (m *ComponentMetadata) GetNamespace() string
func (*ComponentMetadata) ProtoMessage ¶
func (*ComponentMetadata) ProtoMessage()
func (*ComponentMetadata) Reset ¶
func (m *ComponentMetadata) Reset()
func (*ComponentMetadata) String ¶
func (m *ComponentMetadata) String() string
func (*ComponentMetadata) XXX_DiscardUnknown ¶
func (m *ComponentMetadata) XXX_DiscardUnknown()
func (*ComponentMetadata) XXX_Marshal ¶
func (m *ComponentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComponentMetadata) XXX_Merge ¶
func (m *ComponentMetadata) XXX_Merge(src proto.Message)
func (*ComponentMetadata) XXX_Size ¶
func (m *ComponentMetadata) XXX_Size() int
func (*ComponentMetadata) XXX_Unmarshal ¶
func (m *ComponentMetadata) XXX_Unmarshal(b []byte) error
type ComponentMetadataItem ¶
type ComponentMetadataItem struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` SecretKeyRef *ComponentSecretKeyRef `protobuf:"bytes,3,opt,name=secretKeyRef,proto3" json:"secretKeyRef,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComponentMetadataItem) Descriptor ¶
func (*ComponentMetadataItem) Descriptor() ([]byte, []int)
func (*ComponentMetadataItem) GetName ¶
func (m *ComponentMetadataItem) GetName() string
func (*ComponentMetadataItem) GetSecretKeyRef ¶
func (m *ComponentMetadataItem) GetSecretKeyRef() *ComponentSecretKeyRef
func (*ComponentMetadataItem) GetValue ¶
func (m *ComponentMetadataItem) GetValue() string
func (*ComponentMetadataItem) ProtoMessage ¶
func (*ComponentMetadataItem) ProtoMessage()
func (*ComponentMetadataItem) Reset ¶
func (m *ComponentMetadataItem) Reset()
func (*ComponentMetadataItem) String ¶
func (m *ComponentMetadataItem) String() string
func (*ComponentMetadataItem) XXX_DiscardUnknown ¶
func (m *ComponentMetadataItem) XXX_DiscardUnknown()
func (*ComponentMetadataItem) XXX_Marshal ¶
func (m *ComponentMetadataItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComponentMetadataItem) XXX_Merge ¶
func (m *ComponentMetadataItem) XXX_Merge(src proto.Message)
func (*ComponentMetadataItem) XXX_Size ¶
func (m *ComponentMetadataItem) XXX_Size() int
func (*ComponentMetadataItem) XXX_Unmarshal ¶
func (m *ComponentMetadataItem) XXX_Unmarshal(b []byte) error
type ComponentSecretKeyRef ¶
type ComponentSecretKeyRef struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComponentSecretKeyRef) Descriptor ¶
func (*ComponentSecretKeyRef) Descriptor() ([]byte, []int)
func (*ComponentSecretKeyRef) GetKey ¶
func (m *ComponentSecretKeyRef) GetKey() string
func (*ComponentSecretKeyRef) GetName ¶
func (m *ComponentSecretKeyRef) GetName() string
func (*ComponentSecretKeyRef) ProtoMessage ¶
func (*ComponentSecretKeyRef) ProtoMessage()
func (*ComponentSecretKeyRef) Reset ¶
func (m *ComponentSecretKeyRef) Reset()
func (*ComponentSecretKeyRef) String ¶
func (m *ComponentSecretKeyRef) String() string
func (*ComponentSecretKeyRef) XXX_DiscardUnknown ¶
func (m *ComponentSecretKeyRef) XXX_DiscardUnknown()
func (*ComponentSecretKeyRef) XXX_Marshal ¶
func (m *ComponentSecretKeyRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComponentSecretKeyRef) XXX_Merge ¶
func (m *ComponentSecretKeyRef) XXX_Merge(src proto.Message)
func (*ComponentSecretKeyRef) XXX_Size ¶
func (m *ComponentSecretKeyRef) XXX_Size() int
func (*ComponentSecretKeyRef) XXX_Unmarshal ¶
func (m *ComponentSecretKeyRef) XXX_Unmarshal(b []byte) error
type ComponentSpec ¶
type ComponentSpec struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Metadata []*ComponentMetadataItem `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComponentSpec) Descriptor ¶
func (*ComponentSpec) Descriptor() ([]byte, []int)
func (*ComponentSpec) GetMetadata ¶
func (m *ComponentSpec) GetMetadata() []*ComponentMetadataItem
func (*ComponentSpec) GetType ¶
func (m *ComponentSpec) GetType() string
func (*ComponentSpec) ProtoMessage ¶
func (*ComponentSpec) ProtoMessage()
func (*ComponentSpec) Reset ¶
func (m *ComponentSpec) Reset()
func (*ComponentSpec) String ¶
func (m *ComponentSpec) String() string
func (*ComponentSpec) XXX_DiscardUnknown ¶
func (m *ComponentSpec) XXX_DiscardUnknown()
func (*ComponentSpec) XXX_Marshal ¶
func (m *ComponentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComponentSpec) XXX_Merge ¶
func (m *ComponentSpec) XXX_Merge(src proto.Message)
func (*ComponentSpec) XXX_Size ¶
func (m *ComponentSpec) XXX_Size() int
func (*ComponentSpec) XXX_Unmarshal ¶
func (m *ComponentSpec) XXX_Unmarshal(b []byte) error
type DaprInternalClient ¶
type DaprInternalClient interface { CallActor(ctx context.Context, in *CallActorEnvelope, opts ...grpc.CallOption) (*InvokeResponse, error) CallLocal(ctx context.Context, in *LocalCallEnvelope, opts ...grpc.CallOption) (*InvokeResponse, error) UpdateComponent(ctx context.Context, in *Component, opts ...grpc.CallOption) (*empty.Empty, error) }
DaprInternalClient is the client API for DaprInternal service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDaprInternalClient ¶
func NewDaprInternalClient(cc *grpc.ClientConn) DaprInternalClient
type DaprInternalServer ¶
type DaprInternalServer interface { CallActor(context.Context, *CallActorEnvelope) (*InvokeResponse, error) CallLocal(context.Context, *LocalCallEnvelope) (*InvokeResponse, error) UpdateComponent(context.Context, *Component) (*empty.Empty, error) }
DaprInternalServer is the server API for DaprInternal service.
type GetStateEnvelope ¶
type GetStateEnvelope struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStateEnvelope) Descriptor ¶
func (*GetStateEnvelope) Descriptor() ([]byte, []int)
func (*GetStateEnvelope) GetKey ¶
func (m *GetStateEnvelope) GetKey() string
func (*GetStateEnvelope) ProtoMessage ¶
func (*GetStateEnvelope) ProtoMessage()
func (*GetStateEnvelope) Reset ¶
func (m *GetStateEnvelope) Reset()
func (*GetStateEnvelope) String ¶
func (m *GetStateEnvelope) String() string
func (*GetStateEnvelope) XXX_DiscardUnknown ¶
func (m *GetStateEnvelope) XXX_DiscardUnknown()
func (*GetStateEnvelope) XXX_Marshal ¶
func (m *GetStateEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStateEnvelope) XXX_Merge ¶
func (m *GetStateEnvelope) XXX_Merge(src proto.Message)
func (*GetStateEnvelope) XXX_Size ¶
func (m *GetStateEnvelope) XXX_Size() int
func (*GetStateEnvelope) XXX_Unmarshal ¶
func (m *GetStateEnvelope) XXX_Unmarshal(b []byte) error
type Host ¶
type Host struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Port int64 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` Load int64 `protobuf:"varint,3,opt,name=load,proto3" json:"load,omitempty"` Entities []string `protobuf:"bytes,4,rep,name=entities,proto3" json:"entities,omitempty"` Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Host) Descriptor ¶
func (*Host) GetEntities ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) XXX_DiscardUnknown ¶
func (m *Host) XXX_DiscardUnknown()
func (*Host) XXX_Unmarshal ¶
type InvokeResponse ¶
type InvokeResponse struct { Data *any.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvokeResponse) Descriptor ¶
func (*InvokeResponse) Descriptor() ([]byte, []int)
func (*InvokeResponse) GetData ¶
func (m *InvokeResponse) GetData() *any.Any
func (*InvokeResponse) GetMetadata ¶
func (m *InvokeResponse) GetMetadata() map[string]string
func (*InvokeResponse) ProtoMessage ¶
func (*InvokeResponse) ProtoMessage()
func (*InvokeResponse) Reset ¶
func (m *InvokeResponse) Reset()
func (*InvokeResponse) String ¶
func (m *InvokeResponse) String() string
func (*InvokeResponse) XXX_DiscardUnknown ¶
func (m *InvokeResponse) XXX_DiscardUnknown()
func (*InvokeResponse) XXX_Marshal ¶
func (m *InvokeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvokeResponse) XXX_Merge ¶
func (m *InvokeResponse) XXX_Merge(src proto.Message)
func (*InvokeResponse) XXX_Size ¶
func (m *InvokeResponse) XXX_Size() int
func (*InvokeResponse) XXX_Unmarshal ¶
func (m *InvokeResponse) XXX_Unmarshal(b []byte) error
type KeyVal ¶
type KeyVal struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyVal) Descriptor ¶
func (*KeyVal) ProtoMessage ¶
func (*KeyVal) ProtoMessage()
func (*KeyVal) XXX_DiscardUnknown ¶
func (m *KeyVal) XXX_DiscardUnknown()
func (*KeyVal) XXX_Marshal ¶
func (*KeyVal) XXX_Unmarshal ¶
type LocalCallEnvelope ¶
type LocalCallEnvelope struct { Data *any.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalCallEnvelope) Descriptor ¶
func (*LocalCallEnvelope) Descriptor() ([]byte, []int)
func (*LocalCallEnvelope) GetData ¶
func (m *LocalCallEnvelope) GetData() *any.Any
func (*LocalCallEnvelope) GetMetadata ¶
func (m *LocalCallEnvelope) GetMetadata() map[string]string
func (*LocalCallEnvelope) GetMethod ¶
func (m *LocalCallEnvelope) GetMethod() string
func (*LocalCallEnvelope) ProtoMessage ¶
func (*LocalCallEnvelope) ProtoMessage()
func (*LocalCallEnvelope) Reset ¶
func (m *LocalCallEnvelope) Reset()
func (*LocalCallEnvelope) String ¶
func (m *LocalCallEnvelope) String() string
func (*LocalCallEnvelope) XXX_DiscardUnknown ¶
func (m *LocalCallEnvelope) XXX_DiscardUnknown()
func (*LocalCallEnvelope) XXX_Marshal ¶
func (m *LocalCallEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalCallEnvelope) XXX_Merge ¶
func (m *LocalCallEnvelope) XXX_Merge(src proto.Message)
func (*LocalCallEnvelope) XXX_Size ¶
func (m *LocalCallEnvelope) XXX_Size() int
func (*LocalCallEnvelope) XXX_Unmarshal ¶
func (m *LocalCallEnvelope) XXX_Unmarshal(b []byte) error
type PlacementOrder ¶
type PlacementOrder struct { Tables *PlacementTables `protobuf:"bytes,1,opt,name=tables,proto3" json:"tables,omitempty"` Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlacementOrder) Descriptor ¶
func (*PlacementOrder) Descriptor() ([]byte, []int)
func (*PlacementOrder) GetOperation ¶
func (m *PlacementOrder) GetOperation() string
func (*PlacementOrder) GetTables ¶
func (m *PlacementOrder) GetTables() *PlacementTables
func (*PlacementOrder) ProtoMessage ¶
func (*PlacementOrder) ProtoMessage()
func (*PlacementOrder) Reset ¶
func (m *PlacementOrder) Reset()
func (*PlacementOrder) String ¶
func (m *PlacementOrder) String() string
func (*PlacementOrder) XXX_DiscardUnknown ¶
func (m *PlacementOrder) XXX_DiscardUnknown()
func (*PlacementOrder) XXX_Marshal ¶
func (m *PlacementOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlacementOrder) XXX_Merge ¶
func (m *PlacementOrder) XXX_Merge(src proto.Message)
func (*PlacementOrder) XXX_Size ¶
func (m *PlacementOrder) XXX_Size() int
func (*PlacementOrder) XXX_Unmarshal ¶
func (m *PlacementOrder) XXX_Unmarshal(b []byte) error
type PlacementServiceClient ¶
type PlacementServiceClient interface {
ReportDaprStatus(ctx context.Context, opts ...grpc.CallOption) (PlacementService_ReportDaprStatusClient, error)
}
PlacementServiceClient is the client API for PlacementService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPlacementServiceClient ¶
func NewPlacementServiceClient(cc *grpc.ClientConn) PlacementServiceClient
type PlacementServiceServer ¶
type PlacementServiceServer interface {
ReportDaprStatus(PlacementService_ReportDaprStatusServer) error
}
PlacementServiceServer is the server API for PlacementService service.
type PlacementService_ReportDaprStatusClient ¶
type PlacementService_ReportDaprStatusClient interface { Send(*Host) error Recv() (*PlacementOrder, error) grpc.ClientStream }
type PlacementService_ReportDaprStatusServer ¶
type PlacementService_ReportDaprStatusServer interface { Send(*PlacementOrder) error Recv() (*Host, error) grpc.ServerStream }
type PlacementTable ¶
type PlacementTable struct { Hosts map[uint64]string `` /* 152-byte string literal not displayed */ SortedSet []uint64 `protobuf:"varint,2,rep,packed,name=sortedSet,proto3" json:"sortedSet,omitempty"` LoadMap map[string]*Host `` /* 155-byte string literal not displayed */ TotalLoad int64 `protobuf:"varint,4,opt,name=totalLoad,proto3" json:"totalLoad,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlacementTable) Descriptor ¶
func (*PlacementTable) Descriptor() ([]byte, []int)
func (*PlacementTable) GetHosts ¶
func (m *PlacementTable) GetHosts() map[uint64]string
func (*PlacementTable) GetLoadMap ¶
func (m *PlacementTable) GetLoadMap() map[string]*Host
func (*PlacementTable) GetSortedSet ¶
func (m *PlacementTable) GetSortedSet() []uint64
func (*PlacementTable) GetTotalLoad ¶
func (m *PlacementTable) GetTotalLoad() int64
func (*PlacementTable) ProtoMessage ¶
func (*PlacementTable) ProtoMessage()
func (*PlacementTable) Reset ¶
func (m *PlacementTable) Reset()
func (*PlacementTable) String ¶
func (m *PlacementTable) String() string
func (*PlacementTable) XXX_DiscardUnknown ¶
func (m *PlacementTable) XXX_DiscardUnknown()
func (*PlacementTable) XXX_Marshal ¶
func (m *PlacementTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlacementTable) XXX_Merge ¶
func (m *PlacementTable) XXX_Merge(src proto.Message)
func (*PlacementTable) XXX_Size ¶
func (m *PlacementTable) XXX_Size() int
func (*PlacementTable) XXX_Unmarshal ¶
func (m *PlacementTable) XXX_Unmarshal(b []byte) error
type PlacementTables ¶
type PlacementTables struct { Entries map[string]*PlacementTable `` /* 155-byte string literal not displayed */ Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlacementTables) Descriptor ¶
func (*PlacementTables) Descriptor() ([]byte, []int)
func (*PlacementTables) GetEntries ¶
func (m *PlacementTables) GetEntries() map[string]*PlacementTable
func (*PlacementTables) GetVersion ¶
func (m *PlacementTables) GetVersion() string
func (*PlacementTables) ProtoMessage ¶
func (*PlacementTables) ProtoMessage()
func (*PlacementTables) Reset ¶
func (m *PlacementTables) Reset()
func (*PlacementTables) String ¶
func (m *PlacementTables) String() string
func (*PlacementTables) XXX_DiscardUnknown ¶
func (m *PlacementTables) XXX_DiscardUnknown()
func (*PlacementTables) XXX_Marshal ¶
func (m *PlacementTables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlacementTables) XXX_Merge ¶
func (m *PlacementTables) XXX_Merge(src proto.Message)
func (*PlacementTables) XXX_Size ¶
func (m *PlacementTables) XXX_Size() int
func (*PlacementTables) XXX_Unmarshal ¶
func (m *PlacementTables) XXX_Unmarshal(b []byte) error
type SaveStateEnvelope ¶
type SaveStateEnvelope struct { State []*KeyVal `protobuf:"bytes,1,rep,name=state,proto3" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SaveStateEnvelope) Descriptor ¶
func (*SaveStateEnvelope) Descriptor() ([]byte, []int)
func (*SaveStateEnvelope) GetState ¶
func (m *SaveStateEnvelope) GetState() []*KeyVal
func (*SaveStateEnvelope) ProtoMessage ¶
func (*SaveStateEnvelope) ProtoMessage()
func (*SaveStateEnvelope) Reset ¶
func (m *SaveStateEnvelope) Reset()
func (*SaveStateEnvelope) String ¶
func (m *SaveStateEnvelope) String() string
func (*SaveStateEnvelope) XXX_DiscardUnknown ¶
func (m *SaveStateEnvelope) XXX_DiscardUnknown()
func (*SaveStateEnvelope) XXX_Marshal ¶
func (m *SaveStateEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SaveStateEnvelope) XXX_Merge ¶
func (m *SaveStateEnvelope) XXX_Merge(src proto.Message)
func (*SaveStateEnvelope) XXX_Size ¶
func (m *SaveStateEnvelope) XXX_Size() int
func (*SaveStateEnvelope) XXX_Unmarshal ¶
func (m *SaveStateEnvelope) XXX_Unmarshal(b []byte) error
type UnimplementedDaprInternalServer ¶ added in v0.2.0
type UnimplementedDaprInternalServer struct { }
UnimplementedDaprInternalServer can be embedded to have forward compatible implementations.
func (*UnimplementedDaprInternalServer) CallActor ¶ added in v0.2.0
func (*UnimplementedDaprInternalServer) CallActor(ctx context.Context, req *CallActorEnvelope) (*InvokeResponse, error)
func (*UnimplementedDaprInternalServer) CallLocal ¶ added in v0.2.0
func (*UnimplementedDaprInternalServer) CallLocal(ctx context.Context, req *LocalCallEnvelope) (*InvokeResponse, error)
func (*UnimplementedDaprInternalServer) UpdateComponent ¶ added in v0.2.0
type UnimplementedPlacementServiceServer ¶ added in v0.2.0
type UnimplementedPlacementServiceServer struct { }
UnimplementedPlacementServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedPlacementServiceServer) ReportDaprStatus ¶ added in v0.2.0
func (*UnimplementedPlacementServiceServer) ReportDaprStatus(srv PlacementService_ReportDaprStatusServer) error