Documentation ¶
Index ¶
- Variables
- func IsCanceled(ctx context.Context, err error) bool
- func NewUnknownJobError(id string) error
- func NewUnsupportedFrontendCapError(name string) error
- func NewUnsupportedSubrequestError(name string) error
- func WithOp(err error, anyOp interface{}, opDesc map[string]string) error
- func WithSolveError(err error, subject IsSolve_Subject, inputIDs, mountIDs []string) error
- func WithSource(err error, src *Source) error
- func WrapVertex(err error, dgst digest.Digest) error
- type ContentCache
- func (m *ContentCache) CloneMessageVT() proto.Message
- func (m *ContentCache) CloneVT() *ContentCache
- func (*ContentCache) Descriptor() ([]byte, []int)deprecated
- func (this *ContentCache) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ContentCache) EqualVT(that *ContentCache) bool
- func (x *ContentCache) GetIndex() int64
- func (m *ContentCache) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ContentCache) MarshalToVT(dAtA []byte) (int, error)
- func (m *ContentCache) MarshalVT() (dAtA []byte, err error)
- func (*ContentCache) ProtoMessage()
- func (x *ContentCache) ProtoReflect() protoreflect.Message
- func (x *ContentCache) Reset()
- func (m *ContentCache) SizeVT() (n int)
- func (x *ContentCache) String() string
- func (m *ContentCache) UnmarshalVT(dAtA []byte) error
- type ErrorSource
- type FileAction
- func (m *FileAction) CloneMessageVT() proto.Message
- func (m *FileAction) CloneVT() *FileAction
- func (*FileAction) Descriptor() ([]byte, []int)deprecated
- func (this *FileAction) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FileAction) EqualVT(that *FileAction) bool
- func (x *FileAction) GetIndex() int64
- func (m *FileAction) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FileAction) MarshalToVT(dAtA []byte) (int, error)
- func (m *FileAction) MarshalVT() (dAtA []byte, err error)
- func (*FileAction) ProtoMessage()
- func (x *FileAction) ProtoReflect() protoreflect.Message
- func (x *FileAction) Reset()
- func (m *FileAction) SizeVT() (n int)
- func (x *FileAction) String() string
- func (m *FileAction) UnmarshalVT(dAtA []byte) error
- type FrontendCap
- func (m *FrontendCap) CloneMessageVT() proto.Message
- func (m *FrontendCap) CloneVT() *FrontendCap
- func (*FrontendCap) Descriptor() ([]byte, []int)deprecated
- func (this *FrontendCap) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FrontendCap) EqualVT(that *FrontendCap) bool
- func (x *FrontendCap) GetName() string
- func (m *FrontendCap) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FrontendCap) MarshalToVT(dAtA []byte) (int, error)
- func (m *FrontendCap) MarshalVT() (dAtA []byte, err error)
- func (*FrontendCap) ProtoMessage()
- func (x *FrontendCap) ProtoReflect() protoreflect.Message
- func (x *FrontendCap) Reset()
- func (m *FrontendCap) SizeVT() (n int)
- func (x *FrontendCap) String() string
- func (m *FrontendCap) UnmarshalVT(dAtA []byte) error
- func (v *FrontendCap) WrapError(err error) error
- type IsSolve_Subject
- type OpError
- type Solve
- func (m *Solve) CloneMessageVT() proto.Message
- func (m *Solve) CloneVT() *Solve
- func (*Solve) Descriptor() ([]byte, []int)deprecated
- func (this *Solve) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Solve) EqualVT(that *Solve) bool
- func (x *Solve) GetCache() *ContentCache
- func (x *Solve) GetDescription() map[string]string
- func (x *Solve) GetFile() *FileAction
- func (x *Solve) GetInputIDs() []string
- func (x *Solve) GetMountIDs() []string
- func (x *Solve) GetOp() *pb.Op
- func (m *Solve) GetSubject() isSolve_Subject
- func (v *Solve) MarshalJSON() ([]byte, error)
- func (m *Solve) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Solve) MarshalToVT(dAtA []byte) (int, error)
- func (m *Solve) MarshalVT() (dAtA []byte, err error)
- func (*Solve) ProtoMessage()
- func (x *Solve) ProtoReflect() protoreflect.Message
- func (x *Solve) Reset()
- func (m *Solve) SizeVT() (n int)
- func (x *Solve) String() string
- func (v *Solve) UnmarshalJSON(b []byte) error
- func (m *Solve) UnmarshalVT(dAtA []byte) error
- func (v *Solve) WrapError(err error) error
- type SolveError
- type Solve_Cache
- type Solve_File
- type Source
- func (m *Source) CloneMessageVT() proto.Message
- func (m *Source) CloneVT() *Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (this *Source) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Source) EqualVT(that *Source) bool
- func (x *Source) GetInfo() *pb.SourceInfo
- func (x *Source) GetRanges() []*pb.Range
- func (m *Source) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Source) MarshalToVT(dAtA []byte) (int, error)
- func (m *Source) MarshalVT() (dAtA []byte, err error)
- func (s *Source) Print(w io.Writer) error
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (m *Source) SizeVT() (n int)
- func (x *Source) String() string
- func (m *Source) UnmarshalVT(dAtA []byte) error
- func (s *Source) WrapError(err error) error
- type Subrequest
- func (m *Subrequest) CloneMessageVT() proto.Message
- func (m *Subrequest) CloneVT() *Subrequest
- func (*Subrequest) Descriptor() ([]byte, []int)deprecated
- func (this *Subrequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Subrequest) EqualVT(that *Subrequest) bool
- func (x *Subrequest) GetName() string
- func (m *Subrequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Subrequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *Subrequest) MarshalVT() (dAtA []byte, err error)
- func (*Subrequest) ProtoMessage()
- func (x *Subrequest) ProtoReflect() protoreflect.Message
- func (x *Subrequest) Reset()
- func (m *Subrequest) SizeVT() (n int)
- func (x *Subrequest) String() string
- func (m *Subrequest) UnmarshalVT(dAtA []byte) error
- func (v *Subrequest) WrapError(err error) error
- type UnknownJobError
- type UnsupportedFrontendCapError
- type UnsupportedSubrequestError
- type Vertex
- func (m *Vertex) CloneMessageVT() proto.Message
- func (m *Vertex) CloneVT() *Vertex
- func (*Vertex) Descriptor() ([]byte, []int)deprecated
- func (this *Vertex) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Vertex) EqualVT(that *Vertex) bool
- func (x *Vertex) GetDigest() string
- func (m *Vertex) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Vertex) MarshalToVT(dAtA []byte) (int, error)
- func (m *Vertex) MarshalVT() (dAtA []byte, err error)
- func (*Vertex) ProtoMessage()
- func (x *Vertex) ProtoReflect() protoreflect.Message
- func (x *Vertex) Reset()
- func (m *Vertex) SizeVT() (n int)
- func (x *Vertex) String() string
- func (m *Vertex) UnmarshalVT(dAtA []byte) error
- func (v *Vertex) WrapError(err error) error
- type VertexError
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_moby_buildkit_solver_errdefs_errdefs_proto protoreflect.FileDescriptor
Functions ¶
func NewUnknownJobError ¶ added in v0.13.0
func WithSolveError ¶
func WithSolveError(err error, subject IsSolve_Subject, inputIDs, mountIDs []string) error
func WithSource ¶
Types ¶
type ContentCache ¶
type ContentCache struct { // Original index of result that failed the slow cache calculation. Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*ContentCache) CloneMessageVT ¶ added in v0.17.0
func (m *ContentCache) CloneMessageVT() proto.Message
func (*ContentCache) CloneVT ¶ added in v0.17.0
func (m *ContentCache) CloneVT() *ContentCache
func (*ContentCache) Descriptor
deprecated
func (*ContentCache) Descriptor() ([]byte, []int)
Deprecated: Use ContentCache.ProtoReflect.Descriptor instead.
func (*ContentCache) EqualMessageVT ¶ added in v0.17.0
func (this *ContentCache) EqualMessageVT(thatMsg proto.Message) bool
func (*ContentCache) EqualVT ¶ added in v0.17.0
func (this *ContentCache) EqualVT(that *ContentCache) bool
func (*ContentCache) GetIndex ¶
func (x *ContentCache) GetIndex() int64
func (*ContentCache) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *ContentCache) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ContentCache) MarshalToVT ¶ added in v0.17.0
func (m *ContentCache) MarshalToVT(dAtA []byte) (int, error)
func (*ContentCache) MarshalVT ¶ added in v0.17.0
func (m *ContentCache) MarshalVT() (dAtA []byte, err error)
func (*ContentCache) ProtoMessage ¶
func (*ContentCache) ProtoMessage()
func (*ContentCache) ProtoReflect ¶ added in v0.17.0
func (x *ContentCache) ProtoReflect() protoreflect.Message
func (*ContentCache) Reset ¶
func (x *ContentCache) Reset()
func (*ContentCache) SizeVT ¶ added in v0.17.0
func (m *ContentCache) SizeVT() (n int)
func (*ContentCache) String ¶
func (x *ContentCache) String() string
func (*ContentCache) UnmarshalVT ¶ added in v0.17.0
func (m *ContentCache) UnmarshalVT(dAtA []byte) error
type ErrorSource ¶
type ErrorSource struct { *Source // contains filtered or unexported fields }
func (*ErrorSource) ToProto ¶
func (e *ErrorSource) ToProto() grpcerrors.TypedErrorProto
func (*ErrorSource) Unwrap ¶
func (e *ErrorSource) Unwrap() error
type FileAction ¶
type FileAction struct { // Index of the file action that failed the exec. Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*FileAction) CloneMessageVT ¶ added in v0.17.0
func (m *FileAction) CloneMessageVT() proto.Message
func (*FileAction) CloneVT ¶ added in v0.17.0
func (m *FileAction) CloneVT() *FileAction
func (*FileAction) Descriptor
deprecated
func (*FileAction) Descriptor() ([]byte, []int)
Deprecated: Use FileAction.ProtoReflect.Descriptor instead.
func (*FileAction) EqualMessageVT ¶ added in v0.17.0
func (this *FileAction) EqualMessageVT(thatMsg proto.Message) bool
func (*FileAction) EqualVT ¶ added in v0.17.0
func (this *FileAction) EqualVT(that *FileAction) bool
func (*FileAction) GetIndex ¶
func (x *FileAction) GetIndex() int64
func (*FileAction) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *FileAction) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FileAction) MarshalToVT ¶ added in v0.17.0
func (m *FileAction) MarshalToVT(dAtA []byte) (int, error)
func (*FileAction) MarshalVT ¶ added in v0.17.0
func (m *FileAction) MarshalVT() (dAtA []byte, err error)
func (*FileAction) ProtoMessage ¶
func (*FileAction) ProtoMessage()
func (*FileAction) ProtoReflect ¶ added in v0.17.0
func (x *FileAction) ProtoReflect() protoreflect.Message
func (*FileAction) Reset ¶
func (x *FileAction) Reset()
func (*FileAction) SizeVT ¶ added in v0.17.0
func (m *FileAction) SizeVT() (n int)
func (*FileAction) String ¶
func (x *FileAction) String() string
func (*FileAction) UnmarshalVT ¶ added in v0.17.0
func (m *FileAction) UnmarshalVT(dAtA []byte) error
type FrontendCap ¶
type FrontendCap struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*FrontendCap) CloneMessageVT ¶ added in v0.17.0
func (m *FrontendCap) CloneMessageVT() proto.Message
func (*FrontendCap) CloneVT ¶ added in v0.17.0
func (m *FrontendCap) CloneVT() *FrontendCap
func (*FrontendCap) Descriptor
deprecated
func (*FrontendCap) Descriptor() ([]byte, []int)
Deprecated: Use FrontendCap.ProtoReflect.Descriptor instead.
func (*FrontendCap) EqualMessageVT ¶ added in v0.17.0
func (this *FrontendCap) EqualMessageVT(thatMsg proto.Message) bool
func (*FrontendCap) EqualVT ¶ added in v0.17.0
func (this *FrontendCap) EqualVT(that *FrontendCap) bool
func (*FrontendCap) GetName ¶
func (x *FrontendCap) GetName() string
func (*FrontendCap) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *FrontendCap) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FrontendCap) MarshalToVT ¶ added in v0.17.0
func (m *FrontendCap) MarshalToVT(dAtA []byte) (int, error)
func (*FrontendCap) MarshalVT ¶ added in v0.17.0
func (m *FrontendCap) MarshalVT() (dAtA []byte, err error)
func (*FrontendCap) ProtoMessage ¶
func (*FrontendCap) ProtoMessage()
func (*FrontendCap) ProtoReflect ¶ added in v0.17.0
func (x *FrontendCap) ProtoReflect() protoreflect.Message
func (*FrontendCap) Reset ¶
func (x *FrontendCap) Reset()
func (*FrontendCap) SizeVT ¶ added in v0.17.0
func (m *FrontendCap) SizeVT() (n int)
func (*FrontendCap) String ¶
func (x *FrontendCap) String() string
func (*FrontendCap) UnmarshalVT ¶ added in v0.17.0
func (m *FrontendCap) UnmarshalVT(dAtA []byte) error
func (*FrontendCap) WrapError ¶
func (v *FrontendCap) WrapError(err error) error
type IsSolve_Subject ¶
type IsSolve_Subject isSolve_Subject
type OpError ¶
type Solve ¶
type Solve struct { InputIDs []string `protobuf:"bytes,1,rep,name=inputIDs,proto3" json:"inputIDs,omitempty"` MountIDs []string `protobuf:"bytes,2,rep,name=mountIDs,proto3" json:"mountIDs,omitempty"` Op *pb.Op `protobuf:"bytes,3,opt,name=op,proto3" json:"op,omitempty"` // Types that are assignable to Subject: // // *Solve_File // *Solve_Cache Subject isSolve_Subject `protobuf_oneof:"subject"` Description map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Solve) CloneMessageVT ¶ added in v0.17.0
func (*Solve) Descriptor
deprecated
func (*Solve) EqualMessageVT ¶ added in v0.17.0
func (*Solve) GetCache ¶
func (x *Solve) GetCache() *ContentCache
func (*Solve) GetDescription ¶ added in v0.15.0
func (*Solve) GetFile ¶
func (x *Solve) GetFile() *FileAction
func (*Solve) GetInputIDs ¶
func (*Solve) GetMountIDs ¶
func (*Solve) GetSubject ¶
func (m *Solve) GetSubject() isSolve_Subject
func (*Solve) MarshalJSON ¶
func (*Solve) MarshalToSizedBufferVT ¶ added in v0.17.0
func (*Solve) ProtoMessage ¶
func (*Solve) ProtoMessage()
func (*Solve) ProtoReflect ¶ added in v0.17.0
func (x *Solve) ProtoReflect() protoreflect.Message
func (*Solve) UnmarshalJSON ¶
func (*Solve) UnmarshalVT ¶ added in v0.17.0
type SolveError ¶
SolveError will be returned when an error is encountered during a solve that has an exec op.
func (*SolveError) Error ¶
func (e *SolveError) Error() string
func (*SolveError) ToProto ¶
func (e *SolveError) ToProto() grpcerrors.TypedErrorProto
func (*SolveError) Unwrap ¶
func (e *SolveError) Unwrap() error
type Solve_Cache ¶
type Solve_Cache struct {
Cache *ContentCache `protobuf:"bytes,5,opt,name=cache,proto3,oneof"`
}
func (*Solve_Cache) CloneVT ¶ added in v0.17.0
func (m *Solve_Cache) CloneVT() isSolve_Subject
func (*Solve_Cache) EqualVT ¶ added in v0.17.0
func (this *Solve_Cache) EqualVT(thatIface isSolve_Subject) bool
func (*Solve_Cache) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *Solve_Cache) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Solve_Cache) MarshalToVT ¶ added in v0.17.0
func (m *Solve_Cache) MarshalToVT(dAtA []byte) (int, error)
func (*Solve_Cache) SizeVT ¶ added in v0.17.0
func (m *Solve_Cache) SizeVT() (n int)
type Solve_File ¶
type Solve_File struct {
File *FileAction `protobuf:"bytes,4,opt,name=file,proto3,oneof"`
}
func (*Solve_File) CloneVT ¶ added in v0.17.0
func (m *Solve_File) CloneVT() isSolve_Subject
func (*Solve_File) EqualVT ¶ added in v0.17.0
func (this *Solve_File) EqualVT(thatIface isSolve_Subject) bool
func (*Solve_File) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *Solve_File) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Solve_File) MarshalToVT ¶ added in v0.17.0
func (m *Solve_File) MarshalToVT(dAtA []byte) (int, error)
func (*Solve_File) SizeVT ¶ added in v0.17.0
func (m *Solve_File) SizeVT() (n int)
type Source ¶
type Source struct { Info *pb.SourceInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Ranges []*pb.Range `protobuf:"bytes,2,rep,name=ranges,proto3" json:"ranges,omitempty"` // contains filtered or unexported fields }
func (*Source) CloneMessageVT ¶ added in v0.17.0
func (*Source) Descriptor
deprecated
func (*Source) EqualMessageVT ¶ added in v0.17.0
func (*Source) GetInfo ¶
func (x *Source) GetInfo() *pb.SourceInfo
func (*Source) MarshalToSizedBufferVT ¶ added in v0.17.0
func (*Source) MarshalToVT ¶ added in v0.17.0
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶ added in v0.17.0
func (x *Source) ProtoReflect() protoreflect.Message
func (*Source) UnmarshalVT ¶ added in v0.17.0
type Subrequest ¶
type Subrequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Subrequest) CloneMessageVT ¶ added in v0.17.0
func (m *Subrequest) CloneMessageVT() proto.Message
func (*Subrequest) CloneVT ¶ added in v0.17.0
func (m *Subrequest) CloneVT() *Subrequest
func (*Subrequest) Descriptor
deprecated
func (*Subrequest) Descriptor() ([]byte, []int)
Deprecated: Use Subrequest.ProtoReflect.Descriptor instead.
func (*Subrequest) EqualMessageVT ¶ added in v0.17.0
func (this *Subrequest) EqualMessageVT(thatMsg proto.Message) bool
func (*Subrequest) EqualVT ¶ added in v0.17.0
func (this *Subrequest) EqualVT(that *Subrequest) bool
func (*Subrequest) GetName ¶
func (x *Subrequest) GetName() string
func (*Subrequest) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *Subrequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Subrequest) MarshalToVT ¶ added in v0.17.0
func (m *Subrequest) MarshalToVT(dAtA []byte) (int, error)
func (*Subrequest) MarshalVT ¶ added in v0.17.0
func (m *Subrequest) MarshalVT() (dAtA []byte, err error)
func (*Subrequest) ProtoMessage ¶
func (*Subrequest) ProtoMessage()
func (*Subrequest) ProtoReflect ¶ added in v0.17.0
func (x *Subrequest) ProtoReflect() protoreflect.Message
func (*Subrequest) Reset ¶
func (x *Subrequest) Reset()
func (*Subrequest) SizeVT ¶ added in v0.17.0
func (m *Subrequest) SizeVT() (n int)
func (*Subrequest) String ¶
func (x *Subrequest) String() string
func (*Subrequest) UnmarshalVT ¶ added in v0.17.0
func (m *Subrequest) UnmarshalVT(dAtA []byte) error
func (*Subrequest) WrapError ¶
func (v *Subrequest) WrapError(err error) error
type UnknownJobError ¶ added in v0.13.0
type UnknownJobError struct {
// contains filtered or unexported fields
}
func (*UnknownJobError) Code ¶ added in v0.13.0
func (e *UnknownJobError) Code() codes.Code
func (*UnknownJobError) Error ¶ added in v0.13.0
func (e *UnknownJobError) Error() string
type UnsupportedFrontendCapError ¶
type UnsupportedFrontendCapError struct { *FrontendCap // contains filtered or unexported fields }
func (*UnsupportedFrontendCapError) Error ¶
func (e *UnsupportedFrontendCapError) Error() string
func (*UnsupportedFrontendCapError) ToProto ¶
func (e *UnsupportedFrontendCapError) ToProto() grpcerrors.TypedErrorProto
func (*UnsupportedFrontendCapError) Unwrap ¶
func (e *UnsupportedFrontendCapError) Unwrap() error
type UnsupportedSubrequestError ¶
type UnsupportedSubrequestError struct { *Subrequest // contains filtered or unexported fields }
func (*UnsupportedSubrequestError) Error ¶
func (e *UnsupportedSubrequestError) Error() string
func (*UnsupportedSubrequestError) ToProto ¶
func (e *UnsupportedSubrequestError) ToProto() grpcerrors.TypedErrorProto
func (*UnsupportedSubrequestError) Unwrap ¶
func (e *UnsupportedSubrequestError) Unwrap() error
type Vertex ¶
type Vertex struct { Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*Vertex) CloneMessageVT ¶ added in v0.17.0
func (*Vertex) Descriptor
deprecated
func (*Vertex) EqualMessageVT ¶ added in v0.17.0
func (*Vertex) MarshalToSizedBufferVT ¶ added in v0.17.0
func (*Vertex) MarshalToVT ¶ added in v0.17.0
func (*Vertex) ProtoMessage ¶
func (*Vertex) ProtoMessage()
func (*Vertex) ProtoReflect ¶ added in v0.17.0
func (x *Vertex) ProtoReflect() protoreflect.Message
func (*Vertex) UnmarshalVT ¶ added in v0.17.0
type VertexError ¶
type VertexError struct { *Vertex // contains filtered or unexported fields }
func (*VertexError) ToProto ¶
func (e *VertexError) ToProto() grpcerrors.TypedErrorProto
func (*VertexError) Unwrap ¶
func (e *VertexError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.