Documentation ¶
Overview ¶
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterCoordinatorServer(s grpc.ServiceRegistrar, srv CoordinatorServer)
- type ClientToServer
- func (in *ClientToServer) DeepCopy() *ClientToServer
- func (in *ClientToServer) DeepCopyInterface() interface{}
- func (in *ClientToServer) DeepCopyInto(out *ClientToServer)
- func (*ClientToServer) Descriptor() ([]byte, []int)deprecated
- func (x *ClientToServer) GetHello() *ClientToServer_Hello
- func (m *ClientToServer) GetMsg() isClientToServer_Msg
- func (x *ClientToServer) GetResponse() *Response
- func (msg *ClientToServer) MarshalJSON() ([]byte, error)
- func (*ClientToServer) ProtoMessage()
- func (x *ClientToServer) ProtoReflect() protoreflect.Message
- func (x *ClientToServer) Reset()
- func (x *ClientToServer) String() string
- func (msg *ClientToServer) UnmarshalJSON(b []byte) error
- func (m *ClientToServer) Validate() error
- func (m *ClientToServer) ValidateAll() error
- type ClientToServerMultiError
- type ClientToServerValidationError
- func (e ClientToServerValidationError) Cause() error
- func (e ClientToServerValidationError) Error() string
- func (e ClientToServerValidationError) ErrorName() string
- func (e ClientToServerValidationError) Field() string
- func (e ClientToServerValidationError) Key() bool
- func (e ClientToServerValidationError) Reason() string
- type ClientToServer_Hello
- func (in *ClientToServer_Hello) DeepCopy() *ClientToServer_Hello
- func (in *ClientToServer_Hello) DeepCopyInterface() interface{}
- func (in *ClientToServer_Hello) DeepCopyInto(out *ClientToServer_Hello)
- func (*ClientToServer_Hello) Descriptor() ([]byte, []int)deprecated
- func (x *ClientToServer_Hello) GetName() string
- func (x *ClientToServer_Hello) GetNextId() uint64
- func (msg *ClientToServer_Hello) MarshalJSON() ([]byte, error)
- func (*ClientToServer_Hello) ProtoMessage()
- func (x *ClientToServer_Hello) ProtoReflect() protoreflect.Message
- func (x *ClientToServer_Hello) Reset()
- func (x *ClientToServer_Hello) String() string
- func (msg *ClientToServer_Hello) UnmarshalJSON(b []byte) error
- func (m *ClientToServer_Hello) Validate() error
- func (m *ClientToServer_Hello) ValidateAll() error
- type ClientToServer_HelloMultiError
- type ClientToServer_HelloValidationError
- func (e ClientToServer_HelloValidationError) Cause() error
- func (e ClientToServer_HelloValidationError) Error() string
- func (e ClientToServer_HelloValidationError) ErrorName() string
- func (e ClientToServer_HelloValidationError) Field() string
- func (e ClientToServer_HelloValidationError) Key() bool
- func (e ClientToServer_HelloValidationError) Reason() string
- type ClientToServer_Hello_
- type ClientToServer_Response
- type CoordinatorClient
- type CoordinatorServer
- type Coordinator_ConnectClient
- type Coordinator_ConnectServer
- type Request
- func (in *Request) DeepCopy() *Request
- func (in *Request) DeepCopyInterface() interface{}
- func (in *Request) DeepCopyInto(out *Request)
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetId() uint64
- func (x *Request) GetPayload() *anypb.Any
- func (x *Request) GetTimeout() *durationpb.Duration
- func (msg *Request) MarshalJSON() ([]byte, error)
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- func (msg *Request) UnmarshalJSON(b []byte) error
- func (m *Request) Validate() error
- func (m *Request) ValidateAll() error
- type RequestMultiError
- type RequestValidationError
- type Response
- func (in *Response) DeepCopy() *Response
- func (in *Response) DeepCopyInterface() interface{}
- func (in *Response) DeepCopyInto(out *Response)
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetError() *status.Status
- func (x *Response) GetId() uint64
- func (x *Response) GetPayload() []byte
- func (m *Response) GetResult() isResponse_Result
- func (msg *Response) MarshalJSON() ([]byte, error)
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- func (msg *Response) UnmarshalJSON(b []byte) error
- func (m *Response) Validate() error
- func (m *Response) ValidateAll() error
- type ResponseMultiError
- type ResponseValidationError
- type Response_Error
- type Response_Payload
- type ServerToClient
- func (in *ServerToClient) DeepCopy() *ServerToClient
- func (in *ServerToClient) DeepCopyInterface() interface{}
- func (in *ServerToClient) DeepCopyInto(out *ServerToClient)
- func (*ServerToClient) Descriptor() ([]byte, []int)deprecated
- func (x *ServerToClient) GetCancelId() uint64
- func (m *ServerToClient) GetCommand() isServerToClient_Command
- func (x *ServerToClient) GetRequest() *Request
- func (msg *ServerToClient) MarshalJSON() ([]byte, error)
- func (*ServerToClient) ProtoMessage()
- func (x *ServerToClient) ProtoReflect() protoreflect.Message
- func (x *ServerToClient) Reset()
- func (x *ServerToClient) String() string
- func (msg *ServerToClient) UnmarshalJSON(b []byte) error
- func (m *ServerToClient) Validate() error
- func (m *ServerToClient) ValidateAll() error
- type ServerToClientMultiError
- type ServerToClientValidationError
- func (e ServerToClientValidationError) Cause() error
- func (e ServerToClientValidationError) Error() string
- func (e ServerToClientValidationError) ErrorName() string
- func (e ServerToClientValidationError) Field() string
- func (e ServerToClientValidationError) Key() bool
- func (e ServerToClientValidationError) Reason() string
- type ServerToClient_CancelId
- type ServerToClient_Request
- type UnimplementedCoordinatorServer
- type UnsafeCoordinatorServer
Constants ¶
const (
Coordinator_Connect_FullMethodName = "/aperture.rpc.v1.Coordinator/Connect"
)
Variables ¶
var Coordinator_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aperture.rpc.v1.Coordinator", HandlerType: (*CoordinatorServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Connect", Handler: _Coordinator_Connect_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "aperture/rpc/v1/rpc.proto", }
Coordinator_ServiceDesc is the grpc.ServiceDesc for Coordinator service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_aperture_rpc_v1_rpc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCoordinatorServer ¶
func RegisterCoordinatorServer(s grpc.ServiceRegistrar, srv CoordinatorServer)
Types ¶
type ClientToServer ¶
type ClientToServer struct { // Types that are assignable to Msg: // // *ClientToServer_Hello_ // *ClientToServer_Response Msg isClientToServer_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*ClientToServer) DeepCopy ¶
func (in *ClientToServer) DeepCopy() *ClientToServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientToServer. Required by controller-gen.
func (*ClientToServer) DeepCopyInterface ¶
func (in *ClientToServer) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ClientToServer. Required by controller-gen.
func (*ClientToServer) DeepCopyInto ¶
func (in *ClientToServer) DeepCopyInto(out *ClientToServer)
DeepCopyInto supports using ClientToServer within kubernetes types, where deepcopy-gen is used.
func (*ClientToServer) Descriptor
deprecated
func (*ClientToServer) Descriptor() ([]byte, []int)
Deprecated: Use ClientToServer.ProtoReflect.Descriptor instead.
func (*ClientToServer) GetHello ¶
func (x *ClientToServer) GetHello() *ClientToServer_Hello
func (*ClientToServer) GetMsg ¶
func (m *ClientToServer) GetMsg() isClientToServer_Msg
func (*ClientToServer) GetResponse ¶
func (x *ClientToServer) GetResponse() *Response
func (*ClientToServer) MarshalJSON ¶
func (msg *ClientToServer) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ClientToServer) ProtoMessage ¶
func (*ClientToServer) ProtoMessage()
func (*ClientToServer) ProtoReflect ¶
func (x *ClientToServer) ProtoReflect() protoreflect.Message
func (*ClientToServer) Reset ¶
func (x *ClientToServer) Reset()
func (*ClientToServer) String ¶
func (x *ClientToServer) String() string
func (*ClientToServer) UnmarshalJSON ¶
func (msg *ClientToServer) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ClientToServer) Validate ¶
func (m *ClientToServer) Validate() error
Validate checks the field values on ClientToServer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClientToServer) ValidateAll ¶
func (m *ClientToServer) ValidateAll() error
ValidateAll checks the field values on ClientToServer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClientToServerMultiError, or nil if none found.
type ClientToServerMultiError ¶
type ClientToServerMultiError []error
ClientToServerMultiError is an error wrapping multiple validation errors returned by ClientToServer.ValidateAll() if the designated constraints aren't met.
func (ClientToServerMultiError) AllErrors ¶
func (m ClientToServerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClientToServerMultiError) Error ¶
func (m ClientToServerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClientToServerValidationError ¶
type ClientToServerValidationError struct {
// contains filtered or unexported fields
}
ClientToServerValidationError is the validation error returned by ClientToServer.Validate if the designated constraints aren't met.
func (ClientToServerValidationError) Cause ¶
func (e ClientToServerValidationError) Cause() error
Cause function returns cause value.
func (ClientToServerValidationError) Error ¶
func (e ClientToServerValidationError) Error() string
Error satisfies the builtin error interface
func (ClientToServerValidationError) ErrorName ¶
func (e ClientToServerValidationError) ErrorName() string
ErrorName returns error name.
func (ClientToServerValidationError) Field ¶
func (e ClientToServerValidationError) Field() string
Field function returns field value.
func (ClientToServerValidationError) Key ¶
func (e ClientToServerValidationError) Key() bool
Key function returns key value.
func (ClientToServerValidationError) Reason ¶
func (e ClientToServerValidationError) Reason() string
Reason function returns reason value.
type ClientToServer_Hello ¶
type ClientToServer_Hello struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` NextId uint64 `protobuf:"varint,2,opt,name=next_id,json=nextId,proto3" json:"next_id,omitempty"` // contains filtered or unexported fields }
func (*ClientToServer_Hello) DeepCopy ¶
func (in *ClientToServer_Hello) DeepCopy() *ClientToServer_Hello
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientToServer_Hello. Required by controller-gen.
func (*ClientToServer_Hello) DeepCopyInterface ¶
func (in *ClientToServer_Hello) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ClientToServer_Hello. Required by controller-gen.
func (*ClientToServer_Hello) DeepCopyInto ¶
func (in *ClientToServer_Hello) DeepCopyInto(out *ClientToServer_Hello)
DeepCopyInto supports using ClientToServer_Hello within kubernetes types, where deepcopy-gen is used.
func (*ClientToServer_Hello) Descriptor
deprecated
func (*ClientToServer_Hello) Descriptor() ([]byte, []int)
Deprecated: Use ClientToServer_Hello.ProtoReflect.Descriptor instead.
func (*ClientToServer_Hello) GetName ¶
func (x *ClientToServer_Hello) GetName() string
func (*ClientToServer_Hello) GetNextId ¶
func (x *ClientToServer_Hello) GetNextId() uint64
func (*ClientToServer_Hello) MarshalJSON ¶
func (msg *ClientToServer_Hello) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ClientToServer_Hello) ProtoMessage ¶
func (*ClientToServer_Hello) ProtoMessage()
func (*ClientToServer_Hello) ProtoReflect ¶
func (x *ClientToServer_Hello) ProtoReflect() protoreflect.Message
func (*ClientToServer_Hello) Reset ¶
func (x *ClientToServer_Hello) Reset()
func (*ClientToServer_Hello) String ¶
func (x *ClientToServer_Hello) String() string
func (*ClientToServer_Hello) UnmarshalJSON ¶
func (msg *ClientToServer_Hello) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ClientToServer_Hello) Validate ¶
func (m *ClientToServer_Hello) Validate() error
Validate checks the field values on ClientToServer_Hello with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClientToServer_Hello) ValidateAll ¶
func (m *ClientToServer_Hello) ValidateAll() error
ValidateAll checks the field values on ClientToServer_Hello with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClientToServer_HelloMultiError, or nil if none found.
type ClientToServer_HelloMultiError ¶
type ClientToServer_HelloMultiError []error
ClientToServer_HelloMultiError is an error wrapping multiple validation errors returned by ClientToServer_Hello.ValidateAll() if the designated constraints aren't met.
func (ClientToServer_HelloMultiError) AllErrors ¶
func (m ClientToServer_HelloMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClientToServer_HelloMultiError) Error ¶
func (m ClientToServer_HelloMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClientToServer_HelloValidationError ¶
type ClientToServer_HelloValidationError struct {
// contains filtered or unexported fields
}
ClientToServer_HelloValidationError is the validation error returned by ClientToServer_Hello.Validate if the designated constraints aren't met.
func (ClientToServer_HelloValidationError) Cause ¶
func (e ClientToServer_HelloValidationError) Cause() error
Cause function returns cause value.
func (ClientToServer_HelloValidationError) Error ¶
func (e ClientToServer_HelloValidationError) Error() string
Error satisfies the builtin error interface
func (ClientToServer_HelloValidationError) ErrorName ¶
func (e ClientToServer_HelloValidationError) ErrorName() string
ErrorName returns error name.
func (ClientToServer_HelloValidationError) Field ¶
func (e ClientToServer_HelloValidationError) Field() string
Field function returns field value.
func (ClientToServer_HelloValidationError) Key ¶
func (e ClientToServer_HelloValidationError) Key() bool
Key function returns key value.
func (ClientToServer_HelloValidationError) Reason ¶
func (e ClientToServer_HelloValidationError) Reason() string
Reason function returns reason value.
type ClientToServer_Hello_ ¶
type ClientToServer_Hello_ struct {
Hello *ClientToServer_Hello `protobuf:"bytes,1,opt,name=hello,proto3,oneof"`
}
type ClientToServer_Response ¶
type ClientToServer_Response struct {
Response *Response `protobuf:"bytes,2,opt,name=response,proto3,oneof"`
}
type CoordinatorClient ¶
type CoordinatorClient interface {
Connect(ctx context.Context, opts ...grpc.CallOption) (Coordinator_ConnectClient, error)
}
CoordinatorClient is the client API for Coordinator service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCoordinatorClient ¶
func NewCoordinatorClient(cc grpc.ClientConnInterface) CoordinatorClient
type CoordinatorServer ¶
type CoordinatorServer interface {
Connect(Coordinator_ConnectServer) error
}
CoordinatorServer is the server API for Coordinator service. All implementations should embed UnimplementedCoordinatorServer for forward compatibility
type Coordinator_ConnectClient ¶
type Coordinator_ConnectClient interface { Send(*ClientToServer) error Recv() (*ServerToClient, error) grpc.ClientStream }
type Coordinator_ConnectServer ¶
type Coordinator_ConnectServer interface { Send(*ServerToClient) error Recv() (*ClientToServer, error) grpc.ServerStream }
type Request ¶
type Request struct { // Id of the request, this should be unique per client connection. First // request id on the connection should be equal to nextID from the Hello // message. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Mandatory timeout for processing request. Timeout is handled on // caller-side. After it passes, caller is no longer interested in a response, // and callee can forget about the request. Timeout *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // Request payload. The method on the callee will be dispatched by request's type. Payload *anypb.Any `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*Request) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Request. Required by controller-gen.
func (*Request) DeepCopyInterface ¶
func (in *Request) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Request. Required by controller-gen.
func (*Request) DeepCopyInto ¶
DeepCopyInto supports using Request within kubernetes types, where deepcopy-gen is used.
func (*Request) Descriptor
deprecated
func (*Request) GetPayload ¶
func (*Request) GetTimeout ¶
func (x *Request) GetTimeout() *durationpb.Duration
func (*Request) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
func (*Request) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Request) Validate ¶
Validate checks the field values on Request with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Request) ValidateAll ¶
ValidateAll checks the field values on Request with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RequestMultiError, or nil if none found.
type RequestMultiError ¶
type RequestMultiError []error
RequestMultiError is an error wrapping multiple validation errors returned by Request.ValidateAll() if the designated constraints aren't met.
func (RequestMultiError) AllErrors ¶
func (m RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestMultiError) Error ¶
func (m RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestValidationError ¶
type RequestValidationError struct {
// contains filtered or unexported fields
}
RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.
func (RequestValidationError) Cause ¶
func (e RequestValidationError) Cause() error
Cause function returns cause value.
func (RequestValidationError) Error ¶
func (e RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RequestValidationError) ErrorName ¶
func (e RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RequestValidationError) Field ¶
func (e RequestValidationError) Field() string
Field function returns field value.
func (RequestValidationError) Key ¶
func (e RequestValidationError) Key() bool
Key function returns key value.
func (RequestValidationError) Reason ¶
func (e RequestValidationError) Reason() string
Reason function returns reason value.
type Response ¶
type Response struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are assignable to Result: // // *Response_Payload // *Response_Error Result isResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*Response) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Response. Required by controller-gen.
func (*Response) DeepCopyInterface ¶
func (in *Response) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Response. Required by controller-gen.
func (*Response) DeepCopyInto ¶
DeepCopyInto supports using Response within kubernetes types, where deepcopy-gen is used.
func (*Response) Descriptor
deprecated
func (*Response) GetPayload ¶
func (*Response) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
func (*Response) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Response) Validate ¶
Validate checks the field values on Response with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Response) ValidateAll ¶
ValidateAll checks the field values on Response with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResponseMultiError, or nil if none found.
type ResponseMultiError ¶
type ResponseMultiError []error
ResponseMultiError is an error wrapping multiple validation errors returned by Response.ValidateAll() if the designated constraints aren't met.
func (ResponseMultiError) AllErrors ¶
func (m ResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResponseMultiError) Error ¶
func (m ResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResponseValidationError ¶
type ResponseValidationError struct {
// contains filtered or unexported fields
}
ResponseValidationError is the validation error returned by Response.Validate if the designated constraints aren't met.
func (ResponseValidationError) Cause ¶
func (e ResponseValidationError) Cause() error
Cause function returns cause value.
func (ResponseValidationError) Error ¶
func (e ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseValidationError) ErrorName ¶
func (e ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseValidationError) Field ¶
func (e ResponseValidationError) Field() string
Field function returns field value.
func (ResponseValidationError) Key ¶
func (e ResponseValidationError) Key() bool
Key function returns key value.
func (ResponseValidationError) Reason ¶
func (e ResponseValidationError) Reason() string
Reason function returns reason value.
type Response_Error ¶
type Response_Payload ¶
type Response_Payload struct { // Payload is a message of a type implied by request kind. Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3,oneof"` }
type ServerToClient ¶
type ServerToClient struct { // Types that are assignable to Command: // // *ServerToClient_Request // *ServerToClient_CancelId Command isServerToClient_Command `protobuf_oneof:"command"` // contains filtered or unexported fields }
func (*ServerToClient) DeepCopy ¶
func (in *ServerToClient) DeepCopy() *ServerToClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerToClient. Required by controller-gen.
func (*ServerToClient) DeepCopyInterface ¶
func (in *ServerToClient) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ServerToClient. Required by controller-gen.
func (*ServerToClient) DeepCopyInto ¶
func (in *ServerToClient) DeepCopyInto(out *ServerToClient)
DeepCopyInto supports using ServerToClient within kubernetes types, where deepcopy-gen is used.
func (*ServerToClient) Descriptor
deprecated
func (*ServerToClient) Descriptor() ([]byte, []int)
Deprecated: Use ServerToClient.ProtoReflect.Descriptor instead.
func (*ServerToClient) GetCancelId ¶
func (x *ServerToClient) GetCancelId() uint64
func (*ServerToClient) GetCommand ¶
func (m *ServerToClient) GetCommand() isServerToClient_Command
func (*ServerToClient) GetRequest ¶
func (x *ServerToClient) GetRequest() *Request
func (*ServerToClient) MarshalJSON ¶
func (msg *ServerToClient) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ServerToClient) ProtoMessage ¶
func (*ServerToClient) ProtoMessage()
func (*ServerToClient) ProtoReflect ¶
func (x *ServerToClient) ProtoReflect() protoreflect.Message
func (*ServerToClient) Reset ¶
func (x *ServerToClient) Reset()
func (*ServerToClient) String ¶
func (x *ServerToClient) String() string
func (*ServerToClient) UnmarshalJSON ¶
func (msg *ServerToClient) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ServerToClient) Validate ¶
func (m *ServerToClient) Validate() error
Validate checks the field values on ServerToClient with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServerToClient) ValidateAll ¶
func (m *ServerToClient) ValidateAll() error
ValidateAll checks the field values on ServerToClient with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServerToClientMultiError, or nil if none found.
type ServerToClientMultiError ¶
type ServerToClientMultiError []error
ServerToClientMultiError is an error wrapping multiple validation errors returned by ServerToClient.ValidateAll() if the designated constraints aren't met.
func (ServerToClientMultiError) AllErrors ¶
func (m ServerToClientMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServerToClientMultiError) Error ¶
func (m ServerToClientMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServerToClientValidationError ¶
type ServerToClientValidationError struct {
// contains filtered or unexported fields
}
ServerToClientValidationError is the validation error returned by ServerToClient.Validate if the designated constraints aren't met.
func (ServerToClientValidationError) Cause ¶
func (e ServerToClientValidationError) Cause() error
Cause function returns cause value.
func (ServerToClientValidationError) Error ¶
func (e ServerToClientValidationError) Error() string
Error satisfies the builtin error interface
func (ServerToClientValidationError) ErrorName ¶
func (e ServerToClientValidationError) ErrorName() string
ErrorName returns error name.
func (ServerToClientValidationError) Field ¶
func (e ServerToClientValidationError) Field() string
Field function returns field value.
func (ServerToClientValidationError) Key ¶
func (e ServerToClientValidationError) Key() bool
Key function returns key value.
func (ServerToClientValidationError) Reason ¶
func (e ServerToClientValidationError) Reason() string
Reason function returns reason value.
type ServerToClient_CancelId ¶
type ServerToClient_CancelId struct { // Cancels in-flight request. // // After cancellation, the response is not expected to be received, but // might happen that it will be received. If so, it should be ignored. CancelId uint64 `protobuf:"varint,2,opt,name=cancel_id,json=cancelId,proto3,oneof"` }
type ServerToClient_Request ¶
type ServerToClient_Request struct { // Make a request to client. Expect AgentToController message in the // future containing Response with the same id. Request *Request `protobuf:"bytes,1,opt,name=request,proto3,oneof"` }
type UnimplementedCoordinatorServer ¶
type UnimplementedCoordinatorServer struct { }
UnimplementedCoordinatorServer should be embedded to have forward compatible implementations.
func (UnimplementedCoordinatorServer) Connect ¶
func (UnimplementedCoordinatorServer) Connect(Coordinator_ConnectServer) error
type UnsafeCoordinatorServer ¶
type UnsafeCoordinatorServer interface {
// contains filtered or unexported methods
}
UnsafeCoordinatorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoordinatorServer will result in compilation errors.