Documentation ¶
Index ¶
- func RegisterGabServer(s *grpc.Server, srv GabServer)
- type GabClient
- type GabServer
- type RRequest
- func (*RRequest) Descriptor() ([]byte, []int)
- func (m *RRequest) GetInitramfs() string
- func (m *RRequest) GetKernel() string
- func (m *RRequest) GetKparams() string
- func (m *RRequest) GetLabel() string
- func (m *RRequest) GetUuid() string
- func (*RRequest) ProtoMessage()
- func (m *RRequest) Reset()
- func (m *RRequest) String() string
- func (m *RRequest) XXX_DiscardUnknown()
- func (m *RRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RRequest) XXX_Merge(src proto.Message)
- func (m *RRequest) XXX_Size() int
- func (m *RRequest) XXX_Unmarshal(b []byte) error
- type RequestResponse
- func (*RequestResponse) Descriptor() ([]byte, []int)
- func (m *RequestResponse) GetGrub() []byte
- func (*RequestResponse) ProtoMessage()
- func (m *RequestResponse) Reset()
- func (m *RequestResponse) String() string
- func (m *RequestResponse) XXX_DiscardUnknown()
- func (m *RequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestResponse) XXX_Merge(src proto.Message)
- func (m *RequestResponse) XXX_Size() int
- func (m *RequestResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGabServer ¶
Types ¶
type GabClient ¶
type GabClient interface {
Request(ctx context.Context, in *RRequest, opts ...grpc.CallOption) (*RequestResponse, error)
}
GabClient is the client API for Gab service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGabClient ¶
func NewGabClient(cc *grpc.ClientConn) GabClient
type GabServer ¶
type GabServer interface {
Request(context.Context, *RRequest) (*RequestResponse, error)
}
GabServer is the server API for Gab service.
type RRequest ¶
type RRequest struct { Kernel string `protobuf:"bytes,1,opt,name=kernel,proto3" json:"kernel,omitempty"` Initramfs string `protobuf:"bytes,2,opt,name=initramfs,proto3" json:"initramfs,omitempty"` Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` Kparams string `protobuf:"bytes,5,opt,name=kparams,proto3" json:"kparams,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RRequest) Descriptor ¶
func (*RRequest) GetInitramfs ¶
func (*RRequest) GetKparams ¶
func (*RRequest) ProtoMessage ¶
func (*RRequest) ProtoMessage()
func (*RRequest) XXX_DiscardUnknown ¶
func (m *RRequest) XXX_DiscardUnknown()
func (*RRequest) XXX_Marshal ¶
func (*RRequest) XXX_Unmarshal ¶
type RequestResponse ¶
type RequestResponse struct { Grub []byte `protobuf:"bytes,1,opt,name=grub,proto3" json:"grub,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestResponse) Descriptor ¶
func (*RequestResponse) Descriptor() ([]byte, []int)
func (*RequestResponse) GetGrub ¶
func (m *RequestResponse) GetGrub() []byte
func (*RequestResponse) ProtoMessage ¶
func (*RequestResponse) ProtoMessage()
func (*RequestResponse) Reset ¶
func (m *RequestResponse) Reset()
func (*RequestResponse) String ¶
func (m *RequestResponse) String() string
func (*RequestResponse) XXX_DiscardUnknown ¶
func (m *RequestResponse) XXX_DiscardUnknown()
func (*RequestResponse) XXX_Marshal ¶
func (m *RequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestResponse) XXX_Merge ¶
func (dst *RequestResponse) XXX_Merge(src proto.Message)
func (*RequestResponse) XXX_Size ¶
func (m *RequestResponse) XXX_Size() int
func (*RequestResponse) XXX_Unmarshal ¶
func (m *RequestResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.