package stack
import "github.com/moby/buildkit/util/stack"
Index ¶
- func Enable(err error) error
- func Formatter(err error) fmt.Formatter
- func Helper()
- func SetVersionInfo(v, r string)
- func Wrap(err error, s Stack) error
- type Frame
- func (*Frame) Descriptor() ([]byte, []int)
- func (m *Frame) GetFile() string
- func (m *Frame) GetLine() int32
- func (m *Frame) GetName() string
- func (*Frame) ProtoMessage()
- func (m *Frame) Reset()
- func (m *Frame) String() string
- func (m *Frame) XXX_DiscardUnknown()
- func (m *Frame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Frame) XXX_Merge(src proto.Message)
- func (m *Frame) XXX_Size() int
- func (m *Frame) XXX_Unmarshal(b []byte) error
- type Stack
- func Traces(err error) []*Stack
- func (*Stack) Descriptor() ([]byte, []int)
- func (m *Stack) GetCmdline() []string
- func (m *Stack) GetFrames() []*Frame
- func (m *Stack) GetPid() int32
- func (m *Stack) GetRevision() string
- func (m *Stack) GetVersion() string
- func (*Stack) ProtoMessage()
- func (m *Stack) Reset()
- func (m *Stack) String() string
- func (m *Stack) XXX_DiscardUnknown()
- func (m *Stack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stack) XXX_Merge(src proto.Message)
- func (m *Stack) XXX_Size() int
- func (m *Stack) XXX_Unmarshal(b []byte) error
Functions ¶
func Enable ¶
func Formatter ¶
func Helper ¶
func Helper()
func SetVersionInfo ¶
func SetVersionInfo(v, r string)
func Wrap ¶
Types ¶
type Frame ¶
type Frame struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` File string `protobuf:"bytes,2,opt,name=File,proto3" json:"File,omitempty"` Line int32 `protobuf:"varint,3,opt,name=Line,proto3" json:"Line,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Frame) Descriptor ¶
func (*Frame) GetFile ¶
func (*Frame) GetLine ¶
func (*Frame) GetName ¶
func (*Frame) ProtoMessage ¶
func (*Frame) ProtoMessage()
func (*Frame) Reset ¶
func (m *Frame) Reset()
func (*Frame) String ¶
func (*Frame) XXX_DiscardUnknown ¶
func (m *Frame) XXX_DiscardUnknown()
func (*Frame) XXX_Marshal ¶
func (*Frame) XXX_Merge ¶
func (*Frame) XXX_Size ¶
func (*Frame) XXX_Unmarshal ¶
type Stack ¶
type Stack struct { Frames []*Frame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"` Cmdline []string `protobuf:"bytes,2,rep,name=cmdline,proto3" json:"cmdline,omitempty"` Pid int32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Revision string `protobuf:"bytes,5,opt,name=revision,proto3" json:"revision,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func Traces ¶
func (*Stack) Descriptor ¶
func (*Stack) GetCmdline ¶
func (*Stack) GetFrames ¶
func (*Stack) GetPid ¶
func (*Stack) GetRevision ¶
func (*Stack) GetVersion ¶
func (*Stack) ProtoMessage ¶
func (*Stack) ProtoMessage()
func (*Stack) Reset ¶
func (m *Stack) Reset()
func (*Stack) String ¶
func (*Stack) XXX_DiscardUnknown ¶
func (m *Stack) XXX_DiscardUnknown()
func (*Stack) XXX_Marshal ¶
func (*Stack) XXX_Merge ¶
func (*Stack) XXX_Size ¶
func (*Stack) XXX_Unmarshal ¶
Source Files ¶
generate.go stack.go stack.pb.go
- Version
- v0.10.6
- Published
- Nov 10, 2022
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 12 hours ago –
Tools for package owners.