stack

package
v0.17.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 15 Imported by: 33

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_moby_buildkit_util_stack_stack_proto protoreflect.FileDescriptor

Functions

func Enable

func Enable(err error) error

func Formatter

func Formatter(err error) fmt.Formatter

func Helper

func Helper()

func SetVersionInfo

func SetVersionInfo(v, r string)

func Wrap

func Wrap(err error, s *Stack) error

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"`
	// contains filtered or unexported fields
}

func (*Frame) CloneMessageVT

func (m *Frame) CloneMessageVT() proto.Message

func (*Frame) CloneVT

func (m *Frame) CloneVT() *Frame

func (*Frame) Descriptor deprecated

func (*Frame) Descriptor() ([]byte, []int)

Deprecated: Use Frame.ProtoReflect.Descriptor instead.

func (*Frame) Equal added in v0.16.0

func (a *Frame) Equal(b *Frame) bool

func (*Frame) EqualMessageVT

func (this *Frame) EqualMessageVT(thatMsg proto.Message) bool

func (*Frame) EqualVT

func (this *Frame) EqualVT(that *Frame) bool

func (*Frame) GetFile

func (x *Frame) GetFile() string

func (*Frame) GetLine

func (x *Frame) GetLine() int32

func (*Frame) GetName

func (x *Frame) GetName() string

func (*Frame) MarshalToSizedBufferVT

func (m *Frame) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Frame) MarshalToVT

func (m *Frame) MarshalToVT(dAtA []byte) (int, error)

func (*Frame) MarshalVT

func (m *Frame) MarshalVT() (dAtA []byte, err error)

func (*Frame) ProtoMessage

func (*Frame) ProtoMessage()

func (*Frame) ProtoReflect added in v0.11.0

func (x *Frame) ProtoReflect() protoreflect.Message

func (*Frame) Reset

func (x *Frame) Reset()

func (*Frame) SizeVT

func (m *Frame) SizeVT() (n int)

func (*Frame) String

func (x *Frame) String() string

func (*Frame) UnmarshalVT

func (m *Frame) UnmarshalVT(dAtA []byte) error

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"`
	// contains filtered or unexported fields
}

func Traces

func Traces(err error) []*Stack

func (*Stack) CloneMessageVT

func (m *Stack) CloneMessageVT() proto.Message

func (*Stack) CloneVT

func (m *Stack) CloneVT() *Stack

func (*Stack) Descriptor deprecated

func (*Stack) Descriptor() ([]byte, []int)

Deprecated: Use Stack.ProtoReflect.Descriptor instead.

func (*Stack) EqualMessageVT

func (this *Stack) EqualMessageVT(thatMsg proto.Message) bool

func (*Stack) EqualVT

func (this *Stack) EqualVT(that *Stack) bool

func (*Stack) GetCmdline

func (x *Stack) GetCmdline() []string

func (*Stack) GetFrames

func (x *Stack) GetFrames() []*Frame

func (*Stack) GetPid

func (x *Stack) GetPid() int32

func (*Stack) GetRevision

func (x *Stack) GetRevision() string

func (*Stack) GetVersion

func (x *Stack) GetVersion() string

func (*Stack) MarshalToSizedBufferVT

func (m *Stack) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Stack) MarshalToVT

func (m *Stack) MarshalToVT(dAtA []byte) (int, error)

func (*Stack) MarshalVT

func (m *Stack) MarshalVT() (dAtA []byte, err error)

func (*Stack) ProtoMessage

func (*Stack) ProtoMessage()

func (*Stack) ProtoReflect added in v0.11.0

func (x *Stack) ProtoReflect() protoreflect.Message

func (*Stack) Reset

func (x *Stack) Reset()

func (*Stack) SizeVT

func (m *Stack) SizeVT() (n int)

func (*Stack) String

func (x *Stack) String() string

func (*Stack) UnmarshalVT

func (m *Stack) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL