Documentation ¶
Overview ¶
Package build is a generated protocol buffer package.
It is generated from these files:
pkg/protobuf/build/build.proto
It has these top-level messages:
BuildRequest BuildResponse
Index ¶
- func RegisterBuildServer(s *grpc.Server, srv BuildServer)
- type BuildClient
- type BuildRequest
- func (*BuildRequest) Descriptor() ([]byte, []int)
- func (m *BuildRequest) GetFile() *BuildRequest_File
- func (m *BuildRequest) GetInfo() *BuildRequest_Info
- func (m *BuildRequest) GetValue() isBuildRequest_Value
- func (*BuildRequest) ProtoMessage()
- func (m *BuildRequest) Reset()
- func (m *BuildRequest) String() string
- func (*BuildRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type BuildRequest_File
- type BuildRequest_File_
- type BuildRequest_Info
- func (*BuildRequest_Info) Descriptor() ([]byte, []int)
- func (m *BuildRequest_Info) GetApp() string
- func (m *BuildRequest_Info) GetName() string
- func (m *BuildRequest_Info) GetRun() bool
- func (*BuildRequest_Info) ProtoMessage()
- func (m *BuildRequest_Info) Reset()
- func (m *BuildRequest_Info) String() string
- type BuildRequest_Info_
- type BuildResponse
- type BuildServer
- type Build_MakeClient
- type Build_MakeServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBuildServer ¶
func RegisterBuildServer(s *grpc.Server, srv BuildServer)
Types ¶
type BuildClient ¶
type BuildClient interface {
Make(ctx context.Context, opts ...grpc.CallOption) (Build_MakeClient, error)
}
func NewBuildClient ¶
func NewBuildClient(cc *grpc.ClientConn) BuildClient
type BuildRequest ¶
type BuildRequest struct { // Types that are valid to be assigned to Value: // *BuildRequest_Info_ // *BuildRequest_File_ Value isBuildRequest_Value `protobuf_oneof:"value"` }
func (*BuildRequest) Descriptor ¶
func (*BuildRequest) Descriptor() ([]byte, []int)
func (*BuildRequest) GetFile ¶
func (m *BuildRequest) GetFile() *BuildRequest_File
func (*BuildRequest) GetInfo ¶
func (m *BuildRequest) GetInfo() *BuildRequest_Info
func (*BuildRequest) GetValue ¶
func (m *BuildRequest) GetValue() isBuildRequest_Value
func (*BuildRequest) ProtoMessage ¶
func (*BuildRequest) ProtoMessage()
func (*BuildRequest) Reset ¶
func (m *BuildRequest) Reset()
func (*BuildRequest) String ¶
func (m *BuildRequest) String() string
func (*BuildRequest) XXX_OneofFuncs ¶
func (*BuildRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type BuildRequest_File ¶
type BuildRequest_File struct {
Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
}
func (*BuildRequest_File) Descriptor ¶
func (*BuildRequest_File) Descriptor() ([]byte, []int)
func (*BuildRequest_File) GetChunk ¶
func (m *BuildRequest_File) GetChunk() []byte
func (*BuildRequest_File) ProtoMessage ¶
func (*BuildRequest_File) ProtoMessage()
func (*BuildRequest_File) Reset ¶
func (m *BuildRequest_File) Reset()
func (*BuildRequest_File) String ¶
func (m *BuildRequest_File) String() string
type BuildRequest_File_ ¶
type BuildRequest_File_ struct {
File *BuildRequest_File `protobuf:"bytes,2,opt,name=file,oneof"`
}
type BuildRequest_Info ¶
type BuildRequest_Info struct { App string `protobuf:"bytes,1,opt,name=app" json:"app,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Run bool `protobuf:"varint,3,opt,name=run" json:"run,omitempty"` }
func (*BuildRequest_Info) Descriptor ¶
func (*BuildRequest_Info) Descriptor() ([]byte, []int)
func (*BuildRequest_Info) GetApp ¶
func (m *BuildRequest_Info) GetApp() string
func (*BuildRequest_Info) GetName ¶
func (m *BuildRequest_Info) GetName() string
func (*BuildRequest_Info) GetRun ¶
func (m *BuildRequest_Info) GetRun() bool
func (*BuildRequest_Info) ProtoMessage ¶
func (*BuildRequest_Info) ProtoMessage()
func (*BuildRequest_Info) Reset ¶
func (m *BuildRequest_Info) Reset()
func (*BuildRequest_Info) String ¶
func (m *BuildRequest_Info) String() string
type BuildRequest_Info_ ¶
type BuildRequest_Info_ struct {
Info *BuildRequest_Info `protobuf:"bytes,1,opt,name=info,oneof"`
}
type BuildResponse ¶
type BuildResponse struct {
Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
}
func (*BuildResponse) Descriptor ¶
func (*BuildResponse) Descriptor() ([]byte, []int)
func (*BuildResponse) GetText ¶
func (m *BuildResponse) GetText() string
func (*BuildResponse) ProtoMessage ¶
func (*BuildResponse) ProtoMessage()
func (*BuildResponse) Reset ¶
func (m *BuildResponse) Reset()
func (*BuildResponse) String ¶
func (m *BuildResponse) String() string
type BuildServer ¶
type BuildServer interface {
Make(Build_MakeServer) error
}
type Build_MakeClient ¶
type Build_MakeClient interface { Send(*BuildRequest) error Recv() (*BuildResponse, error) grpc.ClientStream }
type Build_MakeServer ¶
type Build_MakeServer interface { Send(*BuildResponse) error Recv() (*BuildRequest, error) grpc.ServerStream }
Click to show internal directories.
Click to hide internal directories.