Documentation ¶
Overview ¶
Package build is a generated protocol buffer package.
It is generated from these files:
github.com/appcelerator/amp/api/rpc/build/build.proto
It has these top-level messages:
Ping Pong ProjectRequest ProjectQuery ProjectList Project BuildRequest BuildList Build Log
Index ¶
- func RegisterAmpBuildServer(s *grpc.Server, srv AmpBuildServer)
- type AmpBuildClient
- type AmpBuildServer
- type AmpBuild_BuildLogClient
- type AmpBuild_BuildLogServer
- type Build
- type BuildList
- type BuildRequest
- type Log
- type Ping
- type Pong
- type Project
- type ProjectList
- type ProjectQuery
- type ProjectRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAmpBuildServer ¶
func RegisterAmpBuildServer(s *grpc.Server, srv AmpBuildServer)
Types ¶
type AmpBuildClient ¶
type AmpBuildClient interface { PingPong(ctx context.Context, in *Ping, opts ...grpc.CallOption) (*Pong, error) CreateProject(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (*Project, error) DeleteProject(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (*Project, error) ListProjects(ctx context.Context, in *ProjectQuery, opts ...grpc.CallOption) (*ProjectList, error) ListBuilds(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (*BuildList, error) BuildLog(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (AmpBuild_BuildLogClient, error) Rebuild(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (*Build, error) }
func NewAmpBuildClient ¶
func NewAmpBuildClient(cc *grpc.ClientConn) AmpBuildClient
type AmpBuildServer ¶
type AmpBuildServer interface { PingPong(context.Context, *Ping) (*Pong, error) CreateProject(context.Context, *ProjectRequest) (*Project, error) DeleteProject(context.Context, *ProjectRequest) (*Project, error) ListProjects(context.Context, *ProjectQuery) (*ProjectList, error) ListBuilds(context.Context, *ProjectRequest) (*BuildList, error) BuildLog(*BuildRequest, AmpBuild_BuildLogServer) error Rebuild(context.Context, *BuildRequest) (*Build, error) }
type AmpBuild_BuildLogClient ¶
type AmpBuild_BuildLogClient interface { Recv() (*Log, error) grpc.ClientStream }
type AmpBuild_BuildLogServer ¶
type AmpBuild_BuildLogServer interface { Send(*Log) error grpc.ServerStream }
type Build ¶
type Build struct { Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Sha string `protobuf:"bytes,3,opt,name=sha" json:"sha,omitempty"` Status string `protobuf:"bytes,4,opt,name=status" json:"status,omitempty"` CommitMessage string `protobuf:"bytes,5,opt,name=commit_message,json=commitMessage" json:"commit_message,omitempty"` }
func (*Build) Descriptor ¶
func (*Build) ProtoMessage ¶
func (*Build) ProtoMessage()
type BuildList ¶
type BuildList struct {
Builds []*Build `protobuf:"bytes,1,rep,name=builds" json:"builds,omitempty"`
}
func (*BuildList) Descriptor ¶
func (*BuildList) ProtoMessage ¶
func (*BuildList) ProtoMessage()
type BuildRequest ¶
type BuildRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Sha string `protobuf:"bytes,3,opt,name=sha" json:"sha,omitempty"` }
func (*BuildRequest) Descriptor ¶
func (*BuildRequest) Descriptor() ([]byte, []int)
func (*BuildRequest) ProtoMessage ¶
func (*BuildRequest) ProtoMessage()
func (*BuildRequest) Reset ¶
func (m *BuildRequest) Reset()
func (*BuildRequest) String ¶
func (m *BuildRequest) String() string
type Log ¶
type Log struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (*Log) Descriptor ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
type Ping ¶
type Ping struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (*Ping) Descriptor ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
type Pong ¶
type Pong struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (*Pong) Descriptor ¶
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
type Project ¶
type Project struct { Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner" json:"owner,omitempty"` Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` Status string `protobuf:"bytes,4,opt,name=status" json:"status,omitempty"` }
func (*Project) Descriptor ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
type ProjectList ¶
type ProjectList struct {
Projects []*Project `protobuf:"bytes,1,rep,name=projects" json:"projects,omitempty"`
}
func (*ProjectList) Descriptor ¶
func (*ProjectList) Descriptor() ([]byte, []int)
func (*ProjectList) GetProjects ¶
func (m *ProjectList) GetProjects() []*Project
func (*ProjectList) ProtoMessage ¶
func (*ProjectList) ProtoMessage()
func (*ProjectList) Reset ¶
func (m *ProjectList) Reset()
func (*ProjectList) String ¶
func (m *ProjectList) String() string
type ProjectQuery ¶
type ProjectQuery struct { Organization string `protobuf:"bytes,1,opt,name=organization" json:"organization,omitempty"` Latest bool `protobuf:"varint,2,opt,name=latest" json:"latest,omitempty"` }
func (*ProjectQuery) Descriptor ¶
func (*ProjectQuery) Descriptor() ([]byte, []int)
func (*ProjectQuery) ProtoMessage ¶
func (*ProjectQuery) ProtoMessage()
func (*ProjectQuery) Reset ¶
func (m *ProjectQuery) Reset()
func (*ProjectQuery) String ¶
func (m *ProjectQuery) String() string
type ProjectRequest ¶
type ProjectRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` }
func (*ProjectRequest) Descriptor ¶
func (*ProjectRequest) Descriptor() ([]byte, []int)
func (*ProjectRequest) ProtoMessage ¶
func (*ProjectRequest) ProtoMessage()
func (*ProjectRequest) Reset ¶
func (m *ProjectRequest) Reset()
func (*ProjectRequest) String ¶
func (m *ProjectRequest) String() string
Click to show internal directories.
Click to hide internal directories.