pb

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CapSourceImage                apicaps.CapID = "source.image"
	CapSourceImageResolveMode     apicaps.CapID = "source.image.resolvemode"
	CapSourceLocal                apicaps.CapID = "source.local"
	CapSourceLocalUnique          apicaps.CapID = "source.local.unique"
	CapSourceLocalSessionID       apicaps.CapID = "source.local.sessionid"
	CapSourceLocalIncludePatterns apicaps.CapID = "source.local.includepatterns"
	CapSourceLocalFollowPaths     apicaps.CapID = "source.local.followpaths"
	CapSourceLocalExcludePatterns apicaps.CapID = "source.local.excludepatterns"
	CapSourceLocalSharedKeyHint   apicaps.CapID = "source.local.sharedkeyhint"

	CapSourceGit        apicaps.CapID = "source.git"
	CapSourceGitKeepDir apicaps.CapID = "source.git.keepgitdir"
	CapSourceGitFullURL apicaps.CapID = "source.git.fullurl"

	CapSourceHTTP         apicaps.CapID = "source.http"
	CapSourceHTTPChecksum apicaps.CapID = "source.http.checksum"
	CapSourceHTTPPerm     apicaps.CapID = "source.http.perm"
	CapSourceHTTPUIDGID   apicaps.CapID = "soruce.http.uidgid"

	CapBuildOpLLBFileName apicaps.CapID = "source.buildop.llbfilename"

	CapExecMetaBase                  apicaps.CapID = "exec.meta.base"
	CapExecMetaProxy                 apicaps.CapID = "exec.meta.proxyenv"
	CapExecMetaNetwork               apicaps.CapID = "exec.meta.network"
	CapExecMetaSecurity              apicaps.CapID = "exec.meta.security"
	CapExecMetaSetsDefaultPath       apicaps.CapID = "exec.meta.setsdefaultpath"
	CapExecMountBind                 apicaps.CapID = "exec.mount.bind"
	CapExecMountBindReadWriteNoOuput apicaps.CapID = "exec.mount.bind.readwrite-nooutput"
	CapExecMountCache                apicaps.CapID = "exec.mount.cache"
	CapExecMountCacheSharing         apicaps.CapID = "exec.mount.cache.sharing"
	CapExecMountSelector             apicaps.CapID = "exec.mount.selector"
	CapExecMountTmpfs                apicaps.CapID = "exec.mount.tmpfs"
	CapExecMountSecret               apicaps.CapID = "exec.mount.secret"
	CapExecMountSSH                  apicaps.CapID = "exec.mount.ssh"
	CapExecCgroupsMounted            apicaps.CapID = "exec.cgroup"

	CapFileBase       apicaps.CapID = "file.base"
	CapFileRmWildcard apicaps.CapID = "file.rm.wildcard"

	CapConstraints apicaps.CapID = "constraints"
	CapPlatform    apicaps.CapID = "platform"

	CapMetaIgnoreCache apicaps.CapID = "meta.ignorecache"
	CapMetaDescription apicaps.CapID = "meta.description"
	CapMetaExportCache apicaps.CapID = "meta.exportcache"
)
View Source
const AttrExcludePatterns = "local.excludepatterns"
View Source
const AttrFollowPaths = "local.followpaths"
View Source
const AttrFullRemoteURL = "git.fullurl"
View Source
const AttrHTTPChecksum = "http.checksum"
View Source
const AttrHTTPFilename = "http.filename"
View Source
const AttrHTTPGID = "http.gid"
View Source
const AttrHTTPPerm = "http.perm"
View Source
const AttrHTTPUID = "http.uid"
View Source
const AttrImageRecordType = "image.recordtype"
View Source
const AttrImageResolveMode = "image.resolvemode"
View Source
const AttrImageResolveModeDefault = "default"
View Source
const AttrImageResolveModeForcePull = "pull"
View Source
const AttrImageResolveModePreferLocal = "local"
View Source
const AttrIncludePatterns = "local.includepattern"
View Source
const AttrKeepGitDir = "git.keepgitdir"
View Source
const AttrLLBDefinitionFilename = "llbbuild.filename"
View Source
const AttrLocalSessionID = "local.session"
View Source
const AttrLocalUniqueID = "local.unique"
View Source
const AttrSharedKeyHint = "local.sharedkeyhint"
View Source
const LLBDefaultDefinitionFile = LLBDefinitionInput

LLBDefaultDefinitionFile is a filename containing the definition in LLBBuilder

View Source
const LLBDefinitionInput = "buildkit.llb.definition"

LLBDefinitionInput marks an input that contains LLB definition for BuildOp

View Source
const RootMount = "/"

RootMount is a base mountpoint

Variables

View Source
var (
	ErrInvalidLengthOps = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOps   = fmt.Errorf("proto: integer overflow")
)
View Source
var CacheSharingOpt_name = map[int32]string{
	0: "SHARED",
	1: "PRIVATE",
	2: "LOCKED",
}
View Source
var CacheSharingOpt_value = map[string]int32{
	"SHARED":  0,
	"PRIVATE": 1,
	"LOCKED":  2,
}
View Source
var MountType_name = map[int32]string{
	0: "BIND",
	1: "SECRET",
	2: "SSH",
	3: "CACHE",
	4: "TMPFS",
}
View Source
var MountType_value = map[string]int32{
	"BIND":   0,
	"SECRET": 1,
	"SSH":    2,
	"CACHE":  3,
	"TMPFS":  4,
}
View Source
var NetMode_name = map[int32]string{
	0: "UNSET",
	1: "HOST",
	2: "NONE",
}
View Source
var NetMode_value = map[string]int32{
	"UNSET": 0,
	"HOST":  1,
	"NONE":  2,
}
View Source
var SecurityMode_name = map[int32]string{
	0: "SANDBOX",
	1: "INSECURE",
}
View Source
var SecurityMode_value = map[string]int32{
	"SANDBOX":  0,
	"INSECURE": 1,
}

Functions

func ToSpecPlatforms

func ToSpecPlatforms(p []Platform) []specs.Platform

Types

type BuildInput

type BuildInput struct {
	Input InputIndex `protobuf:"varint,1,opt,name=input,proto3,customtype=InputIndex" json:"input"`
}

BuildInput is used for BuildOp.

func (*BuildInput) Descriptor

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

func (*BuildInput) Marshal

func (m *BuildInput) Marshal() (dAtA []byte, err error)

func (*BuildInput) MarshalTo

func (m *BuildInput) MarshalTo(dAtA []byte) (int, error)

func (*BuildInput) ProtoMessage

func (*BuildInput) ProtoMessage()

func (*BuildInput) Reset

func (m *BuildInput) Reset()

func (*BuildInput) Size

func (m *BuildInput) Size() (n int)

func (*BuildInput) String

func (m *BuildInput) String() string

func (*BuildInput) Unmarshal

func (m *BuildInput) Unmarshal(dAtA []byte) error

func (*BuildInput) XXX_DiscardUnknown added in v0.6.4

func (m *BuildInput) XXX_DiscardUnknown()

func (*BuildInput) XXX_Marshal added in v0.6.4

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

func (*BuildInput) XXX_Merge added in v0.6.4

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

func (*BuildInput) XXX_Size added in v0.6.4

func (m *BuildInput) XXX_Size() int

func (*BuildInput) XXX_Unmarshal added in v0.6.4

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

type BuildOp

type BuildOp struct {
	Builder InputIndex             `protobuf:"varint,1,opt,name=builder,proto3,customtype=InputIndex" json:"builder"`
	Inputs  map[string]*BuildInput `` /* 153-byte string literal not displayed */
	Def     *Definition            `protobuf:"bytes,3,opt,name=def,proto3" json:"def,omitempty"`
	Attrs   map[string]string      `` /* 151-byte string literal not displayed */
}

BuildOp is used for nested build invocation. BuildOp is experimental and can break without backwards compatibility

func (*BuildOp) Descriptor

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

func (*BuildOp) GetAttrs

func (m *BuildOp) GetAttrs() map[string]string

func (*BuildOp) GetDef

func (m *BuildOp) GetDef() *Definition

func (*BuildOp) GetInputs

func (m *BuildOp) GetInputs() map[string]*BuildInput

func (*BuildOp) Marshal

func (m *BuildOp) Marshal() (dAtA []byte, err error)

func (*BuildOp) MarshalTo

func (m *BuildOp) MarshalTo(dAtA []byte) (int, error)

func (*BuildOp) ProtoMessage

func (*BuildOp) ProtoMessage()

func (*BuildOp) Reset

func (m *BuildOp) Reset()

func (*BuildOp) Size

func (m *BuildOp) Size() (n int)

func (*BuildOp) String

func (m *BuildOp) String() string

func (*BuildOp) Unmarshal

func (m *BuildOp) Unmarshal(dAtA []byte) error

func (*BuildOp) XXX_DiscardUnknown added in v0.6.4

func (m *BuildOp) XXX_DiscardUnknown()

func (*BuildOp) XXX_Marshal added in v0.6.4

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

func (*BuildOp) XXX_Merge added in v0.6.4

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

func (*BuildOp) XXX_Size added in v0.6.4

func (m *BuildOp) XXX_Size() int

func (*BuildOp) XXX_Unmarshal added in v0.6.4

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

type CacheOpt

type CacheOpt struct {
	// ID is an optional namespace for the mount
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// Sharing is the sharing mode for the mount
	Sharing CacheSharingOpt `protobuf:"varint,2,opt,name=sharing,proto3,enum=pb.CacheSharingOpt" json:"sharing,omitempty"`
}

CacheOpt defines options specific to cache mounts

func (*CacheOpt) Descriptor

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

func (*CacheOpt) GetID

func (m *CacheOpt) GetID() string

func (*CacheOpt) GetSharing

func (m *CacheOpt) GetSharing() CacheSharingOpt

func (*CacheOpt) Marshal

func (m *CacheOpt) Marshal() (dAtA []byte, err error)

func (*CacheOpt) MarshalTo

func (m *CacheOpt) MarshalTo(dAtA []byte) (int, error)

func (*CacheOpt) ProtoMessage

func (*CacheOpt) ProtoMessage()

func (*CacheOpt) Reset

func (m *CacheOpt) Reset()

func (*CacheOpt) Size

func (m *CacheOpt) Size() (n int)

func (*CacheOpt) String

func (m *CacheOpt) String() string

func (*CacheOpt) Unmarshal

func (m *CacheOpt) Unmarshal(dAtA []byte) error

func (*CacheOpt) XXX_DiscardUnknown added in v0.6.4

func (m *CacheOpt) XXX_DiscardUnknown()

func (*CacheOpt) XXX_Marshal added in v0.6.4

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

func (*CacheOpt) XXX_Merge added in v0.6.4

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

func (*CacheOpt) XXX_Size added in v0.6.4

func (m *CacheOpt) XXX_Size() int

func (*CacheOpt) XXX_Unmarshal added in v0.6.4

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

type CacheSharingOpt

type CacheSharingOpt int32

CacheSharingOpt defines different sharing modes for cache mount

const (
	// SHARED cache mount can be used concurrently by multiple writers
	CacheSharingOpt_SHARED CacheSharingOpt = 0
	// PRIVATE creates a new mount if there are multiple writers
	CacheSharingOpt_PRIVATE CacheSharingOpt = 1
	// LOCKED pauses second writer until first one releases the mount
	CacheSharingOpt_LOCKED CacheSharingOpt = 2
)

func (CacheSharingOpt) EnumDescriptor

func (CacheSharingOpt) EnumDescriptor() ([]byte, []int)

func (CacheSharingOpt) String

func (x CacheSharingOpt) String() string

type ChownOpt added in v0.6.4

type ChownOpt struct {
	User  *UserOpt `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Group *UserOpt `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
}

func (*ChownOpt) Descriptor added in v0.6.4

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

func (*ChownOpt) GetGroup added in v0.6.4

func (m *ChownOpt) GetGroup() *UserOpt

func (*ChownOpt) GetUser added in v0.6.4

func (m *ChownOpt) GetUser() *UserOpt

func (*ChownOpt) Marshal added in v0.6.4

func (m *ChownOpt) Marshal() (dAtA []byte, err error)

func (*ChownOpt) MarshalTo added in v0.6.4

func (m *ChownOpt) MarshalTo(dAtA []byte) (int, error)

func (*ChownOpt) ProtoMessage added in v0.6.4

func (*ChownOpt) ProtoMessage()

func (*ChownOpt) Reset added in v0.6.4

func (m *ChownOpt) Reset()

func (*ChownOpt) Size added in v0.6.4

func (m *ChownOpt) Size() (n int)

func (*ChownOpt) String added in v0.6.4

func (m *ChownOpt) String() string

func (*ChownOpt) Unmarshal added in v0.6.4

func (m *ChownOpt) Unmarshal(dAtA []byte) error

func (*ChownOpt) XXX_DiscardUnknown added in v0.6.4

func (m *ChownOpt) XXX_DiscardUnknown()

func (*ChownOpt) XXX_Marshal added in v0.6.4

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

func (*ChownOpt) XXX_Merge added in v0.6.4

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

func (*ChownOpt) XXX_Size added in v0.6.4

func (m *ChownOpt) XXX_Size() int

func (*ChownOpt) XXX_Unmarshal added in v0.6.4

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

type Definition

type Definition struct {
	// def is a list of marshaled Op messages
	Def [][]byte `protobuf:"bytes,1,rep,name=def,proto3" json:"def,omitempty"`
	// metadata contains metadata for the each of the Op messages.
	// A key must be an LLB op digest string. Currently, empty string is not expected as a key, but it may change in the future.
	Metadata map[github_com_opencontainers_go_digest.Digest]OpMetadata `` /* 198-byte string literal not displayed */
}

Definition is the LLB definition structure with per-vertex metadata entries

func (*Definition) Descriptor

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

func (*Definition) GetDef

func (m *Definition) GetDef() [][]byte

func (*Definition) GetMetadata

func (*Definition) Marshal

func (m *Definition) Marshal() (dAtA []byte, err error)

func (*Definition) MarshalTo

func (m *Definition) MarshalTo(dAtA []byte) (int, error)

func (*Definition) ProtoMessage

func (*Definition) ProtoMessage()

func (*Definition) Reset

func (m *Definition) Reset()

func (*Definition) Size

func (m *Definition) Size() (n int)

func (*Definition) String

func (m *Definition) String() string

func (*Definition) Unmarshal

func (m *Definition) Unmarshal(dAtA []byte) error

func (*Definition) XXX_DiscardUnknown added in v0.6.4

func (m *Definition) XXX_DiscardUnknown()

func (*Definition) XXX_Marshal added in v0.6.4

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

func (*Definition) XXX_Merge added in v0.6.4

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

func (*Definition) XXX_Size added in v0.6.4

func (m *Definition) XXX_Size() int

func (*Definition) XXX_Unmarshal added in v0.6.4

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

type ExecOp

type ExecOp struct {
	Meta     *Meta        `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Mounts   []*Mount     `protobuf:"bytes,2,rep,name=mounts,proto3" json:"mounts,omitempty"`
	Network  NetMode      `protobuf:"varint,3,opt,name=network,proto3,enum=pb.NetMode" json:"network,omitempty"`
	Security SecurityMode `protobuf:"varint,4,opt,name=security,proto3,enum=pb.SecurityMode" json:"security,omitempty"`
}

ExecOp executes a command in a container.

func (*ExecOp) Descriptor

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

func (*ExecOp) GetMeta

func (m *ExecOp) GetMeta() *Meta

func (*ExecOp) GetMounts

func (m *ExecOp) GetMounts() []*Mount

func (*ExecOp) GetNetwork

func (m *ExecOp) GetNetwork() NetMode

func (*ExecOp) GetSecurity added in v0.6.4

func (m *ExecOp) GetSecurity() SecurityMode

func (*ExecOp) Marshal

func (m *ExecOp) Marshal() (dAtA []byte, err error)

func (*ExecOp) MarshalTo

func (m *ExecOp) MarshalTo(dAtA []byte) (int, error)

func (*ExecOp) ProtoMessage

func (*ExecOp) ProtoMessage()

func (*ExecOp) Reset

func (m *ExecOp) Reset()

func (*ExecOp) Size

func (m *ExecOp) Size() (n int)

func (*ExecOp) String

func (m *ExecOp) String() string

func (*ExecOp) Unmarshal

func (m *ExecOp) Unmarshal(dAtA []byte) error

func (*ExecOp) XXX_DiscardUnknown added in v0.6.4

func (m *ExecOp) XXX_DiscardUnknown()

func (*ExecOp) XXX_Marshal added in v0.6.4

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

func (*ExecOp) XXX_Merge added in v0.6.4

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

func (*ExecOp) XXX_Size added in v0.6.4

func (m *ExecOp) XXX_Size() int

func (*ExecOp) XXX_Unmarshal added in v0.6.4

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

type ExportCache

type ExportCache struct {
	Value bool `protobuf:"varint,1,opt,name=Value,proto3" json:"Value,omitempty"`
}

func (*ExportCache) Descriptor

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

func (*ExportCache) GetValue

func (m *ExportCache) GetValue() bool

func (*ExportCache) Marshal

func (m *ExportCache) Marshal() (dAtA []byte, err error)

func (*ExportCache) MarshalTo

func (m *ExportCache) MarshalTo(dAtA []byte) (int, error)

func (*ExportCache) ProtoMessage

func (*ExportCache) ProtoMessage()

func (*ExportCache) Reset

func (m *ExportCache) Reset()

func (*ExportCache) Size

func (m *ExportCache) Size() (n int)

func (*ExportCache) String

func (m *ExportCache) String() string

func (*ExportCache) Unmarshal

func (m *ExportCache) Unmarshal(dAtA []byte) error

func (*ExportCache) XXX_DiscardUnknown added in v0.6.4

func (m *ExportCache) XXX_DiscardUnknown()

func (*ExportCache) XXX_Marshal added in v0.6.4

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

func (*ExportCache) XXX_Merge added in v0.6.4

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

func (*ExportCache) XXX_Size added in v0.6.4

func (m *ExportCache) XXX_Size() int

func (*ExportCache) XXX_Unmarshal added in v0.6.4

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

type FileAction added in v0.6.4

type FileAction struct {
	Input          InputIndex  `protobuf:"varint,1,opt,name=input,proto3,customtype=InputIndex" json:"input"`
	SecondaryInput InputIndex  `protobuf:"varint,2,opt,name=secondaryInput,proto3,customtype=InputIndex" json:"secondaryInput"`
	Output         OutputIndex `protobuf:"varint,3,opt,name=output,proto3,customtype=OutputIndex" json:"output"`
	// Types that are valid to be assigned to Action:
	//	*FileAction_Copy
	//	*FileAction_Mkfile
	//	*FileAction_Mkdir
	//	*FileAction_Rm
	Action isFileAction_Action `protobuf_oneof:"action"`
}

func (*FileAction) Descriptor added in v0.6.4

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

func (*FileAction) GetAction added in v0.6.4

func (m *FileAction) GetAction() isFileAction_Action

func (*FileAction) GetCopy added in v0.6.4

func (m *FileAction) GetCopy() *FileActionCopy

func (*FileAction) GetMkdir added in v0.6.4

func (m *FileAction) GetMkdir() *FileActionMkDir

func (*FileAction) GetMkfile added in v0.6.4

func (m *FileAction) GetMkfile() *FileActionMkFile

func (*FileAction) GetRm added in v0.6.4

func (m *FileAction) GetRm() *FileActionRm

func (*FileAction) Marshal added in v0.6.4

func (m *FileAction) Marshal() (dAtA []byte, err error)

func (*FileAction) MarshalTo added in v0.6.4

func (m *FileAction) MarshalTo(dAtA []byte) (int, error)

func (*FileAction) ProtoMessage added in v0.6.4

func (*FileAction) ProtoMessage()

func (*FileAction) Reset added in v0.6.4

func (m *FileAction) Reset()

func (*FileAction) Size added in v0.6.4

func (m *FileAction) Size() (n int)

func (*FileAction) String added in v0.6.4

func (m *FileAction) String() string

func (*FileAction) Unmarshal added in v0.6.4

func (m *FileAction) Unmarshal(dAtA []byte) error

func (*FileAction) XXX_DiscardUnknown added in v0.6.4

func (m *FileAction) XXX_DiscardUnknown()

func (*FileAction) XXX_Marshal added in v0.6.4

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

func (*FileAction) XXX_Merge added in v0.6.4

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

func (*FileAction) XXX_OneofFuncs added in v0.6.4

func (*FileAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*FileAction) XXX_Size added in v0.6.4

func (m *FileAction) XXX_Size() int

func (*FileAction) XXX_Unmarshal added in v0.6.4

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

type FileActionCopy added in v0.6.4

type FileActionCopy struct {
	// src is the source path
	Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
	// dest path
	Dest string `protobuf:"bytes,2,opt,name=dest,proto3" json:"dest,omitempty"`
	// optional owner override
	Owner *ChownOpt `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// optional permission bits override
	Mode int32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"`
	// followSymlink resolves symlinks in src
	FollowSymlink bool `protobuf:"varint,5,opt,name=followSymlink,proto3" json:"followSymlink,omitempty"`
	// dirCopyContents only copies contents if src is a directory
	DirCopyContents bool `protobuf:"varint,6,opt,name=dirCopyContents,proto3" json:"dirCopyContents,omitempty"`
	// attemptUnpackDockerCompatibility detects if src is an archive to unpack it instead
	AttemptUnpackDockerCompatibility bool `protobuf:"varint,7,opt,name=attemptUnpackDockerCompatibility,proto3" json:"attemptUnpackDockerCompatibility,omitempty"`
	// createDestPath creates dest path directories if needed
	CreateDestPath bool `protobuf:"varint,8,opt,name=createDestPath,proto3" json:"createDestPath,omitempty"`
	// allowWildcard allows filepath.Match wildcards in src path
	AllowWildcard bool `protobuf:"varint,9,opt,name=allowWildcard,proto3" json:"allowWildcard,omitempty"`
	// allowEmptyWildcard doesn't fail the whole copy if wildcard doesn't resolve to files
	AllowEmptyWildcard bool `protobuf:"varint,10,opt,name=allowEmptyWildcard,proto3" json:"allowEmptyWildcard,omitempty"`
	// optional created time override
	Timestamp int64 `protobuf:"varint,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*FileActionCopy) Descriptor added in v0.6.4

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

func (*FileActionCopy) GetAllowEmptyWildcard added in v0.6.4

func (m *FileActionCopy) GetAllowEmptyWildcard() bool

func (*FileActionCopy) GetAllowWildcard added in v0.6.4

func (m *FileActionCopy) GetAllowWildcard() bool

func (*FileActionCopy) GetAttemptUnpackDockerCompatibility added in v0.6.4

func (m *FileActionCopy) GetAttemptUnpackDockerCompatibility() bool

func (*FileActionCopy) GetCreateDestPath added in v0.6.4

func (m *FileActionCopy) GetCreateDestPath() bool

func (*FileActionCopy) GetDest added in v0.6.4

func (m *FileActionCopy) GetDest() string

func (*FileActionCopy) GetDirCopyContents added in v0.6.4

func (m *FileActionCopy) GetDirCopyContents() bool
func (m *FileActionCopy) GetFollowSymlink() bool

func (*FileActionCopy) GetMode added in v0.6.4

func (m *FileActionCopy) GetMode() int32

func (*FileActionCopy) GetOwner added in v0.6.4

func (m *FileActionCopy) GetOwner() *ChownOpt

func (*FileActionCopy) GetSrc added in v0.6.4

func (m *FileActionCopy) GetSrc() string

func (*FileActionCopy) GetTimestamp added in v0.6.4

func (m *FileActionCopy) GetTimestamp() int64

func (*FileActionCopy) Marshal added in v0.6.4

func (m *FileActionCopy) Marshal() (dAtA []byte, err error)

func (*FileActionCopy) MarshalTo added in v0.6.4

func (m *FileActionCopy) MarshalTo(dAtA []byte) (int, error)

func (*FileActionCopy) ProtoMessage added in v0.6.4

func (*FileActionCopy) ProtoMessage()

func (*FileActionCopy) Reset added in v0.6.4

func (m *FileActionCopy) Reset()

func (*FileActionCopy) Size added in v0.6.4

func (m *FileActionCopy) Size() (n int)

func (*FileActionCopy) String added in v0.6.4

func (m *FileActionCopy) String() string

func (*FileActionCopy) Unmarshal added in v0.6.4

func (m *FileActionCopy) Unmarshal(dAtA []byte) error

func (*FileActionCopy) XXX_DiscardUnknown added in v0.6.4

func (m *FileActionCopy) XXX_DiscardUnknown()

func (*FileActionCopy) XXX_Marshal added in v0.6.4

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

func (*FileActionCopy) XXX_Merge added in v0.6.4

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

func (*FileActionCopy) XXX_Size added in v0.6.4

func (m *FileActionCopy) XXX_Size() int

func (*FileActionCopy) XXX_Unmarshal added in v0.6.4

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

type FileActionMkDir added in v0.6.4

type FileActionMkDir struct {
	// path for the new directory
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// permission bits
	Mode int32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// makeParents creates parent directories as well if needed
	MakeParents bool `protobuf:"varint,3,opt,name=makeParents,proto3" json:"makeParents,omitempty"`
	// optional owner for the new directory
	Owner *ChownOpt `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	// optional created time override
	Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*FileActionMkDir) Descriptor added in v0.6.4

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

func (*FileActionMkDir) GetMakeParents added in v0.6.4

func (m *FileActionMkDir) GetMakeParents() bool

func (*FileActionMkDir) GetMode added in v0.6.4

func (m *FileActionMkDir) GetMode() int32

func (*FileActionMkDir) GetOwner added in v0.6.4

func (m *FileActionMkDir) GetOwner() *ChownOpt

func (*FileActionMkDir) GetPath added in v0.6.4

func (m *FileActionMkDir) GetPath() string

func (*FileActionMkDir) GetTimestamp added in v0.6.4

func (m *FileActionMkDir) GetTimestamp() int64

func (*FileActionMkDir) Marshal added in v0.6.4

func (m *FileActionMkDir) Marshal() (dAtA []byte, err error)

func (*FileActionMkDir) MarshalTo added in v0.6.4

func (m *FileActionMkDir) MarshalTo(dAtA []byte) (int, error)

func (*FileActionMkDir) ProtoMessage added in v0.6.4

func (*FileActionMkDir) ProtoMessage()

func (*FileActionMkDir) Reset added in v0.6.4

func (m *FileActionMkDir) Reset()

func (*FileActionMkDir) Size added in v0.6.4

func (m *FileActionMkDir) Size() (n int)

func (*FileActionMkDir) String added in v0.6.4

func (m *FileActionMkDir) String() string

func (*FileActionMkDir) Unmarshal added in v0.6.4

func (m *FileActionMkDir) Unmarshal(dAtA []byte) error

func (*FileActionMkDir) XXX_DiscardUnknown added in v0.6.4

func (m *FileActionMkDir) XXX_DiscardUnknown()

func (*FileActionMkDir) XXX_Marshal added in v0.6.4

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

func (*FileActionMkDir) XXX_Merge added in v0.6.4

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

func (*FileActionMkDir) XXX_Size added in v0.6.4

func (m *FileActionMkDir) XXX_Size() int

func (*FileActionMkDir) XXX_Unmarshal added in v0.6.4

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

type FileActionMkFile added in v0.6.4

type FileActionMkFile struct {
	// path for the new file
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// permission bits
	Mode int32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// data is the new file contents
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// optional owner for the new file
	Owner *ChownOpt `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	// optional created time override
	Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*FileActionMkFile) Descriptor added in v0.6.4

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

func (*FileActionMkFile) GetData added in v0.6.4

func (m *FileActionMkFile) GetData() []byte

func (*FileActionMkFile) GetMode added in v0.6.4

func (m *FileActionMkFile) GetMode() int32

func (*FileActionMkFile) GetOwner added in v0.6.4

func (m *FileActionMkFile) GetOwner() *ChownOpt

func (*FileActionMkFile) GetPath added in v0.6.4

func (m *FileActionMkFile) GetPath() string

func (*FileActionMkFile) GetTimestamp added in v0.6.4

func (m *FileActionMkFile) GetTimestamp() int64

func (*FileActionMkFile) Marshal added in v0.6.4

func (m *FileActionMkFile) Marshal() (dAtA []byte, err error)

func (*FileActionMkFile) MarshalTo added in v0.6.4

func (m *FileActionMkFile) MarshalTo(dAtA []byte) (int, error)

func (*FileActionMkFile) ProtoMessage added in v0.6.4

func (*FileActionMkFile) ProtoMessage()

func (*FileActionMkFile) Reset added in v0.6.4

func (m *FileActionMkFile) Reset()

func (*FileActionMkFile) Size added in v0.6.4

func (m *FileActionMkFile) Size() (n int)

func (*FileActionMkFile) String added in v0.6.4

func (m *FileActionMkFile) String() string

func (*FileActionMkFile) Unmarshal added in v0.6.4

func (m *FileActionMkFile) Unmarshal(dAtA []byte) error

func (*FileActionMkFile) XXX_DiscardUnknown added in v0.6.4

func (m *FileActionMkFile) XXX_DiscardUnknown()

func (*FileActionMkFile) XXX_Marshal added in v0.6.4

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

func (*FileActionMkFile) XXX_Merge added in v0.6.4

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

func (*FileActionMkFile) XXX_Size added in v0.6.4

func (m *FileActionMkFile) XXX_Size() int

func (*FileActionMkFile) XXX_Unmarshal added in v0.6.4

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

type FileActionRm added in v0.6.4

type FileActionRm struct {
	// path to remove
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// allowNotFound doesn't fail the rm if file is not found
	AllowNotFound bool `protobuf:"varint,2,opt,name=allowNotFound,proto3" json:"allowNotFound,omitempty"`
	// allowWildcard allows filepath.Match wildcards in path
	AllowWildcard bool `protobuf:"varint,3,opt,name=allowWildcard,proto3" json:"allowWildcard,omitempty"`
}

func (*FileActionRm) Descriptor added in v0.6.4

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

func (*FileActionRm) GetAllowNotFound added in v0.6.4

func (m *FileActionRm) GetAllowNotFound() bool

func (*FileActionRm) GetAllowWildcard added in v0.6.4

func (m *FileActionRm) GetAllowWildcard() bool

func (*FileActionRm) GetPath added in v0.6.4

func (m *FileActionRm) GetPath() string

func (*FileActionRm) Marshal added in v0.6.4

func (m *FileActionRm) Marshal() (dAtA []byte, err error)

func (*FileActionRm) MarshalTo added in v0.6.4

func (m *FileActionRm) MarshalTo(dAtA []byte) (int, error)

func (*FileActionRm) ProtoMessage added in v0.6.4

func (*FileActionRm) ProtoMessage()

func (*FileActionRm) Reset added in v0.6.4

func (m *FileActionRm) Reset()

func (*FileActionRm) Size added in v0.6.4

func (m *FileActionRm) Size() (n int)

func (*FileActionRm) String added in v0.6.4

func (m *FileActionRm) String() string

func (*FileActionRm) Unmarshal added in v0.6.4

func (m *FileActionRm) Unmarshal(dAtA []byte) error

func (*FileActionRm) XXX_DiscardUnknown added in v0.6.4

func (m *FileActionRm) XXX_DiscardUnknown()

func (*FileActionRm) XXX_Marshal added in v0.6.4

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

func (*FileActionRm) XXX_Merge added in v0.6.4

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

func (*FileActionRm) XXX_Size added in v0.6.4

func (m *FileActionRm) XXX_Size() int

func (*FileActionRm) XXX_Unmarshal added in v0.6.4

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

type FileAction_Copy added in v0.6.4

type FileAction_Copy struct {
	Copy *FileActionCopy `protobuf:"bytes,4,opt,name=copy,proto3,oneof"`
}

func (*FileAction_Copy) MarshalTo added in v0.6.4

func (m *FileAction_Copy) MarshalTo(dAtA []byte) (int, error)

func (*FileAction_Copy) Size added in v0.6.4

func (m *FileAction_Copy) Size() (n int)

type FileAction_Mkdir added in v0.6.4

type FileAction_Mkdir struct {
	Mkdir *FileActionMkDir `protobuf:"bytes,6,opt,name=mkdir,proto3,oneof"`
}

func (*FileAction_Mkdir) MarshalTo added in v0.6.4

func (m *FileAction_Mkdir) MarshalTo(dAtA []byte) (int, error)

func (*FileAction_Mkdir) Size added in v0.6.4

func (m *FileAction_Mkdir) Size() (n int)

type FileAction_Mkfile added in v0.6.4

type FileAction_Mkfile struct {
	Mkfile *FileActionMkFile `protobuf:"bytes,5,opt,name=mkfile,proto3,oneof"`
}

func (*FileAction_Mkfile) MarshalTo added in v0.6.4

func (m *FileAction_Mkfile) MarshalTo(dAtA []byte) (int, error)

func (*FileAction_Mkfile) Size added in v0.6.4

func (m *FileAction_Mkfile) Size() (n int)

type FileAction_Rm added in v0.6.4

type FileAction_Rm struct {
	Rm *FileActionRm `protobuf:"bytes,7,opt,name=rm,proto3,oneof"`
}

func (*FileAction_Rm) MarshalTo added in v0.6.4

func (m *FileAction_Rm) MarshalTo(dAtA []byte) (int, error)

func (*FileAction_Rm) Size added in v0.6.4

func (m *FileAction_Rm) Size() (n int)

type FileOp added in v0.6.4

type FileOp struct {
	Actions []*FileAction `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
}

func (*FileOp) Descriptor added in v0.6.4

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

func (*FileOp) GetActions added in v0.6.4

func (m *FileOp) GetActions() []*FileAction

func (*FileOp) Marshal added in v0.6.4

func (m *FileOp) Marshal() (dAtA []byte, err error)

func (*FileOp) MarshalTo added in v0.6.4

func (m *FileOp) MarshalTo(dAtA []byte) (int, error)

func (*FileOp) ProtoMessage added in v0.6.4

func (*FileOp) ProtoMessage()

func (*FileOp) Reset added in v0.6.4

func (m *FileOp) Reset()

func (*FileOp) Size added in v0.6.4

func (m *FileOp) Size() (n int)

func (*FileOp) String added in v0.6.4

func (m *FileOp) String() string

func (*FileOp) Unmarshal added in v0.6.4

func (m *FileOp) Unmarshal(dAtA []byte) error

func (*FileOp) XXX_DiscardUnknown added in v0.6.4

func (m *FileOp) XXX_DiscardUnknown()

func (*FileOp) XXX_Marshal added in v0.6.4

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

func (*FileOp) XXX_Merge added in v0.6.4

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

func (*FileOp) XXX_Size added in v0.6.4

func (m *FileOp) XXX_Size() int

func (*FileOp) XXX_Unmarshal added in v0.6.4

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

type HostIP

type HostIP struct {
	Host string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"`
	IP   string `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"`
}

func (*HostIP) Descriptor

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

func (*HostIP) GetHost

func (m *HostIP) GetHost() string

func (*HostIP) GetIP

func (m *HostIP) GetIP() string

func (*HostIP) Marshal

func (m *HostIP) Marshal() (dAtA []byte, err error)

func (*HostIP) MarshalTo

func (m *HostIP) MarshalTo(dAtA []byte) (int, error)

func (*HostIP) ProtoMessage

func (*HostIP) ProtoMessage()

func (*HostIP) Reset

func (m *HostIP) Reset()

func (*HostIP) Size

func (m *HostIP) Size() (n int)

func (*HostIP) String

func (m *HostIP) String() string

func (*HostIP) Unmarshal

func (m *HostIP) Unmarshal(dAtA []byte) error

func (*HostIP) XXX_DiscardUnknown added in v0.6.4

func (m *HostIP) XXX_DiscardUnknown()

func (*HostIP) XXX_Marshal added in v0.6.4

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

func (*HostIP) XXX_Merge added in v0.6.4

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

func (*HostIP) XXX_Size added in v0.6.4

func (m *HostIP) XXX_Size() int

func (*HostIP) XXX_Unmarshal added in v0.6.4

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

type Input

type Input struct {
	// digest of the marshaled input Op
	Digest github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=digest,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"digest"`
	// output index of the input Op
	Index OutputIndex `protobuf:"varint,2,opt,name=index,proto3,customtype=OutputIndex" json:"index"`
}

Input represents an input edge for an Op.

func (*Input) Descriptor

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

func (*Input) Marshal

func (m *Input) Marshal() (dAtA []byte, err error)

func (*Input) MarshalTo

func (m *Input) MarshalTo(dAtA []byte) (int, error)

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) Reset

func (m *Input) Reset()

func (*Input) Size

func (m *Input) Size() (n int)

func (*Input) String

func (m *Input) String() string

func (*Input) Unmarshal

func (m *Input) Unmarshal(dAtA []byte) error

func (*Input) XXX_DiscardUnknown added in v0.6.4

func (m *Input) XXX_DiscardUnknown()

func (*Input) XXX_Marshal added in v0.6.4

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

func (*Input) XXX_Merge added in v0.6.4

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

func (*Input) XXX_Size added in v0.6.4

func (m *Input) XXX_Size() int

func (*Input) XXX_Unmarshal added in v0.6.4

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

type InputIndex

type InputIndex int64

InputIndex is incrementing index to the input vertex

const Empty InputIndex = -1

Empty marks an input with no content

const LLBBuilder InputIndex = -1

LLBBuilder is a special builder for BuildOp that directly builds LLB

type IsFileAction added in v0.6.4

type IsFileAction = isFileAction_Action

type Meta

type Meta struct {
	Args       []string  `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	Env        []string  `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"`
	Cwd        string    `protobuf:"bytes,3,opt,name=cwd,proto3" json:"cwd,omitempty"`
	User       string    `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	ProxyEnv   *ProxyEnv `protobuf:"bytes,5,opt,name=proxy_env,json=proxyEnv,proto3" json:"proxy_env,omitempty"`
	ExtraHosts []*HostIP `protobuf:"bytes,6,rep,name=extraHosts,proto3" json:"extraHosts,omitempty"`
}

Meta is a set of arguments for ExecOp. Meta is unrelated to LLB metadata. FIXME: rename (ExecContext? ExecArgs?)

func (*Meta) Descriptor

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

func (*Meta) GetArgs

func (m *Meta) GetArgs() []string

func (*Meta) GetCwd

func (m *Meta) GetCwd() string

func (*Meta) GetEnv

func (m *Meta) GetEnv() []string

func (*Meta) GetExtraHosts

func (m *Meta) GetExtraHosts() []*HostIP

func (*Meta) GetProxyEnv

func (m *Meta) GetProxyEnv() *ProxyEnv

func (*Meta) GetUser

func (m *Meta) GetUser() string

func (*Meta) Marshal

func (m *Meta) Marshal() (dAtA []byte, err error)

func (*Meta) MarshalTo

func (m *Meta) MarshalTo(dAtA []byte) (int, error)

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) Reset

func (m *Meta) Reset()

func (*Meta) Size

func (m *Meta) Size() (n int)

func (*Meta) String

func (m *Meta) String() string

func (*Meta) Unmarshal

func (m *Meta) Unmarshal(dAtA []byte) error

func (*Meta) XXX_DiscardUnknown added in v0.6.4

func (m *Meta) XXX_DiscardUnknown()

func (*Meta) XXX_Marshal added in v0.6.4

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

func (*Meta) XXX_Merge added in v0.6.4

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

func (*Meta) XXX_Size added in v0.6.4

func (m *Meta) XXX_Size() int

func (*Meta) XXX_Unmarshal added in v0.6.4

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

type Mount

type Mount struct {
	Input     InputIndex  `protobuf:"varint,1,opt,name=input,proto3,customtype=InputIndex" json:"input"`
	Selector  string      `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`
	Dest      string      `protobuf:"bytes,3,opt,name=dest,proto3" json:"dest,omitempty"`
	Output    OutputIndex `protobuf:"varint,4,opt,name=output,proto3,customtype=OutputIndex" json:"output"`
	Readonly  bool        `protobuf:"varint,5,opt,name=readonly,proto3" json:"readonly,omitempty"`
	MountType MountType   `protobuf:"varint,6,opt,name=mountType,proto3,enum=pb.MountType" json:"mountType,omitempty"`
	CacheOpt  *CacheOpt   `protobuf:"bytes,20,opt,name=cacheOpt,proto3" json:"cacheOpt,omitempty"`
	SecretOpt *SecretOpt  `protobuf:"bytes,21,opt,name=secretOpt,proto3" json:"secretOpt,omitempty"`
	SSHOpt    *SSHOpt     `protobuf:"bytes,22,opt,name=SSHOpt,proto3" json:"SSHOpt,omitempty"`
}

Mount specifies how to mount an input Op as a filesystem.

func (*Mount) Descriptor

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

func (*Mount) GetCacheOpt

func (m *Mount) GetCacheOpt() *CacheOpt

func (*Mount) GetDest

func (m *Mount) GetDest() string

func (*Mount) GetMountType

func (m *Mount) GetMountType() MountType

func (*Mount) GetReadonly

func (m *Mount) GetReadonly() bool

func (*Mount) GetSSHOpt

func (m *Mount) GetSSHOpt() *SSHOpt

func (*Mount) GetSecretOpt

func (m *Mount) GetSecretOpt() *SecretOpt

func (*Mount) GetSelector

func (m *Mount) GetSelector() string

func (*Mount) Marshal

func (m *Mount) Marshal() (dAtA []byte, err error)

func (*Mount) MarshalTo

func (m *Mount) MarshalTo(dAtA []byte) (int, error)

func (*Mount) ProtoMessage

func (*Mount) ProtoMessage()

func (*Mount) Reset

func (m *Mount) Reset()

func (*Mount) Size

func (m *Mount) Size() (n int)

func (*Mount) String

func (m *Mount) String() string

func (*Mount) Unmarshal

func (m *Mount) Unmarshal(dAtA []byte) error

func (*Mount) XXX_DiscardUnknown added in v0.6.4

func (m *Mount) XXX_DiscardUnknown()

func (*Mount) XXX_Marshal added in v0.6.4

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

func (*Mount) XXX_Merge added in v0.6.4

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

func (*Mount) XXX_Size added in v0.6.4

func (m *Mount) XXX_Size() int

func (*Mount) XXX_Unmarshal added in v0.6.4

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

type MountType

type MountType int32

MountType defines a type of a mount from a supported set

const (
	MountType_BIND   MountType = 0
	MountType_SECRET MountType = 1
	MountType_SSH    MountType = 2
	MountType_CACHE  MountType = 3
	MountType_TMPFS  MountType = 4
)

func (MountType) EnumDescriptor

func (MountType) EnumDescriptor() ([]byte, []int)

func (MountType) String

func (x MountType) String() string

type NamedUserOpt added in v0.6.4

type NamedUserOpt struct {
	Name  string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Input InputIndex `protobuf:"varint,2,opt,name=input,proto3,customtype=InputIndex" json:"input"`
}

func (*NamedUserOpt) Descriptor added in v0.6.4

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

func (*NamedUserOpt) GetName added in v0.6.4

func (m *NamedUserOpt) GetName() string

func (*NamedUserOpt) Marshal added in v0.6.4

func (m *NamedUserOpt) Marshal() (dAtA []byte, err error)

func (*NamedUserOpt) MarshalTo added in v0.6.4

func (m *NamedUserOpt) MarshalTo(dAtA []byte) (int, error)

func (*NamedUserOpt) ProtoMessage added in v0.6.4

func (*NamedUserOpt) ProtoMessage()

func (*NamedUserOpt) Reset added in v0.6.4

func (m *NamedUserOpt) Reset()

func (*NamedUserOpt) Size added in v0.6.4

func (m *NamedUserOpt) Size() (n int)

func (*NamedUserOpt) String added in v0.6.4

func (m *NamedUserOpt) String() string

func (*NamedUserOpt) Unmarshal added in v0.6.4

func (m *NamedUserOpt) Unmarshal(dAtA []byte) error

func (*NamedUserOpt) XXX_DiscardUnknown added in v0.6.4

func (m *NamedUserOpt) XXX_DiscardUnknown()

func (*NamedUserOpt) XXX_Marshal added in v0.6.4

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

func (*NamedUserOpt) XXX_Merge added in v0.6.4

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

func (*NamedUserOpt) XXX_Size added in v0.6.4

func (m *NamedUserOpt) XXX_Size() int

func (*NamedUserOpt) XXX_Unmarshal added in v0.6.4

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

type NetMode

type NetMode int32
const (
	NetMode_UNSET NetMode = 0
	NetMode_HOST  NetMode = 1
	NetMode_NONE  NetMode = 2
)

func (NetMode) EnumDescriptor

func (NetMode) EnumDescriptor() ([]byte, []int)

func (NetMode) String

func (x NetMode) String() string

type Op

type Op struct {
	// inputs is a set of input edges.
	Inputs []*Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// Types that are valid to be assigned to Op:
	//	*Op_Exec
	//	*Op_Source
	//	*Op_File
	//	*Op_Build
	Op          isOp_Op            `protobuf_oneof:"op"`
	Platform    *Platform          `protobuf:"bytes,10,opt,name=platform,proto3" json:"platform,omitempty"`
	Constraints *WorkerConstraints `protobuf:"bytes,11,opt,name=constraints,proto3" json:"constraints,omitempty"`
}

Op represents a vertex of the LLB DAG.

func (*Op) Descriptor

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

func (*Op) GetBuild

func (m *Op) GetBuild() *BuildOp

func (*Op) GetConstraints

func (m *Op) GetConstraints() *WorkerConstraints

func (*Op) GetExec

func (m *Op) GetExec() *ExecOp

func (*Op) GetFile added in v0.6.4

func (m *Op) GetFile() *FileOp

func (*Op) GetInputs

func (m *Op) GetInputs() []*Input

func (*Op) GetOp

func (m *Op) GetOp() isOp_Op

func (*Op) GetPlatform

func (m *Op) GetPlatform() *Platform

func (*Op) GetSource

func (m *Op) GetSource() *SourceOp

func (*Op) Marshal

func (m *Op) Marshal() (dAtA []byte, err error)

func (*Op) MarshalTo

func (m *Op) MarshalTo(dAtA []byte) (int, error)

func (*Op) ProtoMessage

func (*Op) ProtoMessage()

func (*Op) Reset

func (m *Op) Reset()

func (*Op) Size

func (m *Op) Size() (n int)

func (*Op) String

func (m *Op) String() string

func (*Op) Unmarshal

func (m *Op) Unmarshal(dAtA []byte) error

func (*Op) XXX_DiscardUnknown added in v0.6.4

func (m *Op) XXX_DiscardUnknown()

func (*Op) XXX_Marshal added in v0.6.4

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

func (*Op) XXX_Merge added in v0.6.4

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

func (*Op) XXX_OneofFuncs

func (*Op) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Op) XXX_Size added in v0.6.4

func (m *Op) XXX_Size() int

func (*Op) XXX_Unmarshal added in v0.6.4

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

type OpMetadata

type OpMetadata struct {
	// ignore_cache specifies to ignore the cache for this Op.
	IgnoreCache bool `protobuf:"varint,1,opt,name=ignore_cache,json=ignoreCache,proto3" json:"ignore_cache,omitempty"`
	// Description can be used for keeping any text fields that builder doesn't parse
	Description map[string]string `` /* 163-byte string literal not displayed */
	// index 3 reserved for WorkerConstraint in previous versions
	// WorkerConstraint worker_constraint = 3;
	ExportCache *ExportCache                                         `protobuf:"bytes,4,opt,name=export_cache,json=exportCache,proto3" json:"export_cache,omitempty"`
	Caps        map[github_com_moby_buildkit_util_apicaps.CapID]bool `` /* 195-byte string literal not displayed */
}

OpMetadata is a per-vertex metadata entry, which can be defined for arbitrary Op vertex and overridable on the run time.

func (*OpMetadata) Descriptor

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

func (*OpMetadata) GetCaps

func (*OpMetadata) GetDescription

func (m *OpMetadata) GetDescription() map[string]string

func (*OpMetadata) GetExportCache

func (m *OpMetadata) GetExportCache() *ExportCache

func (*OpMetadata) GetIgnoreCache

func (m *OpMetadata) GetIgnoreCache() bool

func (*OpMetadata) Marshal

func (m *OpMetadata) Marshal() (dAtA []byte, err error)

func (*OpMetadata) MarshalTo

func (m *OpMetadata) MarshalTo(dAtA []byte) (int, error)

func (*OpMetadata) ProtoMessage

func (*OpMetadata) ProtoMessage()

func (*OpMetadata) Reset

func (m *OpMetadata) Reset()

func (*OpMetadata) Size

func (m *OpMetadata) Size() (n int)

func (*OpMetadata) String

func (m *OpMetadata) String() string

func (*OpMetadata) Unmarshal

func (m *OpMetadata) Unmarshal(dAtA []byte) error

func (*OpMetadata) XXX_DiscardUnknown added in v0.6.4

func (m *OpMetadata) XXX_DiscardUnknown()

func (*OpMetadata) XXX_Marshal added in v0.6.4

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

func (*OpMetadata) XXX_Merge added in v0.6.4

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

func (*OpMetadata) XXX_Size added in v0.6.4

func (m *OpMetadata) XXX_Size() int

func (*OpMetadata) XXX_Unmarshal added in v0.6.4

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

type Op_Build

type Op_Build struct {
	Build *BuildOp `protobuf:"bytes,5,opt,name=build,proto3,oneof"`
}

func (*Op_Build) MarshalTo

func (m *Op_Build) MarshalTo(dAtA []byte) (int, error)

func (*Op_Build) Size

func (m *Op_Build) Size() (n int)

type Op_Exec

type Op_Exec struct {
	Exec *ExecOp `protobuf:"bytes,2,opt,name=exec,proto3,oneof"`
}

func (*Op_Exec) MarshalTo

func (m *Op_Exec) MarshalTo(dAtA []byte) (int, error)

func (*Op_Exec) Size

func (m *Op_Exec) Size() (n int)

type Op_File added in v0.6.4

type Op_File struct {
	File *FileOp `protobuf:"bytes,4,opt,name=file,proto3,oneof"`
}

func (*Op_File) MarshalTo added in v0.6.4

func (m *Op_File) MarshalTo(dAtA []byte) (int, error)

func (*Op_File) Size added in v0.6.4

func (m *Op_File) Size() (n int)

type Op_Source

type Op_Source struct {
	Source *SourceOp `protobuf:"bytes,3,opt,name=source,proto3,oneof"`
}

func (*Op_Source) MarshalTo

func (m *Op_Source) MarshalTo(dAtA []byte) (int, error)

func (*Op_Source) Size

func (m *Op_Source) Size() (n int)

type OutputIndex

type OutputIndex int64

OutputIndex is incrementing index that another vertex can depend on

const SkipOutput OutputIndex = -1

SkipOutput marks a disabled output index

type Platform

type Platform struct {
	Architecture string   `protobuf:"bytes,1,opt,name=Architecture,proto3" json:"Architecture,omitempty"`
	OS           string   `protobuf:"bytes,2,opt,name=OS,proto3" json:"OS,omitempty"`
	Variant      string   `protobuf:"bytes,3,opt,name=Variant,proto3" json:"Variant,omitempty"`
	OSVersion    string   `protobuf:"bytes,4,opt,name=OSVersion,proto3" json:"OSVersion,omitempty"`
	OSFeatures   []string `protobuf:"bytes,5,rep,name=OSFeatures,proto3" json:"OSFeatures,omitempty"`
}

Platform is github.com/opencontainers/image-spec/specs-go/v1.Platform

func PlatformFromSpec

func PlatformFromSpec(p specs.Platform) Platform

func PlatformsFromSpec

func PlatformsFromSpec(p []specs.Platform) []Platform

func (*Platform) Descriptor

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

func (*Platform) GetArchitecture

func (m *Platform) GetArchitecture() string

func (*Platform) GetOS

func (m *Platform) GetOS() string

func (*Platform) GetOSFeatures

func (m *Platform) GetOSFeatures() []string

func (*Platform) GetOSVersion

func (m *Platform) GetOSVersion() string

func (*Platform) GetVariant

func (m *Platform) GetVariant() string

func (*Platform) Marshal

func (m *Platform) Marshal() (dAtA []byte, err error)

func (*Platform) MarshalTo

func (m *Platform) MarshalTo(dAtA []byte) (int, error)

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) Reset

func (m *Platform) Reset()

func (*Platform) Size

func (m *Platform) Size() (n int)

func (*Platform) Spec

func (p *Platform) Spec() specs.Platform

func (*Platform) String

func (m *Platform) String() string

func (*Platform) Unmarshal

func (m *Platform) Unmarshal(dAtA []byte) error

func (*Platform) XXX_DiscardUnknown added in v0.6.4

func (m *Platform) XXX_DiscardUnknown()

func (*Platform) XXX_Marshal added in v0.6.4

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

func (*Platform) XXX_Merge added in v0.6.4

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

func (*Platform) XXX_Size added in v0.6.4

func (m *Platform) XXX_Size() int

func (*Platform) XXX_Unmarshal added in v0.6.4

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

type ProxyEnv

type ProxyEnv struct {
	HttpProxy  string `protobuf:"bytes,1,opt,name=http_proxy,json=httpProxy,proto3" json:"http_proxy,omitempty"`
	HttpsProxy string `protobuf:"bytes,2,opt,name=https_proxy,json=httpsProxy,proto3" json:"https_proxy,omitempty"`
	FtpProxy   string `protobuf:"bytes,3,opt,name=ftp_proxy,json=ftpProxy,proto3" json:"ftp_proxy,omitempty"`
	NoProxy    string `protobuf:"bytes,4,opt,name=no_proxy,json=noProxy,proto3" json:"no_proxy,omitempty"`
}

func (*ProxyEnv) Descriptor

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

func (*ProxyEnv) GetFtpProxy

func (m *ProxyEnv) GetFtpProxy() string

func (*ProxyEnv) GetHttpProxy

func (m *ProxyEnv) GetHttpProxy() string

func (*ProxyEnv) GetHttpsProxy

func (m *ProxyEnv) GetHttpsProxy() string

func (*ProxyEnv) GetNoProxy

func (m *ProxyEnv) GetNoProxy() string

func (*ProxyEnv) Marshal

func (m *ProxyEnv) Marshal() (dAtA []byte, err error)

func (*ProxyEnv) MarshalTo

func (m *ProxyEnv) MarshalTo(dAtA []byte) (int, error)

func (*ProxyEnv) ProtoMessage

func (*ProxyEnv) ProtoMessage()

func (*ProxyEnv) Reset

func (m *ProxyEnv) Reset()

func (*ProxyEnv) Size

func (m *ProxyEnv) Size() (n int)

func (*ProxyEnv) String

func (m *ProxyEnv) String() string

func (*ProxyEnv) Unmarshal

func (m *ProxyEnv) Unmarshal(dAtA []byte) error

func (*ProxyEnv) XXX_DiscardUnknown added in v0.6.4

func (m *ProxyEnv) XXX_DiscardUnknown()

func (*ProxyEnv) XXX_Marshal added in v0.6.4

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

func (*ProxyEnv) XXX_Merge added in v0.6.4

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

func (*ProxyEnv) XXX_Size added in v0.6.4

func (m *ProxyEnv) XXX_Size() int

func (*ProxyEnv) XXX_Unmarshal added in v0.6.4

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

type SSHOpt

type SSHOpt struct {
	// ID of exposed ssh rule. Used for quering the value.
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// UID of agent socket
	Uid uint32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// GID of agent socket
	Gid uint32 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"`
	// Mode is the filesystem mode of agent socket
	Mode uint32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"`
	// Optional defines if ssh socket is required. Error is produced
	// if client does not expose ssh.
	Optional bool `protobuf:"varint,5,opt,name=optional,proto3" json:"optional,omitempty"`
}

SSHOpt defines options describing secret mounts

func (*SSHOpt) Descriptor

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

func (*SSHOpt) GetGid

func (m *SSHOpt) GetGid() uint32

func (*SSHOpt) GetID

func (m *SSHOpt) GetID() string

func (*SSHOpt) GetMode

func (m *SSHOpt) GetMode() uint32

func (*SSHOpt) GetOptional

func (m *SSHOpt) GetOptional() bool

func (*SSHOpt) GetUid

func (m *SSHOpt) GetUid() uint32

func (*SSHOpt) Marshal

func (m *SSHOpt) Marshal() (dAtA []byte, err error)

func (*SSHOpt) MarshalTo

func (m *SSHOpt) MarshalTo(dAtA []byte) (int, error)

func (*SSHOpt) ProtoMessage

func (*SSHOpt) ProtoMessage()

func (*SSHOpt) Reset

func (m *SSHOpt) Reset()

func (*SSHOpt) Size

func (m *SSHOpt) Size() (n int)

func (*SSHOpt) String

func (m *SSHOpt) String() string

func (*SSHOpt) Unmarshal

func (m *SSHOpt) Unmarshal(dAtA []byte) error

func (*SSHOpt) XXX_DiscardUnknown added in v0.6.4

func (m *SSHOpt) XXX_DiscardUnknown()

func (*SSHOpt) XXX_Marshal added in v0.6.4

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

func (*SSHOpt) XXX_Merge added in v0.6.4

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

func (*SSHOpt) XXX_Size added in v0.6.4

func (m *SSHOpt) XXX_Size() int

func (*SSHOpt) XXX_Unmarshal added in v0.6.4

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

type SecretOpt

type SecretOpt struct {
	// ID of secret. Used for quering the value.
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// UID of secret file
	Uid uint32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// GID of secret file
	Gid uint32 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"`
	// Mode is the filesystem mode of secret file
	Mode uint32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"`
	// Optional defines if secret value is required. Error is produced
	// if value is not found and optional is false.
	Optional bool `protobuf:"varint,5,opt,name=optional,proto3" json:"optional,omitempty"`
}

SecretOpt defines options describing secret mounts

func (*SecretOpt) Descriptor

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

func (*SecretOpt) GetGid

func (m *SecretOpt) GetGid() uint32

func (*SecretOpt) GetID

func (m *SecretOpt) GetID() string

func (*SecretOpt) GetMode

func (m *SecretOpt) GetMode() uint32

func (*SecretOpt) GetOptional

func (m *SecretOpt) GetOptional() bool

func (*SecretOpt) GetUid

func (m *SecretOpt) GetUid() uint32

func (*SecretOpt) Marshal

func (m *SecretOpt) Marshal() (dAtA []byte, err error)

func (*SecretOpt) MarshalTo

func (m *SecretOpt) MarshalTo(dAtA []byte) (int, error)

func (*SecretOpt) ProtoMessage

func (*SecretOpt) ProtoMessage()

func (*SecretOpt) Reset

func (m *SecretOpt) Reset()

func (*SecretOpt) Size

func (m *SecretOpt) Size() (n int)

func (*SecretOpt) String

func (m *SecretOpt) String() string

func (*SecretOpt) Unmarshal

func (m *SecretOpt) Unmarshal(dAtA []byte) error

func (*SecretOpt) XXX_DiscardUnknown added in v0.6.4

func (m *SecretOpt) XXX_DiscardUnknown()

func (*SecretOpt) XXX_Marshal added in v0.6.4

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

func (*SecretOpt) XXX_Merge added in v0.6.4

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

func (*SecretOpt) XXX_Size added in v0.6.4

func (m *SecretOpt) XXX_Size() int

func (*SecretOpt) XXX_Unmarshal added in v0.6.4

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

type SecurityMode added in v0.6.4

type SecurityMode int32
const (
	SecurityMode_SANDBOX  SecurityMode = 0
	SecurityMode_INSECURE SecurityMode = 1
)

func (SecurityMode) EnumDescriptor added in v0.6.4

func (SecurityMode) EnumDescriptor() ([]byte, []int)

func (SecurityMode) String added in v0.6.4

func (x SecurityMode) String() string

type SourceOp

type SourceOp struct {
	// TODO: use source type or any type instead of URL protocol.
	// identifier e.g. local://, docker-image://, git://, https://...
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// attrs are defined in attr.go
	Attrs map[string]string `` /* 151-byte string literal not displayed */
}

SourceOp specifies a source such as build contexts and images.

func (*SourceOp) Descriptor

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

func (*SourceOp) GetAttrs

func (m *SourceOp) GetAttrs() map[string]string

func (*SourceOp) GetIdentifier

func (m *SourceOp) GetIdentifier() string

func (*SourceOp) Marshal

func (m *SourceOp) Marshal() (dAtA []byte, err error)

func (*SourceOp) MarshalTo

func (m *SourceOp) MarshalTo(dAtA []byte) (int, error)

func (*SourceOp) ProtoMessage

func (*SourceOp) ProtoMessage()

func (*SourceOp) Reset

func (m *SourceOp) Reset()

func (*SourceOp) Size

func (m *SourceOp) Size() (n int)

func (*SourceOp) String

func (m *SourceOp) String() string

func (*SourceOp) Unmarshal

func (m *SourceOp) Unmarshal(dAtA []byte) error

func (*SourceOp) XXX_DiscardUnknown added in v0.6.4

func (m *SourceOp) XXX_DiscardUnknown()

func (*SourceOp) XXX_Marshal added in v0.6.4

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

func (*SourceOp) XXX_Merge added in v0.6.4

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

func (*SourceOp) XXX_Size added in v0.6.4

func (m *SourceOp) XXX_Size() int

func (*SourceOp) XXX_Unmarshal added in v0.6.4

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

type UserOpt added in v0.6.4

type UserOpt struct {
	// Types that are valid to be assigned to User:
	//	*UserOpt_ByName
	//	*UserOpt_ByID
	User isUserOpt_User `protobuf_oneof:"user"`
}

func (*UserOpt) Descriptor added in v0.6.4

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

func (*UserOpt) GetByID added in v0.6.4

func (m *UserOpt) GetByID() uint32

func (*UserOpt) GetByName added in v0.6.4

func (m *UserOpt) GetByName() *NamedUserOpt

func (*UserOpt) GetUser added in v0.6.4

func (m *UserOpt) GetUser() isUserOpt_User

func (*UserOpt) Marshal added in v0.6.4

func (m *UserOpt) Marshal() (dAtA []byte, err error)

func (*UserOpt) MarshalTo added in v0.6.4

func (m *UserOpt) MarshalTo(dAtA []byte) (int, error)

func (*UserOpt) ProtoMessage added in v0.6.4

func (*UserOpt) ProtoMessage()

func (*UserOpt) Reset added in v0.6.4

func (m *UserOpt) Reset()

func (*UserOpt) Size added in v0.6.4

func (m *UserOpt) Size() (n int)

func (*UserOpt) String added in v0.6.4

func (m *UserOpt) String() string

func (*UserOpt) Unmarshal added in v0.6.4

func (m *UserOpt) Unmarshal(dAtA []byte) error

func (*UserOpt) XXX_DiscardUnknown added in v0.6.4

func (m *UserOpt) XXX_DiscardUnknown()

func (*UserOpt) XXX_Marshal added in v0.6.4

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

func (*UserOpt) XXX_Merge added in v0.6.4

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

func (*UserOpt) XXX_OneofFuncs added in v0.6.4

func (*UserOpt) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*UserOpt) XXX_Size added in v0.6.4

func (m *UserOpt) XXX_Size() int

func (*UserOpt) XXX_Unmarshal added in v0.6.4

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

type UserOpt_ByID added in v0.6.4

type UserOpt_ByID struct {
	ByID uint32 `protobuf:"varint,2,opt,name=byID,proto3,oneof"`
}

func (*UserOpt_ByID) MarshalTo added in v0.6.4

func (m *UserOpt_ByID) MarshalTo(dAtA []byte) (int, error)

func (*UserOpt_ByID) Size added in v0.6.4

func (m *UserOpt_ByID) Size() (n int)

type UserOpt_ByName added in v0.6.4

type UserOpt_ByName struct {
	ByName *NamedUserOpt `protobuf:"bytes,1,opt,name=byName,proto3,oneof"`
}

func (*UserOpt_ByName) MarshalTo added in v0.6.4

func (m *UserOpt_ByName) MarshalTo(dAtA []byte) (int, error)

func (*UserOpt_ByName) Size added in v0.6.4

func (m *UserOpt_ByName) Size() (n int)

type WorkerConstraints

type WorkerConstraints struct {
	Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"`
}

WorkerConstraints defines conditions for the worker

func (*WorkerConstraints) Descriptor

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

func (*WorkerConstraints) GetFilter

func (m *WorkerConstraints) GetFilter() []string

func (*WorkerConstraints) Marshal

func (m *WorkerConstraints) Marshal() (dAtA []byte, err error)

func (*WorkerConstraints) MarshalTo

func (m *WorkerConstraints) MarshalTo(dAtA []byte) (int, error)

func (*WorkerConstraints) ProtoMessage

func (*WorkerConstraints) ProtoMessage()

func (*WorkerConstraints) Reset

func (m *WorkerConstraints) Reset()

func (*WorkerConstraints) Size

func (m *WorkerConstraints) Size() (n int)

func (*WorkerConstraints) String

func (m *WorkerConstraints) String() string

func (*WorkerConstraints) Unmarshal

func (m *WorkerConstraints) Unmarshal(dAtA []byte) error

func (*WorkerConstraints) XXX_DiscardUnknown added in v0.6.4

func (m *WorkerConstraints) XXX_DiscardUnknown()

func (*WorkerConstraints) XXX_Marshal added in v0.6.4

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

func (*WorkerConstraints) XXX_Merge added in v0.6.4

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

func (*WorkerConstraints) XXX_Size added in v0.6.4

func (m *WorkerConstraints) XXX_Size() int

func (*WorkerConstraints) XXX_Unmarshal added in v0.6.4

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

Jump to

Keyboard shortcuts

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