refunctionv1alpha

package
v0.0.0-...-89d5bac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2020 License: AGPL-3.0, AGPL-3.0-or-later Imports: 5 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*Request) GetContainerId

func (m *Request) GetContainerId() string

func (*Request) GetRequest

func (m *Request) GetRequest() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

type Response

type Response struct {
	Response string `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
}

func (*Response) Descriptor

func (*Response) Descriptor() ([]byte, []int)

func (*Response) GetResponse

func (m *Response) GetResponse() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL