Documentation ¶
Overview ¶
Package refunctionv1alpha is a generated protocol buffer package.
It is generated from these files:
refunction.proto
It has these top-level messages:
ListContainersRequest ListContainersResponse Request Response FunctionRequest FunctionResponse RestoreRequest RestoreResponse
Index ¶
- func RegisterRefunctionServiceServer(s *grpc.Server, srv RefunctionServiceServer)
- type FunctionRequest
- type FunctionResponse
- type ListContainersRequest
- type ListContainersResponse
- type RefunctionServiceClient
- type RefunctionServiceServer
- type Request
- type Response
- type RestoreRequest
- type RestoreResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRefunctionServiceServer ¶
func RegisterRefunctionServiceServer(s *grpc.Server, srv RefunctionServiceServer)
Types ¶
type FunctionRequest ¶
type FunctionRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId" json:"container_id,omitempty"` Function string `protobuf:"bytes,2,opt,name=function" json:"function,omitempty"` }
func (*FunctionRequest) Descriptor ¶
func (*FunctionRequest) Descriptor() ([]byte, []int)
func (*FunctionRequest) GetContainerId ¶
func (m *FunctionRequest) GetContainerId() string
func (*FunctionRequest) GetFunction ¶
func (m *FunctionRequest) GetFunction() string
func (*FunctionRequest) ProtoMessage ¶
func (*FunctionRequest) ProtoMessage()
func (*FunctionRequest) Reset ¶
func (m *FunctionRequest) Reset()
func (*FunctionRequest) String ¶
func (m *FunctionRequest) String() string
type FunctionResponse ¶
type FunctionResponse struct { }
func (*FunctionResponse) Descriptor ¶
func (*FunctionResponse) Descriptor() ([]byte, []int)
func (*FunctionResponse) ProtoMessage ¶
func (*FunctionResponse) ProtoMessage()
func (*FunctionResponse) Reset ¶
func (m *FunctionResponse) Reset()
func (*FunctionResponse) String ¶
func (m *FunctionResponse) String() string
type ListContainersRequest ¶
type ListContainersRequest struct { }
func (*ListContainersRequest) Descriptor ¶
func (*ListContainersRequest) Descriptor() ([]byte, []int)
func (*ListContainersRequest) ProtoMessage ¶
func (*ListContainersRequest) ProtoMessage()
func (*ListContainersRequest) Reset ¶
func (m *ListContainersRequest) Reset()
func (*ListContainersRequest) String ¶
func (m *ListContainersRequest) String() string
type ListContainersResponse ¶
type ListContainersResponse struct {
ContainerIds []string `protobuf:"bytes,1,rep,name=container_ids,json=containerIds" json:"container_ids,omitempty"`
}
func (*ListContainersResponse) Descriptor ¶
func (*ListContainersResponse) Descriptor() ([]byte, []int)
func (*ListContainersResponse) GetContainerIds ¶
func (m *ListContainersResponse) GetContainerIds() []string
func (*ListContainersResponse) ProtoMessage ¶
func (*ListContainersResponse) ProtoMessage()
func (*ListContainersResponse) Reset ¶
func (m *ListContainersResponse) Reset()
func (*ListContainersResponse) String ¶
func (m *ListContainersResponse) String() string
type RefunctionServiceClient ¶
type RefunctionServiceClient interface { // ListControllers? ListSandboxes? ListContainers(ctx context.Context, in *ListContainersRequest, opts ...grpc.CallOption) (*ListContainersResponse, error) SendRequest(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) SendFunction(ctx context.Context, in *FunctionRequest, opts ...grpc.CallOption) (*FunctionResponse, error) Restore(ctx context.Context, in *RestoreRequest, opts ...grpc.CallOption) (*RestoreResponse, error) }
func NewRefunctionServiceClient ¶
func NewRefunctionServiceClient(cc *grpc.ClientConn) RefunctionServiceClient
type RefunctionServiceServer ¶
type RefunctionServiceServer interface { // ListControllers? ListSandboxes? ListContainers(context.Context, *ListContainersRequest) (*ListContainersResponse, error) SendRequest(context.Context, *Request) (*Response, error) SendFunction(context.Context, *FunctionRequest) (*FunctionResponse, error) Restore(context.Context, *RestoreRequest) (*RestoreResponse, error) }
type Request ¶
type Request struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId" json:"container_id,omitempty"` Request string `protobuf:"bytes,2,opt,name=request" json:"request,omitempty"` }
func (*Request) Descriptor ¶
func (*Request) GetContainerId ¶
func (*Request) GetRequest ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Response ¶
type Response struct {
Response string `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
}
func (*Response) Descriptor ¶
func (*Response) GetResponse ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
type RestoreRequest ¶
type RestoreRequest struct {
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId" json:"container_id,omitempty"`
}
func (*RestoreRequest) Descriptor ¶
func (*RestoreRequest) Descriptor() ([]byte, []int)
func (*RestoreRequest) GetContainerId ¶
func (m *RestoreRequest) GetContainerId() string
func (*RestoreRequest) ProtoMessage ¶
func (*RestoreRequest) ProtoMessage()
func (*RestoreRequest) Reset ¶
func (m *RestoreRequest) Reset()
func (*RestoreRequest) String ¶
func (m *RestoreRequest) String() string
type RestoreResponse ¶
type RestoreResponse struct { }
func (*RestoreResponse) Descriptor ¶
func (*RestoreResponse) Descriptor() ([]byte, []int)
func (*RestoreResponse) ProtoMessage ¶
func (*RestoreResponse) ProtoMessage()
func (*RestoreResponse) Reset ¶
func (m *RestoreResponse) Reset()
func (*RestoreResponse) String ¶
func (m *RestoreResponse) String() string
Click to show internal directories.
Click to hide internal directories.