Documentation ¶
Index ¶
- func NewBuildEndpoints() []*api.Endpoint
- func RegisterBuildHandler(s server.Server, hdlr BuildHandler, opts ...server.HandlerOption) error
- func RegisterBuildServer(s *grpc.Server, srv BuildServer)
- type BuildClient
- type BuildHandler
- type BuildRequest
- func (*BuildRequest) Descriptor() ([]byte, []int)
- func (m *BuildRequest) GetData() []byte
- func (m *BuildRequest) GetOptions() *Options
- func (*BuildRequest) ProtoMessage()
- func (m *BuildRequest) Reset()
- func (m *BuildRequest) String() string
- func (m *BuildRequest) XXX_DiscardUnknown()
- func (m *BuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildRequest) XXX_Merge(src proto.Message)
- func (m *BuildRequest) XXX_Size() int
- func (m *BuildRequest) XXX_Unmarshal(b []byte) error
- type BuildServer
- type BuildService
- type Build_BuildClient
- type Build_BuildServer
- type Build_BuildService
- type Build_BuildStream
- type Options
- func (*Options) Descriptor() ([]byte, []int)
- func (m *Options) GetArchive() string
- func (m *Options) GetEntrypoint() string
- func (*Options) ProtoMessage()
- func (m *Options) Reset()
- func (m *Options) String() string
- func (m *Options) XXX_DiscardUnknown()
- func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Options) XXX_Merge(src proto.Message)
- func (m *Options) XXX_Size() int
- func (m *Options) XXX_Unmarshal(b []byte) error
- type Result
- func (*Result) Descriptor() ([]byte, []int)
- func (m *Result) GetData() []byte
- func (*Result) ProtoMessage()
- func (m *Result) Reset()
- func (m *Result) String() string
- func (m *Result) XXX_DiscardUnknown()
- func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Result) XXX_Merge(src proto.Message)
- func (m *Result) XXX_Size() int
- func (m *Result) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuildEndpoints ¶
func RegisterBuildHandler ¶
func RegisterBuildHandler(s server.Server, hdlr BuildHandler, opts ...server.HandlerOption) error
func RegisterBuildServer ¶
func RegisterBuildServer(s *grpc.Server, srv BuildServer)
Types ¶
type BuildClient ¶
type BuildClient interface {
Build(ctx context.Context, opts ...grpc.CallOption) (Build_BuildClient, error)
}
BuildClient is the client API for Build service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBuildClient ¶
func NewBuildClient(cc *grpc.ClientConn) BuildClient
type BuildHandler ¶
type BuildHandler interface {
Build(context.Context, Build_BuildStream) error
}
type BuildRequest ¶
type BuildRequest struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Options *Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuildRequest) Descriptor ¶
func (*BuildRequest) Descriptor() ([]byte, []int)
func (*BuildRequest) GetData ¶
func (m *BuildRequest) GetData() []byte
func (*BuildRequest) GetOptions ¶
func (m *BuildRequest) GetOptions() *Options
func (*BuildRequest) ProtoMessage ¶
func (*BuildRequest) ProtoMessage()
func (*BuildRequest) Reset ¶
func (m *BuildRequest) Reset()
func (*BuildRequest) String ¶
func (m *BuildRequest) String() string
func (*BuildRequest) XXX_DiscardUnknown ¶
func (m *BuildRequest) XXX_DiscardUnknown()
func (*BuildRequest) XXX_Marshal ¶
func (m *BuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildRequest) XXX_Merge ¶
func (m *BuildRequest) XXX_Merge(src proto.Message)
func (*BuildRequest) XXX_Size ¶
func (m *BuildRequest) XXX_Size() int
func (*BuildRequest) XXX_Unmarshal ¶
func (m *BuildRequest) XXX_Unmarshal(b []byte) error
type BuildServer ¶
type BuildServer interface {
Build(Build_BuildServer) error
}
BuildServer is the server API for Build service.
type BuildService ¶
type BuildService interface {
Build(ctx context.Context, opts ...client.CallOption) (Build_BuildService, error)
}
func NewBuildService ¶
func NewBuildService(name string, c client.Client) BuildService
type Build_BuildClient ¶
type Build_BuildClient interface { Send(*BuildRequest) error Recv() (*Result, error) grpc.ClientStream }
type Build_BuildServer ¶
type Build_BuildServer interface { Send(*Result) error Recv() (*BuildRequest, error) grpc.ServerStream }
type Build_BuildService ¶
type Build_BuildStream ¶
type Options ¶
type Options struct { Archive string `protobuf:"bytes,1,opt,name=archive,proto3" json:"archive,omitempty"` Entrypoint string `protobuf:"bytes,2,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Options) Descriptor ¶
func (*Options) GetArchive ¶
func (*Options) GetEntrypoint ¶
func (*Options) ProtoMessage ¶
func (*Options) ProtoMessage()
func (*Options) XXX_DiscardUnknown ¶
func (m *Options) XXX_DiscardUnknown()
func (*Options) XXX_Marshal ¶
func (*Options) XXX_Unmarshal ¶
type Result ¶
type Result struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Result) Descriptor ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) XXX_DiscardUnknown ¶
func (m *Result) XXX_DiscardUnknown()
func (*Result) XXX_Marshal ¶
func (*Result) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.