Versions in this module Expand all Collapse all v1 v1.0.0 Jun 3, 2018 Changes in this version + func RegisterMufaasServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterMufaasServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MufaasServiceClient) error + func RegisterMufaasServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterMufaasServiceServer(s *grpc.Server, srv MufaasServiceServer) + type AddRequest struct + Dockerfile string + Image string + Info *FunctionInfo + Source []byte + TypesPath []string + func (*AddRequest) Descriptor() ([]byte, []int) + func (*AddRequest) ProtoMessage() + func (m *AddRequest) GetDockerfile() string + func (m *AddRequest) GetImage() string + func (m *AddRequest) GetInfo() *FunctionInfo + func (m *AddRequest) GetSource() []byte + func (m *AddRequest) GetTypesPath() []string + func (m *AddRequest) Reset() + func (m *AddRequest) String() string + type AddResponse struct + Info *FunctionInfo + func (*AddResponse) Descriptor() ([]byte, []int) + func (*AddResponse) ProtoMessage() + func (m *AddResponse) GetInfo() *FunctionInfo + func (m *AddResponse) Reset() + func (m *AddResponse) String() string + type FunctionInfo struct + Cmd []string + Env []string + Error string + ID string + Name string + Privileged bool + Type string + func (*FunctionInfo) Descriptor() ([]byte, []int) + func (*FunctionInfo) ProtoMessage() + func (m *FunctionInfo) GetCmd() []string + func (m *FunctionInfo) GetEnv() []string + func (m *FunctionInfo) GetError() string + func (m *FunctionInfo) GetID() string + func (m *FunctionInfo) GetName() string + func (m *FunctionInfo) GetPrivileged() bool + func (m *FunctionInfo) GetType() string + func (m *FunctionInfo) Reset() + func (m *FunctionInfo) String() string + type ListRequest struct + Filter []string + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (m *ListRequest) GetFilter() []string + func (m *ListRequest) Reset() + func (m *ListRequest) String() string + type ListResponse struct + Functions []*FunctionInfo + func (*ListResponse) Descriptor() ([]byte, []int) + func (*ListResponse) ProtoMessage() + func (m *ListResponse) GetFunctions() []*FunctionInfo + func (m *ListResponse) Reset() + func (m *ListResponse) String() string + type MufaasServiceClient interface + Add func(ctx context.Context, in *AddRequest, opts ...grpc.CallOption) (*AddResponse, error) + List func(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) + Remove func(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error) + Run func(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) + func NewClient(grpcEndpoint string) (MufaasServiceClient, *grpc.ClientConn, error) + func NewMufaasServiceClient(cc *grpc.ClientConn) MufaasServiceClient + type MufaasServiceServer interface + Add func(context.Context, *AddRequest) (*AddResponse, error) + List func(context.Context, *ListRequest) (*ListResponse, error) + Remove func(context.Context, *RemoveRequest) (*RemoveResponse, error) + Run func(context.Context, *RunRequest) (*RunResponse, error) + type RemoveRequest struct + Force bool + Name []string + func (*RemoveRequest) Descriptor() ([]byte, []int) + func (*RemoveRequest) ProtoMessage() + func (m *RemoveRequest) GetForce() bool + func (m *RemoveRequest) GetName() []string + func (m *RemoveRequest) Reset() + func (m *RemoveRequest) String() string + type RemoveResponse struct + Functions []*FunctionInfo + func (*RemoveResponse) Descriptor() ([]byte, []int) + func (*RemoveResponse) ProtoMessage() + func (m *RemoveResponse) GetFunctions() []*FunctionInfo + func (m *RemoveResponse) Reset() + func (m *RemoveResponse) String() string + type RunRequest struct + Args []string + Env []string + Name string + Stdin []byte + func (*RunRequest) Descriptor() ([]byte, []int) + func (*RunRequest) ProtoMessage() + func (m *RunRequest) GetArgs() []string + func (m *RunRequest) GetEnv() []string + func (m *RunRequest) GetName() string + func (m *RunRequest) GetStdin() []byte + func (m *RunRequest) Reset() + func (m *RunRequest) String() string + type RunResponse struct + Err []byte + Output []byte + func (*RunResponse) Descriptor() ([]byte, []int) + func (*RunResponse) ProtoMessage() + func (m *RunResponse) GetErr() []byte + func (m *RunResponse) GetOutput() []byte + func (m *RunResponse) Reset() + func (m *RunResponse) String() string