stack

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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 added in v0.17.0

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

func (*Frame) CloneVT added in v0.17.0

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 added in v0.17.0

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

func (*Frame) EqualVT added in v0.17.0

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 added in v0.17.0

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

func (*Frame) MarshalToVT added in v0.17.0

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

func (*Frame) MarshalVT added in v0.17.0

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 added in v0.17.0

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

func (*Frame) String

func (x *Frame) String() string

func (*Frame) UnmarshalVT added in v0.17.0

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 added in v0.17.0

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

func (*Stack) CloneVT added in v0.17.0

func (m *Stack) CloneVT() *Stack

func (*Stack) Descriptor deprecated

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

Deprecated: Use Stack.ProtoReflect.Descriptor instead.

func (*Stack) EqualMessageVT added in v0.17.0

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

func (*Stack) EqualVT added in v0.17.0

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 added in v0.17.0

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

func (*Stack) MarshalToVT added in v0.17.0

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

func (*Stack) MarshalVT added in v0.17.0

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 added in v0.17.0

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

func (*Stack) String

func (x *Stack) String() string

func (*Stack) UnmarshalVT added in v0.17.0

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