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 ListRequest ListResponse RunRequest RunResponse DeleteRequest Empty
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
- type Build_RunClient
- type Build_RunServer
- type DeleteRequest
- type Empty
- type ListRequest
- type ListResponse
- type ListResponse_Build
- type RunRequest
- type RunResponse
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) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (Build_RunClient, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*Empty, 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 List(context.Context, *ListRequest) (*ListResponse, error) Run(*RunRequest, Build_RunServer) error Delete(context.Context, *DeleteRequest) (*Empty, 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 }
type Build_RunClient ¶ added in v0.24.0
type Build_RunClient interface { Recv() (*RunResponse, error) grpc.ClientStream }
type Build_RunServer ¶ added in v0.24.0
type Build_RunServer interface { Send(*RunResponse) error grpc.ServerStream }
type DeleteRequest ¶ added in v0.24.0
type DeleteRequest struct { AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName" json:"app_name,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` }
func (*DeleteRequest) Descriptor ¶ added in v0.24.0
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) GetAppName ¶ added in v0.24.0
func (m *DeleteRequest) GetAppName() string
func (*DeleteRequest) GetName ¶ added in v0.24.0
func (m *DeleteRequest) GetName() string
func (*DeleteRequest) ProtoMessage ¶ added in v0.24.0
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶ added in v0.24.0
func (m *DeleteRequest) Reset()
func (*DeleteRequest) String ¶ added in v0.24.0
func (m *DeleteRequest) String() string
type Empty ¶ added in v0.24.0
type Empty struct { }
func (*Empty) Descriptor ¶ added in v0.24.0
func (*Empty) ProtoMessage ¶ added in v0.24.0
func (*Empty) ProtoMessage()
type ListRequest ¶ added in v0.24.0
type ListRequest struct {
AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName" json:"app_name,omitempty"`
}
func (*ListRequest) Descriptor ¶ added in v0.24.0
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) GetAppName ¶ added in v0.24.0
func (m *ListRequest) GetAppName() string
func (*ListRequest) ProtoMessage ¶ added in v0.24.0
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶ added in v0.24.0
func (m *ListRequest) Reset()
func (*ListRequest) String ¶ added in v0.24.0
func (m *ListRequest) String() string
type ListResponse ¶ added in v0.24.0
type ListResponse struct {
Builds []*ListResponse_Build `protobuf:"bytes,1,rep,name=builds" json:"builds,omitempty"`
}
func (*ListResponse) Descriptor ¶ added in v0.24.0
func (*ListResponse) Descriptor() ([]byte, []int)
func (*ListResponse) GetBuilds ¶ added in v0.24.0
func (m *ListResponse) GetBuilds() []*ListResponse_Build
func (*ListResponse) ProtoMessage ¶ added in v0.24.0
func (*ListResponse) ProtoMessage()
func (*ListResponse) Reset ¶ added in v0.24.0
func (m *ListResponse) Reset()
func (*ListResponse) String ¶ added in v0.24.0
func (m *ListResponse) String() string
type ListResponse_Build ¶ added in v0.24.0
type ListResponse_Build struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` LastModified string `protobuf:"bytes,2,opt,name=last_modified,json=lastModified" json:"last_modified,omitempty"` }
func (*ListResponse_Build) Descriptor ¶ added in v0.24.0
func (*ListResponse_Build) Descriptor() ([]byte, []int)
func (*ListResponse_Build) GetLastModified ¶ added in v0.24.0
func (m *ListResponse_Build) GetLastModified() string
func (*ListResponse_Build) GetName ¶ added in v0.24.0
func (m *ListResponse_Build) GetName() string
func (*ListResponse_Build) ProtoMessage ¶ added in v0.24.0
func (*ListResponse_Build) ProtoMessage()
func (*ListResponse_Build) Reset ¶ added in v0.24.0
func (m *ListResponse_Build) Reset()
func (*ListResponse_Build) String ¶ added in v0.24.0
func (m *ListResponse_Build) String() string
type RunRequest ¶ added in v0.24.0
type RunRequest struct { AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName" json:"app_name,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` }
func (*RunRequest) Descriptor ¶ added in v0.24.0
func (*RunRequest) Descriptor() ([]byte, []int)
func (*RunRequest) GetAppName ¶ added in v0.24.0
func (m *RunRequest) GetAppName() string
func (*RunRequest) GetName ¶ added in v0.24.0
func (m *RunRequest) GetName() string
func (*RunRequest) ProtoMessage ¶ added in v0.24.0
func (*RunRequest) ProtoMessage()
func (*RunRequest) Reset ¶ added in v0.24.0
func (m *RunRequest) Reset()
func (*RunRequest) String ¶ added in v0.24.0
func (m *RunRequest) String() string
type RunResponse ¶ added in v0.24.0
type RunResponse struct {
Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
}
func (*RunResponse) Descriptor ¶ added in v0.24.0
func (*RunResponse) Descriptor() ([]byte, []int)
func (*RunResponse) GetText ¶ added in v0.24.0
func (m *RunResponse) GetText() string
func (*RunResponse) ProtoMessage ¶ added in v0.24.0
func (*RunResponse) ProtoMessage()
func (*RunResponse) Reset ¶ added in v0.24.0
func (m *RunResponse) Reset()
func (*RunResponse) String ¶ added in v0.24.0
func (m *RunResponse) String() string
Click to show internal directories.
Click to hide internal directories.