package errdefs

import "github.com/docker/buildx/controller/errdefs"

Index

Variables

var File_github_com_docker_buildx_controller_errdefs_errdefs_proto protoreflect.FileDescriptor

Functions

func WrapBuild

func WrapBuild(err error, sessionID string, ref string) error

Types

type Build

type Build struct {
	SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
	Ref       string `protobuf:"bytes,2,opt,name=Ref,proto3" json:"Ref,omitempty"`
	// contains filtered or unexported fields
}

func (*Build) CloneMessageVT

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

func (*Build) CloneVT

func (m *Build) CloneVT() *Build

func (*Build) Descriptor

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

Deprecated: Use Build.ProtoReflect.Descriptor instead.

func (*Build) EqualMessageVT

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

func (*Build) EqualVT

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

func (*Build) GetRef

func (x *Build) GetRef() string

func (*Build) GetSessionID

func (x *Build) GetSessionID() string

func (*Build) MarshalToSizedBufferVT

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

func (*Build) MarshalToVT

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

func (*Build) MarshalVT

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

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) ProtoReflect

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

func (*Build) Reset

func (x *Build) Reset()

func (*Build) SizeVT

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

func (*Build) String

func (x *Build) String() string

func (*Build) UnmarshalVT

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

func (*Build) WrapError

func (b *Build) WrapError(err error) error

type BuildError

type BuildError struct {
	*Build
	// contains filtered or unexported fields
}

func (*BuildError) PrintBuildDetails

func (e *BuildError) PrintBuildDetails(w io.Writer) error

func (*BuildError) ToProto

func (e *BuildError) ToProto() grpcerrors.TypedErrorProto

func (*BuildError) Unwrap

func (e *BuildError) Unwrap() error

Source Files

build.go errdefs.pb.go errdefs_vtproto.pb.go

Version
v0.22.0 (latest)
Published
Mar 17, 2025
Platform
linux/amd64
Imports
11 packages
Last checked
4 weeks ago

Tools for package owners.