Documentation
¶
Overview ¶
Package moby_buildkit_v1_frontend is a generated protocol buffer package.
It is generated from these files:
gateway.proto
It has these top-level messages:
ResolveImageConfigRequest ResolveImageConfigResponse SolveRequest SolveResponse ReadFileRequest FileRange ReadFileResponse PingRequest PongResponse
Index ¶
- Variables
- func RegisterLLBBridgeServer(s *grpc.Server, srv LLBBridgeServer)
- type FileRange
- func (*FileRange) Descriptor() ([]byte, []int)
- func (m *FileRange) GetLength() int64
- func (m *FileRange) GetOffset() int64
- func (m *FileRange) Marshal() (dAtA []byte, err error)
- func (m *FileRange) MarshalTo(dAtA []byte) (int, error)
- func (*FileRange) ProtoMessage()
- func (m *FileRange) Reset()
- func (m *FileRange) Size() (n int)
- func (m *FileRange) String() string
- func (m *FileRange) Unmarshal(dAtA []byte) error
- type LLBBridgeClient
- type LLBBridgeServer
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)
- func (m *PingRequest) Marshal() (dAtA []byte, err error)
- func (m *PingRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PingRequest) ProtoMessage()
- func (m *PingRequest) Reset()
- func (m *PingRequest) Size() (n int)
- func (m *PingRequest) String() string
- func (m *PingRequest) Unmarshal(dAtA []byte) error
- type PongResponse
- func (*PongResponse) Descriptor() ([]byte, []int)
- func (m *PongResponse) Marshal() (dAtA []byte, err error)
- func (m *PongResponse) MarshalTo(dAtA []byte) (int, error)
- func (*PongResponse) ProtoMessage()
- func (m *PongResponse) Reset()
- func (m *PongResponse) Size() (n int)
- func (m *PongResponse) String() string
- func (m *PongResponse) Unmarshal(dAtA []byte) error
- type ReadFileRequest
- func (*ReadFileRequest) Descriptor() ([]byte, []int)
- func (m *ReadFileRequest) GetFilePath() string
- func (m *ReadFileRequest) GetRange() *FileRange
- func (m *ReadFileRequest) GetRef() string
- func (m *ReadFileRequest) Marshal() (dAtA []byte, err error)
- func (m *ReadFileRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ReadFileRequest) ProtoMessage()
- func (m *ReadFileRequest) Reset()
- func (m *ReadFileRequest) Size() (n int)
- func (m *ReadFileRequest) String() string
- func (m *ReadFileRequest) Unmarshal(dAtA []byte) error
- type ReadFileResponse
- func (*ReadFileResponse) Descriptor() ([]byte, []int)
- func (m *ReadFileResponse) GetData() []byte
- func (m *ReadFileResponse) Marshal() (dAtA []byte, err error)
- func (m *ReadFileResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ReadFileResponse) ProtoMessage()
- func (m *ReadFileResponse) Reset()
- func (m *ReadFileResponse) Size() (n int)
- func (m *ReadFileResponse) String() string
- func (m *ReadFileResponse) Unmarshal(dAtA []byte) error
- type ResolveImageConfigRequest
- func (*ResolveImageConfigRequest) Descriptor() ([]byte, []int)
- func (m *ResolveImageConfigRequest) GetRef() string
- func (m *ResolveImageConfigRequest) Marshal() (dAtA []byte, err error)
- func (m *ResolveImageConfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ResolveImageConfigRequest) ProtoMessage()
- func (m *ResolveImageConfigRequest) Reset()
- func (m *ResolveImageConfigRequest) Size() (n int)
- func (m *ResolveImageConfigRequest) String() string
- func (m *ResolveImageConfigRequest) Unmarshal(dAtA []byte) error
- type ResolveImageConfigResponse
- func (*ResolveImageConfigResponse) Descriptor() ([]byte, []int)
- func (m *ResolveImageConfigResponse) GetConfig() []byte
- func (m *ResolveImageConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *ResolveImageConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ResolveImageConfigResponse) ProtoMessage()
- func (m *ResolveImageConfigResponse) Reset()
- func (m *ResolveImageConfigResponse) Size() (n int)
- func (m *ResolveImageConfigResponse) String() string
- func (m *ResolveImageConfigResponse) Unmarshal(dAtA []byte) error
- type SolveRequest
- func (*SolveRequest) Descriptor() ([]byte, []int)
- func (m *SolveRequest) GetDefinition() *pb.Definition
- func (m *SolveRequest) GetExporterAttr() []byte
- func (m *SolveRequest) GetFinal() bool
- func (m *SolveRequest) GetFrontend() string
- func (m *SolveRequest) GetFrontendOpt() map[string]string
- func (m *SolveRequest) GetImportCacheRefs() []string
- func (m *SolveRequest) Marshal() (dAtA []byte, err error)
- func (m *SolveRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SolveRequest) ProtoMessage()
- func (m *SolveRequest) Reset()
- func (m *SolveRequest) Size() (n int)
- func (m *SolveRequest) String() string
- func (m *SolveRequest) Unmarshal(dAtA []byte) error
- type SolveResponse
- func (*SolveResponse) Descriptor() ([]byte, []int)
- func (m *SolveResponse) GetExporterAttr() []byte
- func (m *SolveResponse) GetRef() string
- func (m *SolveResponse) Marshal() (dAtA []byte, err error)
- func (m *SolveResponse) MarshalTo(dAtA []byte) (int, error)
- func (*SolveResponse) ProtoMessage()
- func (m *SolveResponse) Reset()
- func (m *SolveResponse) Size() (n int)
- func (m *SolveResponse) String() string
- func (m *SolveResponse) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthGateway = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGateway = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterLLBBridgeServer ¶
func RegisterLLBBridgeServer(s *grpc.Server, srv LLBBridgeServer)
Types ¶
type FileRange ¶
type FileRange struct { Offset int64 `protobuf:"varint,1,opt,name=Offset,proto3" json:"Offset,omitempty"` Length int64 `protobuf:"varint,2,opt,name=Length,proto3" json:"Length,omitempty"` }
func (*FileRange) Descriptor ¶
func (*FileRange) ProtoMessage ¶
func (*FileRange) ProtoMessage()
type LLBBridgeClient ¶
type LLBBridgeClient interface { ResolveImageConfig(ctx context.Context, in *ResolveImageConfigRequest, opts ...grpc.CallOption) (*ResolveImageConfigResponse, error) Solve(ctx context.Context, in *SolveRequest, opts ...grpc.CallOption) (*SolveResponse, error) ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PongResponse, error) }
func NewLLBBridgeClient ¶
func NewLLBBridgeClient(cc *grpc.ClientConn) LLBBridgeClient
type LLBBridgeServer ¶
type LLBBridgeServer interface { ResolveImageConfig(context.Context, *ResolveImageConfigRequest) (*ResolveImageConfigResponse, error) Solve(context.Context, *SolveRequest) (*SolveResponse, error) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error) Ping(context.Context, *PingRequest) (*PongResponse, error) }
type PingRequest ¶
type PingRequest struct { }
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) Marshal ¶
func (m *PingRequest) Marshal() (dAtA []byte, err error)
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) Size ¶
func (m *PingRequest) Size() (n int)
func (*PingRequest) String ¶
func (m *PingRequest) String() string
func (*PingRequest) Unmarshal ¶
func (m *PingRequest) Unmarshal(dAtA []byte) error
type PongResponse ¶
type PongResponse struct { }
func (*PongResponse) Descriptor ¶
func (*PongResponse) Descriptor() ([]byte, []int)
func (*PongResponse) Marshal ¶
func (m *PongResponse) Marshal() (dAtA []byte, err error)
func (*PongResponse) ProtoMessage ¶
func (*PongResponse) ProtoMessage()
func (*PongResponse) Reset ¶
func (m *PongResponse) Reset()
func (*PongResponse) Size ¶
func (m *PongResponse) Size() (n int)
func (*PongResponse) String ¶
func (m *PongResponse) String() string
func (*PongResponse) Unmarshal ¶
func (m *PongResponse) Unmarshal(dAtA []byte) error
type ReadFileRequest ¶
type ReadFileRequest struct { Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` FilePath string `protobuf:"bytes,2,opt,name=FilePath,proto3" json:"FilePath,omitempty"` Range *FileRange `protobuf:"bytes,3,opt,name=Range" json:"Range,omitempty"` }
func (*ReadFileRequest) Descriptor ¶
func (*ReadFileRequest) Descriptor() ([]byte, []int)
func (*ReadFileRequest) GetFilePath ¶
func (m *ReadFileRequest) GetFilePath() string
func (*ReadFileRequest) GetRange ¶
func (m *ReadFileRequest) GetRange() *FileRange
func (*ReadFileRequest) GetRef ¶
func (m *ReadFileRequest) GetRef() string
func (*ReadFileRequest) Marshal ¶
func (m *ReadFileRequest) Marshal() (dAtA []byte, err error)
func (*ReadFileRequest) ProtoMessage ¶
func (*ReadFileRequest) ProtoMessage()
func (*ReadFileRequest) Reset ¶
func (m *ReadFileRequest) Reset()
func (*ReadFileRequest) Size ¶
func (m *ReadFileRequest) Size() (n int)
func (*ReadFileRequest) String ¶
func (m *ReadFileRequest) String() string
func (*ReadFileRequest) Unmarshal ¶
func (m *ReadFileRequest) Unmarshal(dAtA []byte) error
type ReadFileResponse ¶
type ReadFileResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
}
func (*ReadFileResponse) Descriptor ¶
func (*ReadFileResponse) Descriptor() ([]byte, []int)
func (*ReadFileResponse) GetData ¶
func (m *ReadFileResponse) GetData() []byte
func (*ReadFileResponse) Marshal ¶
func (m *ReadFileResponse) Marshal() (dAtA []byte, err error)
func (*ReadFileResponse) ProtoMessage ¶
func (*ReadFileResponse) ProtoMessage()
func (*ReadFileResponse) Reset ¶
func (m *ReadFileResponse) Reset()
func (*ReadFileResponse) Size ¶
func (m *ReadFileResponse) Size() (n int)
func (*ReadFileResponse) String ¶
func (m *ReadFileResponse) String() string
func (*ReadFileResponse) Unmarshal ¶
func (m *ReadFileResponse) Unmarshal(dAtA []byte) error
type ResolveImageConfigRequest ¶
type ResolveImageConfigRequest struct {
Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"`
}
func (*ResolveImageConfigRequest) Descriptor ¶
func (*ResolveImageConfigRequest) Descriptor() ([]byte, []int)
func (*ResolveImageConfigRequest) GetRef ¶
func (m *ResolveImageConfigRequest) GetRef() string
func (*ResolveImageConfigRequest) Marshal ¶
func (m *ResolveImageConfigRequest) Marshal() (dAtA []byte, err error)
func (*ResolveImageConfigRequest) MarshalTo ¶
func (m *ResolveImageConfigRequest) MarshalTo(dAtA []byte) (int, error)
func (*ResolveImageConfigRequest) ProtoMessage ¶
func (*ResolveImageConfigRequest) ProtoMessage()
func (*ResolveImageConfigRequest) Reset ¶
func (m *ResolveImageConfigRequest) Reset()
func (*ResolveImageConfigRequest) Size ¶
func (m *ResolveImageConfigRequest) Size() (n int)
func (*ResolveImageConfigRequest) String ¶
func (m *ResolveImageConfigRequest) String() string
func (*ResolveImageConfigRequest) Unmarshal ¶
func (m *ResolveImageConfigRequest) Unmarshal(dAtA []byte) error
type ResolveImageConfigResponse ¶
type ResolveImageConfigResponse struct { Digest github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=Digest,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"Digest"` Config []byte `protobuf:"bytes,2,opt,name=Config,proto3" json:"Config,omitempty"` }
func (*ResolveImageConfigResponse) Descriptor ¶
func (*ResolveImageConfigResponse) Descriptor() ([]byte, []int)
func (*ResolveImageConfigResponse) GetConfig ¶
func (m *ResolveImageConfigResponse) GetConfig() []byte
func (*ResolveImageConfigResponse) Marshal ¶
func (m *ResolveImageConfigResponse) Marshal() (dAtA []byte, err error)
func (*ResolveImageConfigResponse) MarshalTo ¶
func (m *ResolveImageConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*ResolveImageConfigResponse) ProtoMessage ¶
func (*ResolveImageConfigResponse) ProtoMessage()
func (*ResolveImageConfigResponse) Reset ¶
func (m *ResolveImageConfigResponse) Reset()
func (*ResolveImageConfigResponse) Size ¶
func (m *ResolveImageConfigResponse) Size() (n int)
func (*ResolveImageConfigResponse) String ¶
func (m *ResolveImageConfigResponse) String() string
func (*ResolveImageConfigResponse) Unmarshal ¶
func (m *ResolveImageConfigResponse) Unmarshal(dAtA []byte) error
type SolveRequest ¶
type SolveRequest struct { Definition *pb.Definition `protobuf:"bytes,1,opt,name=Definition" json:"Definition,omitempty"` Frontend string `protobuf:"bytes,2,opt,name=Frontend,proto3" json:"Frontend,omitempty"` FrontendOpt map[string]string `` /* 156-byte string literal not displayed */ ImportCacheRefs []string `protobuf:"bytes,4,rep,name=ImportCacheRefs" json:"ImportCacheRefs,omitempty"` Final bool `protobuf:"varint,10,opt,name=Final,proto3" json:"Final,omitempty"` ExporterAttr []byte `protobuf:"bytes,11,opt,name=ExporterAttr,proto3" json:"ExporterAttr,omitempty"` }
func (*SolveRequest) Descriptor ¶
func (*SolveRequest) Descriptor() ([]byte, []int)
func (*SolveRequest) GetDefinition ¶
func (m *SolveRequest) GetDefinition() *pb.Definition
func (*SolveRequest) GetExporterAttr ¶
func (m *SolveRequest) GetExporterAttr() []byte
func (*SolveRequest) GetFinal ¶
func (m *SolveRequest) GetFinal() bool
func (*SolveRequest) GetFrontend ¶
func (m *SolveRequest) GetFrontend() string
func (*SolveRequest) GetFrontendOpt ¶
func (m *SolveRequest) GetFrontendOpt() map[string]string
func (*SolveRequest) GetImportCacheRefs ¶
func (m *SolveRequest) GetImportCacheRefs() []string
func (*SolveRequest) Marshal ¶
func (m *SolveRequest) Marshal() (dAtA []byte, err error)
func (*SolveRequest) ProtoMessage ¶
func (*SolveRequest) ProtoMessage()
func (*SolveRequest) Reset ¶
func (m *SolveRequest) Reset()
func (*SolveRequest) Size ¶
func (m *SolveRequest) Size() (n int)
func (*SolveRequest) String ¶
func (m *SolveRequest) String() string
func (*SolveRequest) Unmarshal ¶
func (m *SolveRequest) Unmarshal(dAtA []byte) error
type SolveResponse ¶
type SolveResponse struct { Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` ExporterAttr []byte `protobuf:"bytes,2,opt,name=ExporterAttr,proto3" json:"ExporterAttr,omitempty"` }
func (*SolveResponse) Descriptor ¶
func (*SolveResponse) Descriptor() ([]byte, []int)
func (*SolveResponse) GetExporterAttr ¶
func (m *SolveResponse) GetExporterAttr() []byte
func (*SolveResponse) GetRef ¶
func (m *SolveResponse) GetRef() string
func (*SolveResponse) Marshal ¶
func (m *SolveResponse) Marshal() (dAtA []byte, err error)
func (*SolveResponse) ProtoMessage ¶
func (*SolveResponse) ProtoMessage()
func (*SolveResponse) Reset ¶
func (m *SolveResponse) Reset()
func (*SolveResponse) Size ¶
func (m *SolveResponse) Size() (n int)
func (*SolveResponse) String ¶
func (m *SolveResponse) String() string
func (*SolveResponse) Unmarshal ¶
func (m *SolveResponse) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.