package errdefs

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

Index

Functions

func WrapBuild

func WrapBuild(err error, ref string) error

Types

type Build

type Build struct {
	Ref                  string   `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Build) Descriptor

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

func (*Build) GetRef

func (m *Build) GetRef() string

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) Reset

func (m *Build) Reset()

func (*Build) String

func (m *Build) String() string

func (*Build) WrapError

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

func (*Build) XXX_DiscardUnknown

func (m *Build) XXX_DiscardUnknown()

func (*Build) XXX_Marshal

func (m *Build) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Build) XXX_Merge

func (m *Build) XXX_Merge(src proto.Message)

func (*Build) XXX_Size

func (m *Build) XXX_Size() int

func (*Build) XXX_Unmarshal

func (m *Build) XXX_Unmarshal(b []byte) error

type BuildError

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

func (*BuildError) ToProto

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

func (*BuildError) Unwrap

func (e *BuildError) Unwrap() error

Source Files

build.go errdefs.pb.go generate.go

Version
v0.14.1
Published
May 22, 2024
Platform
js/wasm
Imports
6 packages
Last checked
9 hours ago

Tools for package owners.