Documentation ¶
Index ¶
- Constants
- Variables
- func ToSpecPlatforms(p []Platform) []ocispecs.Platform
- type BuildInput
- func (*BuildInput) Descriptor() ([]byte, []int)
- func (m *BuildInput) Marshal() (dAtA []byte, err error)
- func (m *BuildInput) MarshalTo(dAtA []byte) (int, error)
- func (m *BuildInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BuildInput) ProtoMessage()
- func (m *BuildInput) Reset()
- func (m *BuildInput) Size() (n int)
- func (m *BuildInput) String() string
- func (m *BuildInput) Unmarshal(dAtA []byte) error
- func (m *BuildInput) XXX_DiscardUnknown()
- func (m *BuildInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildInput) XXX_Merge(src proto.Message)
- func (m *BuildInput) XXX_Size() int
- func (m *BuildInput) XXX_Unmarshal(b []byte) error
- type BuildOp
- func (*BuildOp) Descriptor() ([]byte, []int)
- func (m *BuildOp) GetAttrs() map[string]string
- func (m *BuildOp) GetDef() *Definition
- func (m *BuildOp) GetInputs() map[string]*BuildInput
- func (m *BuildOp) Marshal() (dAtA []byte, err error)
- func (m *BuildOp) MarshalTo(dAtA []byte) (int, error)
- func (m *BuildOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BuildOp) ProtoMessage()
- func (m *BuildOp) Reset()
- func (m *BuildOp) Size() (n int)
- func (m *BuildOp) String() string
- func (m *BuildOp) Unmarshal(dAtA []byte) error
- func (m *BuildOp) XXX_DiscardUnknown()
- func (m *BuildOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildOp) XXX_Merge(src proto.Message)
- func (m *BuildOp) XXX_Size() int
- func (m *BuildOp) XXX_Unmarshal(b []byte) error
- type CacheOpt
- func (*CacheOpt) Descriptor() ([]byte, []int)
- func (m *CacheOpt) GetID() string
- func (m *CacheOpt) GetSharing() CacheSharingOpt
- func (m *CacheOpt) Marshal() (dAtA []byte, err error)
- func (m *CacheOpt) MarshalTo(dAtA []byte) (int, error)
- func (m *CacheOpt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CacheOpt) ProtoMessage()
- func (m *CacheOpt) Reset()
- func (m *CacheOpt) Size() (n int)
- func (m *CacheOpt) String() string
- func (m *CacheOpt) Unmarshal(dAtA []byte) error
- func (m *CacheOpt) XXX_DiscardUnknown()
- func (m *CacheOpt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CacheOpt) XXX_Merge(src proto.Message)
- func (m *CacheOpt) XXX_Size() int
- func (m *CacheOpt) XXX_Unmarshal(b []byte) error
- type CacheSharingOpt
- type ChownOpt
- func (*ChownOpt) Descriptor() ([]byte, []int)
- func (m *ChownOpt) GetGroup() *UserOpt
- func (m *ChownOpt) GetUser() *UserOpt
- func (m *ChownOpt) Marshal() (dAtA []byte, err error)
- func (m *ChownOpt) MarshalTo(dAtA []byte) (int, error)
- func (m *ChownOpt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChownOpt) ProtoMessage()
- func (m *ChownOpt) Reset()
- func (m *ChownOpt) Size() (n int)
- func (m *ChownOpt) String() string
- func (m *ChownOpt) Unmarshal(dAtA []byte) error
- func (m *ChownOpt) XXX_DiscardUnknown()
- func (m *ChownOpt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChownOpt) XXX_Merge(src proto.Message)
- func (m *ChownOpt) XXX_Size() int
- func (m *ChownOpt) XXX_Unmarshal(b []byte) error
- type Definition
- func (*Definition) Descriptor() ([]byte, []int)
- func (m *Definition) GetDef() [][]byte
- func (m *Definition) GetMetadata() map[github_com_opencontainers_go_digest.Digest]OpMetadata
- func (m *Definition) GetSource() *Source
- func (m *Definition) Marshal() (dAtA []byte, err error)
- func (m *Definition) MarshalTo(dAtA []byte) (int, error)
- func (m *Definition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Definition) ProtoMessage()
- func (m *Definition) Reset()
- func (m *Definition) Size() (n int)
- func (m *Definition) String() string
- func (m *Definition) Unmarshal(dAtA []byte) error
- func (m *Definition) XXX_DiscardUnknown()
- func (m *Definition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Definition) XXX_Merge(src proto.Message)
- func (m *Definition) XXX_Size() int
- func (m *Definition) XXX_Unmarshal(b []byte) error
- type DiffOp
- func (*DiffOp) Descriptor() ([]byte, []int)
- func (m *DiffOp) GetLower() *LowerDiffInput
- func (m *DiffOp) GetUpper() *UpperDiffInput
- func (m *DiffOp) Marshal() (dAtA []byte, err error)
- func (m *DiffOp) MarshalTo(dAtA []byte) (int, error)
- func (m *DiffOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DiffOp) ProtoMessage()
- func (m *DiffOp) Reset()
- func (m *DiffOp) Size() (n int)
- func (m *DiffOp) String() string
- func (m *DiffOp) Unmarshal(dAtA []byte) error
- func (m *DiffOp) XXX_DiscardUnknown()
- func (m *DiffOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiffOp) XXX_Merge(src proto.Message)
- func (m *DiffOp) XXX_Size() int
- func (m *DiffOp) XXX_Unmarshal(b []byte) error
- type ExecOp
- func (*ExecOp) Descriptor() ([]byte, []int)
- func (m *ExecOp) GetMeta() *Meta
- func (m *ExecOp) GetMounts() []*Mount
- func (m *ExecOp) GetNetwork() NetMode
- func (m *ExecOp) GetSecretenv() []*SecretEnv
- func (m *ExecOp) GetSecurity() SecurityMode
- func (m *ExecOp) Marshal() (dAtA []byte, err error)
- func (m *ExecOp) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExecOp) ProtoMessage()
- func (m *ExecOp) Reset()
- func (m *ExecOp) Size() (n int)
- func (m *ExecOp) String() string
- func (m *ExecOp) Unmarshal(dAtA []byte) error
- func (m *ExecOp) XXX_DiscardUnknown()
- func (m *ExecOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecOp) XXX_Merge(src proto.Message)
- func (m *ExecOp) XXX_Size() int
- func (m *ExecOp) XXX_Unmarshal(b []byte) error
- type ExportCache
- func (*ExportCache) Descriptor() ([]byte, []int)
- func (m *ExportCache) GetValue() bool
- func (m *ExportCache) Marshal() (dAtA []byte, err error)
- func (m *ExportCache) MarshalTo(dAtA []byte) (int, error)
- func (m *ExportCache) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExportCache) ProtoMessage()
- func (m *ExportCache) Reset()
- func (m *ExportCache) Size() (n int)
- func (m *ExportCache) String() string
- func (m *ExportCache) Unmarshal(dAtA []byte) error
- func (m *ExportCache) XXX_DiscardUnknown()
- func (m *ExportCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExportCache) XXX_Merge(src proto.Message)
- func (m *ExportCache) XXX_Size() int
- func (m *ExportCache) XXX_Unmarshal(b []byte) error
- type FileAction
- func (*FileAction) Descriptor() ([]byte, []int)
- func (m *FileAction) GetAction() isFileAction_Action
- func (m *FileAction) GetCopy() *FileActionCopy
- func (m *FileAction) GetMkdir() *FileActionMkDir
- func (m *FileAction) GetMkfile() *FileActionMkFile
- func (m *FileAction) GetRm() *FileActionRm
- func (m *FileAction) Marshal() (dAtA []byte, err error)
- func (m *FileAction) MarshalTo(dAtA []byte) (int, error)
- func (m *FileAction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileAction) ProtoMessage()
- func (m *FileAction) Reset()
- func (m *FileAction) Size() (n int)
- func (m *FileAction) String() string
- func (m *FileAction) Unmarshal(dAtA []byte) error
- func (m *FileAction) UnmarshalJSON(data []byte) error
- func (m *FileAction) XXX_DiscardUnknown()
- func (m *FileAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileAction) XXX_Merge(src proto.Message)
- func (*FileAction) XXX_OneofWrappers() []interface{}
- func (m *FileAction) XXX_Size() int
- func (m *FileAction) XXX_Unmarshal(b []byte) error
- type FileActionCopy
- func (*FileActionCopy) Descriptor() ([]byte, []int)
- func (m *FileActionCopy) GetAllowEmptyWildcard() bool
- func (m *FileActionCopy) GetAllowWildcard() bool
- func (m *FileActionCopy) GetAlwaysReplaceExistingDestPaths() bool
- func (m *FileActionCopy) GetAttemptUnpackDockerCompatibility() bool
- func (m *FileActionCopy) GetCreateDestPath() bool
- func (m *FileActionCopy) GetDest() string
- func (m *FileActionCopy) GetDirCopyContents() bool
- func (m *FileActionCopy) GetExcludePatterns() []string
- func (m *FileActionCopy) GetFollowSymlink() bool
- func (m *FileActionCopy) GetIncludePatterns() []string
- func (m *FileActionCopy) GetMode() int32
- func (m *FileActionCopy) GetOwner() *ChownOpt
- func (m *FileActionCopy) GetSrc() string
- func (m *FileActionCopy) GetTimestamp() int64
- func (m *FileActionCopy) Marshal() (dAtA []byte, err error)
- func (m *FileActionCopy) MarshalTo(dAtA []byte) (int, error)
- func (m *FileActionCopy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileActionCopy) ProtoMessage()
- func (m *FileActionCopy) Reset()
- func (m *FileActionCopy) Size() (n int)
- func (m *FileActionCopy) String() string
- func (m *FileActionCopy) Unmarshal(dAtA []byte) error
- func (m *FileActionCopy) XXX_DiscardUnknown()
- func (m *FileActionCopy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileActionCopy) XXX_Merge(src proto.Message)
- func (m *FileActionCopy) XXX_Size() int
- func (m *FileActionCopy) XXX_Unmarshal(b []byte) error
- type FileActionMkDir
- func (*FileActionMkDir) Descriptor() ([]byte, []int)
- func (m *FileActionMkDir) GetMakeParents() bool
- func (m *FileActionMkDir) GetMode() int32
- func (m *FileActionMkDir) GetOwner() *ChownOpt
- func (m *FileActionMkDir) GetPath() string
- func (m *FileActionMkDir) GetTimestamp() int64
- func (m *FileActionMkDir) Marshal() (dAtA []byte, err error)
- func (m *FileActionMkDir) MarshalTo(dAtA []byte) (int, error)
- func (m *FileActionMkDir) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileActionMkDir) ProtoMessage()
- func (m *FileActionMkDir) Reset()
- func (m *FileActionMkDir) Size() (n int)
- func (m *FileActionMkDir) String() string
- func (m *FileActionMkDir) Unmarshal(dAtA []byte) error
- func (m *FileActionMkDir) XXX_DiscardUnknown()
- func (m *FileActionMkDir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileActionMkDir) XXX_Merge(src proto.Message)
- func (m *FileActionMkDir) XXX_Size() int
- func (m *FileActionMkDir) XXX_Unmarshal(b []byte) error
- type FileActionMkFile
- func (*FileActionMkFile) Descriptor() ([]byte, []int)
- func (m *FileActionMkFile) GetData() []byte
- func (m *FileActionMkFile) GetMode() int32
- func (m *FileActionMkFile) GetOwner() *ChownOpt
- func (m *FileActionMkFile) GetPath() string
- func (m *FileActionMkFile) GetTimestamp() int64
- func (m *FileActionMkFile) Marshal() (dAtA []byte, err error)
- func (m *FileActionMkFile) MarshalTo(dAtA []byte) (int, error)
- func (m *FileActionMkFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileActionMkFile) ProtoMessage()
- func (m *FileActionMkFile) Reset()
- func (m *FileActionMkFile) Size() (n int)
- func (m *FileActionMkFile) String() string
- func (m *FileActionMkFile) Unmarshal(dAtA []byte) error
- func (m *FileActionMkFile) XXX_DiscardUnknown()
- func (m *FileActionMkFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileActionMkFile) XXX_Merge(src proto.Message)
- func (m *FileActionMkFile) XXX_Size() int
- func (m *FileActionMkFile) XXX_Unmarshal(b []byte) error
- type FileActionRm
- func (*FileActionRm) Descriptor() ([]byte, []int)
- func (m *FileActionRm) GetAllowNotFound() bool
- func (m *FileActionRm) GetAllowWildcard() bool
- func (m *FileActionRm) GetPath() string
- func (m *FileActionRm) Marshal() (dAtA []byte, err error)
- func (m *FileActionRm) MarshalTo(dAtA []byte) (int, error)
- func (m *FileActionRm) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileActionRm) ProtoMessage()
- func (m *FileActionRm) Reset()
- func (m *FileActionRm) Size() (n int)
- func (m *FileActionRm) String() string
- func (m *FileActionRm) Unmarshal(dAtA []byte) error
- func (m *FileActionRm) XXX_DiscardUnknown()
- func (m *FileActionRm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileActionRm) XXX_Merge(src proto.Message)
- func (m *FileActionRm) XXX_Size() int
- func (m *FileActionRm) XXX_Unmarshal(b []byte) error
- type FileAction_Copy
- type FileAction_Mkdir
- type FileAction_Mkfile
- type FileAction_Rm
- type FileOp
- func (*FileOp) Descriptor() ([]byte, []int)
- func (m *FileOp) GetActions() []*FileAction
- func (m *FileOp) Marshal() (dAtA []byte, err error)
- func (m *FileOp) MarshalTo(dAtA []byte) (int, error)
- func (m *FileOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileOp) ProtoMessage()
- func (m *FileOp) Reset()
- func (m *FileOp) Size() (n int)
- func (m *FileOp) String() string
- func (m *FileOp) Unmarshal(dAtA []byte) error
- func (m *FileOp) XXX_DiscardUnknown()
- func (m *FileOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileOp) XXX_Merge(src proto.Message)
- func (m *FileOp) XXX_Size() int
- func (m *FileOp) XXX_Unmarshal(b []byte) error
- type HostIP
- func (*HostIP) Descriptor() ([]byte, []int)
- func (m *HostIP) GetHost() string
- func (m *HostIP) GetIP() string
- func (m *HostIP) Marshal() (dAtA []byte, err error)
- func (m *HostIP) MarshalTo(dAtA []byte) (int, error)
- func (m *HostIP) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HostIP) ProtoMessage()
- func (m *HostIP) Reset()
- func (m *HostIP) Size() (n int)
- func (m *HostIP) String() string
- func (m *HostIP) Unmarshal(dAtA []byte) error
- func (m *HostIP) XXX_DiscardUnknown()
- func (m *HostIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HostIP) XXX_Merge(src proto.Message)
- func (m *HostIP) XXX_Size() int
- func (m *HostIP) XXX_Unmarshal(b []byte) error
- type Input
- func (*Input) Descriptor() ([]byte, []int)
- func (m *Input) Marshal() (dAtA []byte, err error)
- func (m *Input) MarshalTo(dAtA []byte) (int, error)
- func (m *Input) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Input) ProtoMessage()
- func (m *Input) Reset()
- func (m *Input) Size() (n int)
- func (m *Input) String() string
- func (m *Input) Unmarshal(dAtA []byte) error
- func (m *Input) XXX_DiscardUnknown()
- func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Input) XXX_Merge(src proto.Message)
- func (m *Input) XXX_Size() int
- func (m *Input) XXX_Unmarshal(b []byte) error
- type InputIndex
- type IsFileAction
- type Location
- func (*Location) Descriptor() ([]byte, []int)
- func (m *Location) GetRanges() []*Range
- func (m *Location) GetSourceIndex() int32
- func (m *Location) Marshal() (dAtA []byte, err error)
- func (m *Location) MarshalTo(dAtA []byte) (int, error)
- func (m *Location) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Location) ProtoMessage()
- func (m *Location) Reset()
- func (m *Location) Size() (n int)
- func (m *Location) String() string
- func (m *Location) Unmarshal(dAtA []byte) error
- func (m *Location) XXX_DiscardUnknown()
- func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Location) XXX_Merge(src proto.Message)
- func (m *Location) XXX_Size() int
- func (m *Location) XXX_Unmarshal(b []byte) error
- type Locations
- func (*Locations) Descriptor() ([]byte, []int)
- func (m *Locations) GetLocations() []*Location
- func (m *Locations) Marshal() (dAtA []byte, err error)
- func (m *Locations) MarshalTo(dAtA []byte) (int, error)
- func (m *Locations) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Locations) ProtoMessage()
- func (m *Locations) Reset()
- func (m *Locations) Size() (n int)
- func (m *Locations) String() string
- func (m *Locations) Unmarshal(dAtA []byte) error
- func (m *Locations) XXX_DiscardUnknown()
- func (m *Locations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Locations) XXX_Merge(src proto.Message)
- func (m *Locations) XXX_Size() int
- func (m *Locations) XXX_Unmarshal(b []byte) error
- type LowerDiffInput
- func (*LowerDiffInput) Descriptor() ([]byte, []int)
- func (m *LowerDiffInput) Marshal() (dAtA []byte, err error)
- func (m *LowerDiffInput) MarshalTo(dAtA []byte) (int, error)
- func (m *LowerDiffInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LowerDiffInput) ProtoMessage()
- func (m *LowerDiffInput) Reset()
- func (m *LowerDiffInput) Size() (n int)
- func (m *LowerDiffInput) String() string
- func (m *LowerDiffInput) Unmarshal(dAtA []byte) error
- func (m *LowerDiffInput) XXX_DiscardUnknown()
- func (m *LowerDiffInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LowerDiffInput) XXX_Merge(src proto.Message)
- func (m *LowerDiffInput) XXX_Size() int
- func (m *LowerDiffInput) XXX_Unmarshal(b []byte) error
- type MergeInput
- func (*MergeInput) Descriptor() ([]byte, []int)
- func (m *MergeInput) Marshal() (dAtA []byte, err error)
- func (m *MergeInput) MarshalTo(dAtA []byte) (int, error)
- func (m *MergeInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MergeInput) ProtoMessage()
- func (m *MergeInput) Reset()
- func (m *MergeInput) Size() (n int)
- func (m *MergeInput) String() string
- func (m *MergeInput) Unmarshal(dAtA []byte) error
- func (m *MergeInput) XXX_DiscardUnknown()
- func (m *MergeInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MergeInput) XXX_Merge(src proto.Message)
- func (m *MergeInput) XXX_Size() int
- func (m *MergeInput) XXX_Unmarshal(b []byte) error
- type MergeOp
- func (*MergeOp) Descriptor() ([]byte, []int)
- func (m *MergeOp) GetInputs() []*MergeInput
- func (m *MergeOp) Marshal() (dAtA []byte, err error)
- func (m *MergeOp) MarshalTo(dAtA []byte) (int, error)
- func (m *MergeOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MergeOp) ProtoMessage()
- func (m *MergeOp) Reset()
- func (m *MergeOp) Size() (n int)
- func (m *MergeOp) String() string
- func (m *MergeOp) Unmarshal(dAtA []byte) error
- func (m *MergeOp) XXX_DiscardUnknown()
- func (m *MergeOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MergeOp) XXX_Merge(src proto.Message)
- func (m *MergeOp) XXX_Size() int
- func (m *MergeOp) XXX_Unmarshal(b []byte) error
- type Meta
- func (*Meta) Descriptor() ([]byte, []int)
- func (m *Meta) GetArgs() []string
- func (m *Meta) GetCgroupParent() string
- func (m *Meta) GetCwd() string
- func (m *Meta) GetEnv() []string
- func (m *Meta) GetExtraHosts() []*HostIP
- func (m *Meta) GetHostname() string
- func (m *Meta) GetProxyEnv() *ProxyEnv
- func (m *Meta) GetRemoveMountStubsRecursive() bool
- func (m *Meta) GetUlimit() []*Ulimit
- func (m *Meta) GetUser() string
- func (m *Meta) Marshal() (dAtA []byte, err error)
- func (m *Meta) MarshalTo(dAtA []byte) (int, error)
- func (m *Meta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Meta) ProtoMessage()
- func (m *Meta) Reset()
- func (m *Meta) Size() (n int)
- func (m *Meta) String() string
- func (m *Meta) Unmarshal(dAtA []byte) error
- func (m *Meta) XXX_DiscardUnknown()
- func (m *Meta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Meta) XXX_Merge(src proto.Message)
- func (m *Meta) XXX_Size() int
- func (m *Meta) XXX_Unmarshal(b []byte) error
- type Mount
- func (*Mount) Descriptor() ([]byte, []int)
- func (m *Mount) GetCacheOpt() *CacheOpt
- func (m *Mount) GetContentCache() MountContentCache
- func (m *Mount) GetDest() string
- func (m *Mount) GetMountType() MountType
- func (m *Mount) GetReadonly() bool
- func (m *Mount) GetResultID() string
- func (m *Mount) GetSSHOpt() *SSHOpt
- func (m *Mount) GetSecretOpt() *SecretOpt
- func (m *Mount) GetSelector() string
- func (m *Mount) GetTmpfsOpt() *TmpfsOpt
- func (m *Mount) Marshal() (dAtA []byte, err error)
- func (m *Mount) MarshalTo(dAtA []byte) (int, error)
- func (m *Mount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Mount) ProtoMessage()
- func (m *Mount) Reset()
- func (m *Mount) Size() (n int)
- func (m *Mount) String() string
- func (m *Mount) Unmarshal(dAtA []byte) error
- func (m *Mount) XXX_DiscardUnknown()
- func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Mount) XXX_Merge(src proto.Message)
- func (m *Mount) XXX_Size() int
- func (m *Mount) XXX_Unmarshal(b []byte) error
- type MountContentCache
- type MountType
- type NamedUserOpt
- func (*NamedUserOpt) Descriptor() ([]byte, []int)
- func (m *NamedUserOpt) GetName() string
- func (m *NamedUserOpt) Marshal() (dAtA []byte, err error)
- func (m *NamedUserOpt) MarshalTo(dAtA []byte) (int, error)
- func (m *NamedUserOpt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NamedUserOpt) ProtoMessage()
- func (m *NamedUserOpt) Reset()
- func (m *NamedUserOpt) Size() (n int)
- func (m *NamedUserOpt) String() string
- func (m *NamedUserOpt) Unmarshal(dAtA []byte) error
- func (m *NamedUserOpt) XXX_DiscardUnknown()
- func (m *NamedUserOpt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NamedUserOpt) XXX_Merge(src proto.Message)
- func (m *NamedUserOpt) XXX_Size() int
- func (m *NamedUserOpt) XXX_Unmarshal(b []byte) error
- type NetMode
- type Op
- func (*Op) Descriptor() ([]byte, []int)
- func (m *Op) GetBuild() *BuildOp
- func (m *Op) GetConstraints() *WorkerConstraints
- func (m *Op) GetDiff() *DiffOp
- func (m *Op) GetExec() *ExecOp
- func (m *Op) GetFile() *FileOp
- func (m *Op) GetInputs() []*Input
- func (m *Op) GetMerge() *MergeOp
- func (m *Op) GetOp() isOp_Op
- func (m *Op) GetPlatform() *Platform
- func (m *Op) GetSource() *SourceOp
- func (m *Op) Marshal() (dAtA []byte, err error)
- func (m *Op) MarshalTo(dAtA []byte) (int, error)
- func (m *Op) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Op) ProtoMessage()
- func (m *Op) Reset()
- func (m *Op) Size() (n int)
- func (m *Op) String() string
- func (m *Op) Unmarshal(dAtA []byte) error
- func (m *Op) UnmarshalJSON(data []byte) error
- func (m *Op) XXX_DiscardUnknown()
- func (m *Op) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Op) XXX_Merge(src proto.Message)
- func (*Op) XXX_OneofWrappers() []interface{}
- func (m *Op) XXX_Size() int
- func (m *Op) XXX_Unmarshal(b []byte) error
- type OpMetadata
- func (*OpMetadata) Descriptor() ([]byte, []int)
- func (m *OpMetadata) GetCaps() map[github_com_moby_buildkit_util_apicaps.CapID]bool
- func (m *OpMetadata) GetDescription() map[string]string
- func (m *OpMetadata) GetExportCache() *ExportCache
- func (m *OpMetadata) GetIgnoreCache() bool
- func (m *OpMetadata) GetProgressGroup() *ProgressGroup
- func (m *OpMetadata) Marshal() (dAtA []byte, err error)
- func (m *OpMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *OpMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OpMetadata) ProtoMessage()
- func (m *OpMetadata) Reset()
- func (m *OpMetadata) Size() (n int)
- func (m *OpMetadata) String() string
- func (m *OpMetadata) Unmarshal(dAtA []byte) error
- func (m *OpMetadata) XXX_DiscardUnknown()
- func (m *OpMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpMetadata) XXX_Merge(src proto.Message)
- func (m *OpMetadata) XXX_Size() int
- func (m *OpMetadata) XXX_Unmarshal(b []byte) error
- type Op_Build
- type Op_Diff
- type Op_Exec
- type Op_File
- type Op_Merge
- type Op_Source
- type OutputIndex
- type Platform
- func (*Platform) Descriptor() ([]byte, []int)
- func (m *Platform) GetArchitecture() string
- func (m *Platform) GetOS() string
- func (m *Platform) GetOSFeatures() []string
- func (m *Platform) GetOSVersion() string
- func (m *Platform) GetVariant() string
- func (m *Platform) Marshal() (dAtA []byte, err error)
- func (m *Platform) MarshalTo(dAtA []byte) (int, error)
- func (m *Platform) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Platform) ProtoMessage()
- func (m *Platform) Reset()
- func (m *Platform) Size() (n int)
- func (p *Platform) Spec() ocispecs.Platform
- func (m *Platform) String() string
- func (m *Platform) Unmarshal(dAtA []byte) error
- func (m *Platform) XXX_DiscardUnknown()
- func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Platform) XXX_Merge(src proto.Message)
- func (m *Platform) XXX_Size() int
- func (m *Platform) XXX_Unmarshal(b []byte) error
- type Position
- func (*Position) Descriptor() ([]byte, []int)
- func (m *Position) GetCharacter() int32
- func (m *Position) GetLine() int32
- func (m *Position) Marshal() (dAtA []byte, err error)
- func (m *Position) MarshalTo(dAtA []byte) (int, error)
- func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Position) ProtoMessage()
- func (m *Position) Reset()
- func (m *Position) Size() (n int)
- func (m *Position) String() string
- func (m *Position) Unmarshal(dAtA []byte) error
- func (m *Position) XXX_DiscardUnknown()
- func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Position) XXX_Merge(src proto.Message)
- func (m *Position) XXX_Size() int
- func (m *Position) XXX_Unmarshal(b []byte) error
- type ProgressGroup
- func (*ProgressGroup) Descriptor() ([]byte, []int)
- func (m *ProgressGroup) GetId() string
- func (m *ProgressGroup) GetName() string
- func (m *ProgressGroup) GetWeak() bool
- func (m *ProgressGroup) Marshal() (dAtA []byte, err error)
- func (m *ProgressGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *ProgressGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProgressGroup) ProtoMessage()
- func (m *ProgressGroup) Reset()
- func (m *ProgressGroup) Size() (n int)
- func (m *ProgressGroup) String() string
- func (m *ProgressGroup) Unmarshal(dAtA []byte) error
- func (m *ProgressGroup) XXX_DiscardUnknown()
- func (m *ProgressGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProgressGroup) XXX_Merge(src proto.Message)
- func (m *ProgressGroup) XXX_Size() int
- func (m *ProgressGroup) XXX_Unmarshal(b []byte) error
- type ProxyEnv
- func (*ProxyEnv) Descriptor() ([]byte, []int)
- func (m *ProxyEnv) GetAllProxy() string
- func (m *ProxyEnv) GetFtpProxy() string
- func (m *ProxyEnv) GetHttpProxy() string
- func (m *ProxyEnv) GetHttpsProxy() string
- func (m *ProxyEnv) GetNoProxy() string
- func (m *ProxyEnv) Marshal() (dAtA []byte, err error)
- func (m *ProxyEnv) MarshalTo(dAtA []byte) (int, error)
- func (m *ProxyEnv) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProxyEnv) ProtoMessage()
- func (m *ProxyEnv) Reset()
- func (m *ProxyEnv) Size() (n int)
- func (m *ProxyEnv) String() string
- func (m *ProxyEnv) Unmarshal(dAtA []byte) error
- func (m *ProxyEnv) XXX_DiscardUnknown()
- func (m *ProxyEnv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProxyEnv) XXX_Merge(src proto.Message)
- func (m *ProxyEnv) XXX_Size() int
- func (m *ProxyEnv) XXX_Unmarshal(b []byte) error
- type Range
- func (*Range) Descriptor() ([]byte, []int)
- func (m *Range) GetEnd() Position
- func (m *Range) GetStart() Position
- func (m *Range) Marshal() (dAtA []byte, err error)
- func (m *Range) MarshalTo(dAtA []byte) (int, error)
- func (m *Range) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Range) ProtoMessage()
- func (m *Range) Reset()
- func (m *Range) Size() (n int)
- func (m *Range) String() string
- func (m *Range) Unmarshal(dAtA []byte) error
- func (m *Range) XXX_DiscardUnknown()
- func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Range) XXX_Merge(src proto.Message)
- func (m *Range) XXX_Size() int
- func (m *Range) XXX_Unmarshal(b []byte) error
- type SSHOpt
- func (*SSHOpt) Descriptor() ([]byte, []int)
- func (m *SSHOpt) GetGid() uint32
- func (m *SSHOpt) GetID() string
- func (m *SSHOpt) GetMode() uint32
- func (m *SSHOpt) GetOptional() bool
- func (m *SSHOpt) GetUid() uint32
- func (m *SSHOpt) Marshal() (dAtA []byte, err error)
- func (m *SSHOpt) MarshalTo(dAtA []byte) (int, error)
- func (m *SSHOpt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SSHOpt) ProtoMessage()
- func (m *SSHOpt) Reset()
- func (m *SSHOpt) Size() (n int)
- func (m *SSHOpt) String() string
- func (m *SSHOpt) Unmarshal(dAtA []byte) error
- func (m *SSHOpt) XXX_DiscardUnknown()
- func (m *SSHOpt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SSHOpt) XXX_Merge(src proto.Message)
- func (m *SSHOpt) XXX_Size() int
- func (m *SSHOpt) XXX_Unmarshal(b []byte) error
- type SecretEnv
- func (*SecretEnv) Descriptor() ([]byte, []int)
- func (m *SecretEnv) GetID() string
- func (m *SecretEnv) GetName() string
- func (m *SecretEnv) GetOptional() bool
- func (m *SecretEnv) Marshal() (dAtA []byte, err error)
- func (m *SecretEnv) MarshalTo(dAtA []byte) (int, error)
- func (m *SecretEnv) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SecretEnv) ProtoMessage()
- func (m *SecretEnv) Reset()
- func (m *SecretEnv) Size() (n int)
- func (m *SecretEnv) String() string
- func (m *SecretEnv) Unmarshal(dAtA []byte) error
- func (m *SecretEnv) XXX_DiscardUnknown()
- func (m *SecretEnv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SecretEnv) XXX_Merge(src proto.Message)
- func (m *SecretEnv) XXX_Size() int
- func (m *SecretEnv) XXX_Unmarshal(b []byte) error
- type SecretOpt
- func (*SecretOpt) Descriptor() ([]byte, []int)
- func (m *SecretOpt) GetGid() uint32
- func (m *SecretOpt) GetID() string
- func (m *SecretOpt) GetMode() uint32
- func (m *SecretOpt) GetOptional() bool
- func (m *SecretOpt) GetUid() uint32
- func (m *SecretOpt) Marshal() (dAtA []byte, err error)
- func (m *SecretOpt) MarshalTo(dAtA []byte) (int, error)
- func (m *SecretOpt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SecretOpt) ProtoMessage()
- func (m *SecretOpt) Reset()
- func (m *SecretOpt) Size() (n int)
- func (m *SecretOpt) String() string
- func (m *SecretOpt) Unmarshal(dAtA []byte) error
- func (m *SecretOpt) XXX_DiscardUnknown()
- func (m *SecretOpt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SecretOpt) XXX_Merge(src proto.Message)
- func (m *SecretOpt) XXX_Size() int
- func (m *SecretOpt) XXX_Unmarshal(b []byte) error
- type SecurityMode
- type Source
- func (*Source) Descriptor() ([]byte, []int)
- func (m *Source) GetInfos() []*SourceInfo
- func (m *Source) GetLocations() map[string]*Locations
- func (m *Source) Marshal() (dAtA []byte, err error)
- func (m *Source) MarshalTo(dAtA []byte) (int, error)
- func (m *Source) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Source) ProtoMessage()
- func (m *Source) Reset()
- func (m *Source) Size() (n int)
- func (m *Source) String() string
- func (m *Source) Unmarshal(dAtA []byte) error
- func (m *Source) XXX_DiscardUnknown()
- func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Source) XXX_Merge(src proto.Message)
- func (m *Source) XXX_Size() int
- func (m *Source) XXX_Unmarshal(b []byte) error
- type SourceInfo
- func (*SourceInfo) Descriptor() ([]byte, []int)
- func (m *SourceInfo) GetData() []byte
- func (m *SourceInfo) GetDefinition() *Definition
- func (m *SourceInfo) GetFilename() string
- func (m *SourceInfo) GetLanguage() string
- func (m *SourceInfo) Marshal() (dAtA []byte, err error)
- func (m *SourceInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SourceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SourceInfo) ProtoMessage()
- func (m *SourceInfo) Reset()
- func (m *SourceInfo) Size() (n int)
- func (m *SourceInfo) String() string
- func (m *SourceInfo) Unmarshal(dAtA []byte) error
- func (m *SourceInfo) XXX_DiscardUnknown()
- func (m *SourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SourceInfo) XXX_Merge(src proto.Message)
- func (m *SourceInfo) XXX_Size() int
- func (m *SourceInfo) XXX_Unmarshal(b []byte) error
- type SourceOp
- func (*SourceOp) Descriptor() ([]byte, []int)
- func (m *SourceOp) GetAttrs() map[string]string
- func (m *SourceOp) GetIdentifier() string
- func (m *SourceOp) Marshal() (dAtA []byte, err error)
- func (m *SourceOp) MarshalTo(dAtA []byte) (int, error)
- func (m *SourceOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SourceOp) ProtoMessage()
- func (m *SourceOp) Reset()
- func (m *SourceOp) Size() (n int)
- func (m *SourceOp) String() string
- func (m *SourceOp) Unmarshal(dAtA []byte) error
- func (m *SourceOp) XXX_DiscardUnknown()
- func (m *SourceOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SourceOp) XXX_Merge(src proto.Message)
- func (m *SourceOp) XXX_Size() int
- func (m *SourceOp) XXX_Unmarshal(b []byte) error
- type TmpfsOpt
- func (*TmpfsOpt) Descriptor() ([]byte, []int)
- func (m *TmpfsOpt) GetSize_() int64
- func (m *TmpfsOpt) Marshal() (dAtA []byte, err error)
- func (m *TmpfsOpt) MarshalTo(dAtA []byte) (int, error)
- func (m *TmpfsOpt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TmpfsOpt) ProtoMessage()
- func (m *TmpfsOpt) Reset()
- func (m *TmpfsOpt) Size() (n int)
- func (m *TmpfsOpt) String() string
- func (m *TmpfsOpt) Unmarshal(dAtA []byte) error
- func (m *TmpfsOpt) XXX_DiscardUnknown()
- func (m *TmpfsOpt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TmpfsOpt) XXX_Merge(src proto.Message)
- func (m *TmpfsOpt) XXX_Size() int
- func (m *TmpfsOpt) XXX_Unmarshal(b []byte) error
- type Ulimit
- func (*Ulimit) Descriptor() ([]byte, []int)
- func (m *Ulimit) GetHard() int64
- func (m *Ulimit) GetName() string
- func (m *Ulimit) GetSoft() int64
- func (m *Ulimit) Marshal() (dAtA []byte, err error)
- func (m *Ulimit) MarshalTo(dAtA []byte) (int, error)
- func (m *Ulimit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ulimit) ProtoMessage()
- func (m *Ulimit) Reset()
- func (m *Ulimit) Size() (n int)
- func (m *Ulimit) String() string
- func (m *Ulimit) Unmarshal(dAtA []byte) error
- func (m *Ulimit) XXX_DiscardUnknown()
- func (m *Ulimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ulimit) XXX_Merge(src proto.Message)
- func (m *Ulimit) XXX_Size() int
- func (m *Ulimit) XXX_Unmarshal(b []byte) error
- type UpperDiffInput
- func (*UpperDiffInput) Descriptor() ([]byte, []int)
- func (m *UpperDiffInput) Marshal() (dAtA []byte, err error)
- func (m *UpperDiffInput) MarshalTo(dAtA []byte) (int, error)
- func (m *UpperDiffInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpperDiffInput) ProtoMessage()
- func (m *UpperDiffInput) Reset()
- func (m *UpperDiffInput) Size() (n int)
- func (m *UpperDiffInput) String() string
- func (m *UpperDiffInput) Unmarshal(dAtA []byte) error
- func (m *UpperDiffInput) XXX_DiscardUnknown()
- func (m *UpperDiffInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpperDiffInput) XXX_Merge(src proto.Message)
- func (m *UpperDiffInput) XXX_Size() int
- func (m *UpperDiffInput) XXX_Unmarshal(b []byte) error
- type UserOpt
- func (*UserOpt) Descriptor() ([]byte, []int)
- func (m *UserOpt) GetByID() uint32
- func (m *UserOpt) GetByName() *NamedUserOpt
- func (m *UserOpt) GetUser() isUserOpt_User
- func (m *UserOpt) Marshal() (dAtA []byte, err error)
- func (m *UserOpt) MarshalTo(dAtA []byte) (int, error)
- func (m *UserOpt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserOpt) ProtoMessage()
- func (m *UserOpt) Reset()
- func (m *UserOpt) Size() (n int)
- func (m *UserOpt) String() string
- func (m *UserOpt) Unmarshal(dAtA []byte) error
- func (m *UserOpt) UnmarshalJSON(data []byte) error
- func (m *UserOpt) XXX_DiscardUnknown()
- func (m *UserOpt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserOpt) XXX_Merge(src proto.Message)
- func (*UserOpt) XXX_OneofWrappers() []interface{}
- func (m *UserOpt) XXX_Size() int
- func (m *UserOpt) XXX_Unmarshal(b []byte) error
- type UserOpt_ByID
- type UserOpt_ByName
- type WorkerConstraints
- func (*WorkerConstraints) Descriptor() ([]byte, []int)
- func (m *WorkerConstraints) GetFilter() []string
- func (m *WorkerConstraints) Marshal() (dAtA []byte, err error)
- func (m *WorkerConstraints) MarshalTo(dAtA []byte) (int, error)
- func (m *WorkerConstraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WorkerConstraints) ProtoMessage()
- func (m *WorkerConstraints) Reset()
- func (m *WorkerConstraints) Size() (n int)
- func (m *WorkerConstraints) String() string
- func (m *WorkerConstraints) Unmarshal(dAtA []byte) error
- func (m *WorkerConstraints) XXX_DiscardUnknown()
- func (m *WorkerConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WorkerConstraints) XXX_Merge(src proto.Message)
- func (m *WorkerConstraints) XXX_Size() int
- func (m *WorkerConstraints) XXX_Unmarshal(b []byte) error
Constants ¶
const ( CapSourceImage apicaps.CapID = "source.image" CapSourceImageResolveMode apicaps.CapID = "source.image.resolvemode" CapSourceImageLayerLimit apicaps.CapID = "source.image.layerlimit" 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" CapSourceLocalDiffer apicaps.CapID = "source.local.differ" CapSourceGit apicaps.CapID = "source.git" CapSourceGitKeepDir apicaps.CapID = "source.git.keepgitdir" CapSourceGitFullURL apicaps.CapID = "source.git.fullurl" CapSourceGitHTTPAuth apicaps.CapID = "source.git.httpauth" CapSourceGitKnownSSHHosts apicaps.CapID = "source.git.knownsshhosts" CapSourceGitMountSSHSock apicaps.CapID = "source.git.mountsshsock" CapSourceGitSubdir apicaps.CapID = "source.git.subdir" CapSourceHTTP apicaps.CapID = "source.http" CapSourceHTTPChecksum apicaps.CapID = "source.http.checksum" CapSourceHTTPPerm apicaps.CapID = "source.http.perm" CapSourceHTTPUIDGID apicaps.CapID = "soruce.http.uidgid" CapSourceOCILayout apicaps.CapID = "source.ocilayout" CapBuildOpLLBFileName apicaps.CapID = "source.buildop.llbfilename" CapExecMetaBase apicaps.CapID = "exec.meta.base" CapExecMetaCgroupParent apicaps.CapID = "exec.meta.cgroup.parent" CapExecMetaNetwork apicaps.CapID = "exec.meta.network" CapExecMetaProxy apicaps.CapID = "exec.meta.proxyenv" CapExecMetaSecurity apicaps.CapID = "exec.meta.security" CapExecMetaSecurityDeviceWhitelistV1 apicaps.CapID = "exec.meta.security.devices.v1" CapExecMetaSetsDefaultPath apicaps.CapID = "exec.meta.setsdefaultpath" CapExecMetaUlimit apicaps.CapID = "exec.meta.ulimit" CapExecMetaRemoveMountStubsRecursive apicaps.CapID = "exec.meta.removemountstubs.recursive" CapExecMountBind apicaps.CapID = "exec.mount.bind" CapExecMountBindReadWriteNoOutput 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" CapExecMountTmpfsSize apicaps.CapID = "exec.mount.tmpfs.size" CapExecMountSecret apicaps.CapID = "exec.mount.secret" CapExecMountSSH apicaps.CapID = "exec.mount.ssh" CapExecMountContentCache apicaps.CapID = "exec.mount.cache.content" CapExecCgroupsMounted apicaps.CapID = "exec.cgroup" CapExecSecretEnv apicaps.CapID = "exec.secretenv" CapFileBase apicaps.CapID = "file.base" CapFileRmWildcard apicaps.CapID = "file.rm.wildcard" CapFileCopyIncludeExcludePatterns apicaps.CapID = "file.copy.includeexcludepatterns" CapFileRmNoFollowSymlink apicaps.CapID = "file.rm.nofollowsymlink" CapFileCopyAlwaysReplaceExistingDestPaths apicaps.CapID = "file.copy.alwaysreplaceexistingdestpaths" CapConstraints apicaps.CapID = "constraints" CapPlatform apicaps.CapID = "platform" CapMetaIgnoreCache apicaps.CapID = "meta.ignorecache" CapMetaDescription apicaps.CapID = "meta.description" CapMetaExportCache apicaps.CapID = "meta.exportcache" CapRemoteCacheGHA apicaps.CapID = "cache.gha" CapRemoteCacheS3 apicaps.CapID = "cache.s3" CapRemoteCacheAzBlob apicaps.CapID = "cache.azblob" CapMergeOp apicaps.CapID = "mergeop" CapDiffOp apicaps.CapID = "diffop" CapAnnotations apicaps.CapID = "exporter.image.annotations" CapAttestations apicaps.CapID = "exporter.image.attestations" // CapSourceDateEpoch is the capability to automatically handle the date epoch CapSourceDateEpoch apicaps.CapID = "exporter.sourcedateepoch" CapMultipleExporters apicaps.CapID = "exporter.multiple" CapSourcePolicy apicaps.CapID = "source.policy" )
const AttrAuthHeaderSecret = "git.authheadersecret"
const AttrAuthTokenSecret = "git.authtokensecret"
const AttrExcludePatterns = "local.excludepatterns"
const AttrFollowPaths = "local.followpaths"
const AttrFullRemoteURL = "git.fullurl"
const AttrHTTPChecksum = "http.checksum"
const AttrHTTPFilename = "http.filename"
const AttrHTTPGID = "http.gid"
const AttrHTTPPerm = "http.perm"
const AttrHTTPUID = "http.uid"
const AttrImageLayerLimit = "image.layerlimit"
const AttrImageRecordType = "image.recordtype"
const AttrImageResolveMode = "image.resolvemode"
const AttrImageResolveModeDefault = "default"
const AttrImageResolveModeForcePull = "pull"
const AttrImageResolveModePreferLocal = "local"
const AttrIncludePatterns = "local.includepattern"
const AttrKeepGitDir = "git.keepgitdir"
const AttrKnownSSHHosts = "git.knownsshhosts"
const AttrLLBDefinitionFilename = "llbbuild.filename"
const AttrLocalDiffer = "local.differ"
const AttrLocalDifferMetadata = "metadata"
const AttrLocalDifferNone = "none"
const AttrLocalSessionID = "local.session"
const AttrLocalUniqueID = "local.unique"
const AttrMountSSHSock = "git.mountsshsock"
const AttrOCILayoutLayerLimit = "oci.layerlimit"
const AttrOCILayoutSessionID = "oci.session"
const AttrOCILayoutStoreID = "oci.store"
const LLBDefaultDefinitionFile = LLBDefinitionInput
LLBDefaultDefinitionFile is a filename containing the definition in LLBBuilder
const LLBDefinitionInput = "buildkit.llb.definition"
LLBDefinitionInput marks an input that contains LLB definition for BuildOp
const RootMount = "/"
RootMount is a base mountpoint
Variables ¶
var ( ErrInvalidLengthOps = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOps = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupOps = fmt.Errorf("proto: unexpected end of group") )
var CacheSharingOpt_name = map[int32]string{
0: "SHARED",
1: "PRIVATE",
2: "LOCKED",
}
var CacheSharingOpt_value = map[string]int32{
"SHARED": 0,
"PRIVATE": 1,
"LOCKED": 2,
}
var Caps apicaps.CapList
var MountContentCache_name = map[int32]string{
0: "DEFAULT",
1: "ON",
2: "OFF",
}
var MountContentCache_value = map[string]int32{
"DEFAULT": 0,
"ON": 1,
"OFF": 2,
}
var MountType_name = map[int32]string{
0: "BIND",
1: "SECRET",
2: "SSH",
3: "CACHE",
4: "TMPFS",
}
var MountType_value = map[string]int32{
"BIND": 0,
"SECRET": 1,
"SSH": 2,
"CACHE": 3,
"TMPFS": 4,
}
var NetMode_name = map[int32]string{
0: "UNSET",
1: "HOST",
2: "NONE",
}
var NetMode_value = map[string]int32{
"UNSET": 0,
"HOST": 1,
"NONE": 2,
}
var SecurityMode_name = map[int32]string{
0: "SANDBOX",
1: "INSECURE",
}
var SecurityMode_value = map[string]int32{
"SANDBOX": 0,
"INSECURE": 1,
}
Functions ¶
func ToSpecPlatforms ¶
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) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *BuildInput) MarshalToSizedBuffer(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.4.0
func (m *BuildInput) XXX_DiscardUnknown()
func (*BuildInput) XXX_Marshal ¶ added in v0.4.0
func (m *BuildInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildInput) XXX_Merge ¶ added in v0.4.0
func (m *BuildInput) XXX_Merge(src proto.Message)
func (*BuildInput) XXX_Size ¶ added in v0.4.0
func (m *BuildInput) XXX_Size() int
func (*BuildInput) XXX_Unmarshal ¶ added in v0.4.0
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) GetDef ¶
func (m *BuildOp) GetDef() *Definition
func (*BuildOp) GetInputs ¶
func (m *BuildOp) GetInputs() map[string]*BuildInput
func (*BuildOp) MarshalToSizedBuffer ¶ added in v0.7.0
func (*BuildOp) ProtoMessage ¶
func (*BuildOp) ProtoMessage()
func (*BuildOp) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *BuildOp) XXX_DiscardUnknown()
func (*BuildOp) XXX_Marshal ¶ added in v0.4.0
func (*BuildOp) XXX_Unmarshal ¶ added in v0.4.0
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) GetSharing ¶
func (m *CacheOpt) GetSharing() CacheSharingOpt
func (*CacheOpt) MarshalToSizedBuffer ¶ added in v0.7.0
func (*CacheOpt) ProtoMessage ¶
func (*CacheOpt) ProtoMessage()
func (*CacheOpt) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *CacheOpt) XXX_DiscardUnknown()
func (*CacheOpt) XXX_Marshal ¶ added in v0.4.0
func (*CacheOpt) XXX_Unmarshal ¶ added in v0.4.0
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.5.0
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.5.0
func (*ChownOpt) MarshalToSizedBuffer ¶ added in v0.7.0
func (*ChownOpt) ProtoMessage ¶ added in v0.5.0
func (*ChownOpt) ProtoMessage()
func (*ChownOpt) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ChownOpt) XXX_DiscardUnknown()
func (*ChownOpt) XXX_Marshal ¶ added in v0.5.0
func (*ChownOpt) XXX_Unmarshal ¶ added in v0.5.0
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 */ // Source contains the source mapping information for the vertexes in the definition Source *Source `protobuf:"bytes,3,opt,name=Source,proto3" json:"Source,omitempty"` }
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 (m *Definition) GetMetadata() map[github_com_opencontainers_go_digest.Digest]OpMetadata
func (*Definition) GetSource ¶ added in v0.8.0
func (m *Definition) GetSource() *Source
func (*Definition) Marshal ¶
func (m *Definition) Marshal() (dAtA []byte, err error)
func (*Definition) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *Definition) MarshalToSizedBuffer(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.4.0
func (m *Definition) XXX_DiscardUnknown()
func (*Definition) XXX_Marshal ¶ added in v0.4.0
func (m *Definition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Definition) XXX_Merge ¶ added in v0.4.0
func (m *Definition) XXX_Merge(src proto.Message)
func (*Definition) XXX_Size ¶ added in v0.4.0
func (m *Definition) XXX_Size() int
func (*Definition) XXX_Unmarshal ¶ added in v0.4.0
func (m *Definition) XXX_Unmarshal(b []byte) error
type DiffOp ¶ added in v0.10.0
type DiffOp struct { Lower *LowerDiffInput `protobuf:"bytes,1,opt,name=lower,proto3" json:"lower,omitempty"` Upper *UpperDiffInput `protobuf:"bytes,2,opt,name=upper,proto3" json:"upper,omitempty"` }
func (*DiffOp) Descriptor ¶ added in v0.10.0
func (*DiffOp) GetLower ¶ added in v0.10.0
func (m *DiffOp) GetLower() *LowerDiffInput
func (*DiffOp) GetUpper ¶ added in v0.10.0
func (m *DiffOp) GetUpper() *UpperDiffInput
func (*DiffOp) MarshalToSizedBuffer ¶ added in v0.10.0
func (*DiffOp) ProtoMessage ¶ added in v0.10.0
func (*DiffOp) ProtoMessage()
func (*DiffOp) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *DiffOp) XXX_DiscardUnknown()
func (*DiffOp) XXX_Marshal ¶ added in v0.10.0
func (*DiffOp) XXX_Unmarshal ¶ added in v0.10.0
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"` Secretenv []*SecretEnv `protobuf:"bytes,5,rep,name=secretenv,proto3" json:"secretenv,omitempty"` }
ExecOp executes a command in a container.
func (*ExecOp) Descriptor ¶
func (*ExecOp) GetNetwork ¶
func (*ExecOp) GetSecretenv ¶ added in v0.10.0
func (*ExecOp) GetSecurity ¶ added in v0.5.0
func (m *ExecOp) GetSecurity() SecurityMode
func (*ExecOp) MarshalToSizedBuffer ¶ added in v0.7.0
func (*ExecOp) ProtoMessage ¶
func (*ExecOp) ProtoMessage()
func (*ExecOp) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *ExecOp) XXX_DiscardUnknown()
func (*ExecOp) XXX_Marshal ¶ added in v0.4.0
func (*ExecOp) XXX_Unmarshal ¶ added in v0.4.0
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) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *ExportCache) MarshalToSizedBuffer(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.4.0
func (m *ExportCache) XXX_DiscardUnknown()
func (*ExportCache) XXX_Marshal ¶ added in v0.4.0
func (m *ExportCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportCache) XXX_Merge ¶ added in v0.4.0
func (m *ExportCache) XXX_Merge(src proto.Message)
func (*ExportCache) XXX_Size ¶ added in v0.4.0
func (m *ExportCache) XXX_Size() int
func (*ExportCache) XXX_Unmarshal ¶ added in v0.4.0
func (m *ExportCache) XXX_Unmarshal(b []byte) error
type FileAction ¶ added in v0.5.0
type FileAction struct { // changes to this structure must be represented in json.go. 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.5.0
func (*FileAction) Descriptor() ([]byte, []int)
func (*FileAction) GetAction ¶ added in v0.5.0
func (m *FileAction) GetAction() isFileAction_Action
func (*FileAction) GetCopy ¶ added in v0.5.0
func (m *FileAction) GetCopy() *FileActionCopy
func (*FileAction) GetMkdir ¶ added in v0.5.0
func (m *FileAction) GetMkdir() *FileActionMkDir
func (*FileAction) GetMkfile ¶ added in v0.5.0
func (m *FileAction) GetMkfile() *FileActionMkFile
func (*FileAction) GetRm ¶ added in v0.5.0
func (m *FileAction) GetRm() *FileActionRm
func (*FileAction) Marshal ¶ added in v0.5.0
func (m *FileAction) Marshal() (dAtA []byte, err error)
func (*FileAction) MarshalTo ¶ added in v0.5.0
func (m *FileAction) MarshalTo(dAtA []byte) (int, error)
func (*FileAction) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *FileAction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileAction) ProtoMessage ¶ added in v0.5.0
func (*FileAction) ProtoMessage()
func (*FileAction) Reset ¶ added in v0.5.0
func (m *FileAction) Reset()
func (*FileAction) Size ¶ added in v0.5.0
func (m *FileAction) Size() (n int)
func (*FileAction) String ¶ added in v0.5.0
func (m *FileAction) String() string
func (*FileAction) Unmarshal ¶ added in v0.5.0
func (m *FileAction) Unmarshal(dAtA []byte) error
func (*FileAction) UnmarshalJSON ¶ added in v0.13.0
func (m *FileAction) UnmarshalJSON(data []byte) error
func (*FileAction) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *FileAction) XXX_DiscardUnknown()
func (*FileAction) XXX_Marshal ¶ added in v0.5.0
func (m *FileAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileAction) XXX_Merge ¶ added in v0.5.0
func (m *FileAction) XXX_Merge(src proto.Message)
func (*FileAction) XXX_OneofWrappers ¶ added in v0.7.0
func (*FileAction) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*FileAction) XXX_Size ¶ added in v0.5.0
func (m *FileAction) XXX_Size() int
func (*FileAction) XXX_Unmarshal ¶ added in v0.5.0
func (m *FileAction) XXX_Unmarshal(b []byte) error
type FileActionCopy ¶ added in v0.5.0
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"` // include only files/dirs matching at least one of these patterns IncludePatterns []string `protobuf:"bytes,12,rep,name=include_patterns,json=includePatterns,proto3" json:"include_patterns,omitempty"` // exclude files/dir matching any of these patterns (even if they match an include pattern) ExcludePatterns []string `protobuf:"bytes,13,rep,name=exclude_patterns,json=excludePatterns,proto3" json:"exclude_patterns,omitempty"` // alwaysReplaceExistingDestPaths results in an existing dest path that differs in type from the src path being replaced rather than the default of returning an error AlwaysReplaceExistingDestPaths bool `protobuf:"varint,14,opt,name=alwaysReplaceExistingDestPaths,proto3" json:"alwaysReplaceExistingDestPaths,omitempty"` }
func (*FileActionCopy) Descriptor ¶ added in v0.5.0
func (*FileActionCopy) Descriptor() ([]byte, []int)
func (*FileActionCopy) GetAllowEmptyWildcard ¶ added in v0.5.0
func (m *FileActionCopy) GetAllowEmptyWildcard() bool
func (*FileActionCopy) GetAllowWildcard ¶ added in v0.5.0
func (m *FileActionCopy) GetAllowWildcard() bool
func (*FileActionCopy) GetAlwaysReplaceExistingDestPaths ¶ added in v0.14.0
func (m *FileActionCopy) GetAlwaysReplaceExistingDestPaths() bool
func (*FileActionCopy) GetAttemptUnpackDockerCompatibility ¶ added in v0.5.0
func (m *FileActionCopy) GetAttemptUnpackDockerCompatibility() bool
func (*FileActionCopy) GetCreateDestPath ¶ added in v0.5.0
func (m *FileActionCopy) GetCreateDestPath() bool
func (*FileActionCopy) GetDest ¶ added in v0.5.0
func (m *FileActionCopy) GetDest() string
func (*FileActionCopy) GetDirCopyContents ¶ added in v0.5.0
func (m *FileActionCopy) GetDirCopyContents() bool
func (*FileActionCopy) GetExcludePatterns ¶ added in v0.9.0
func (m *FileActionCopy) GetExcludePatterns() []string
func (*FileActionCopy) GetFollowSymlink ¶ added in v0.5.0
func (m *FileActionCopy) GetFollowSymlink() bool
func (*FileActionCopy) GetIncludePatterns ¶ added in v0.9.0
func (m *FileActionCopy) GetIncludePatterns() []string
func (*FileActionCopy) GetMode ¶ added in v0.5.0
func (m *FileActionCopy) GetMode() int32
func (*FileActionCopy) GetOwner ¶ added in v0.5.0
func (m *FileActionCopy) GetOwner() *ChownOpt
func (*FileActionCopy) GetSrc ¶ added in v0.5.0
func (m *FileActionCopy) GetSrc() string
func (*FileActionCopy) GetTimestamp ¶ added in v0.5.0
func (m *FileActionCopy) GetTimestamp() int64
func (*FileActionCopy) Marshal ¶ added in v0.5.0
func (m *FileActionCopy) Marshal() (dAtA []byte, err error)
func (*FileActionCopy) MarshalTo ¶ added in v0.5.0
func (m *FileActionCopy) MarshalTo(dAtA []byte) (int, error)
func (*FileActionCopy) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *FileActionCopy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileActionCopy) ProtoMessage ¶ added in v0.5.0
func (*FileActionCopy) ProtoMessage()
func (*FileActionCopy) Reset ¶ added in v0.5.0
func (m *FileActionCopy) Reset()
func (*FileActionCopy) Size ¶ added in v0.5.0
func (m *FileActionCopy) Size() (n int)
func (*FileActionCopy) String ¶ added in v0.5.0
func (m *FileActionCopy) String() string
func (*FileActionCopy) Unmarshal ¶ added in v0.5.0
func (m *FileActionCopy) Unmarshal(dAtA []byte) error
func (*FileActionCopy) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *FileActionCopy) XXX_DiscardUnknown()
func (*FileActionCopy) XXX_Marshal ¶ added in v0.5.0
func (m *FileActionCopy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileActionCopy) XXX_Merge ¶ added in v0.5.0
func (m *FileActionCopy) XXX_Merge(src proto.Message)
func (*FileActionCopy) XXX_Size ¶ added in v0.5.0
func (m *FileActionCopy) XXX_Size() int
func (*FileActionCopy) XXX_Unmarshal ¶ added in v0.5.0
func (m *FileActionCopy) XXX_Unmarshal(b []byte) error
type FileActionMkDir ¶ added in v0.5.0
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.5.0
func (*FileActionMkDir) Descriptor() ([]byte, []int)
func (*FileActionMkDir) GetMakeParents ¶ added in v0.5.0
func (m *FileActionMkDir) GetMakeParents() bool
func (*FileActionMkDir) GetMode ¶ added in v0.5.0
func (m *FileActionMkDir) GetMode() int32
func (*FileActionMkDir) GetOwner ¶ added in v0.5.0
func (m *FileActionMkDir) GetOwner() *ChownOpt
func (*FileActionMkDir) GetPath ¶ added in v0.5.0
func (m *FileActionMkDir) GetPath() string
func (*FileActionMkDir) GetTimestamp ¶ added in v0.5.0
func (m *FileActionMkDir) GetTimestamp() int64
func (*FileActionMkDir) Marshal ¶ added in v0.5.0
func (m *FileActionMkDir) Marshal() (dAtA []byte, err error)
func (*FileActionMkDir) MarshalTo ¶ added in v0.5.0
func (m *FileActionMkDir) MarshalTo(dAtA []byte) (int, error)
func (*FileActionMkDir) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *FileActionMkDir) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileActionMkDir) ProtoMessage ¶ added in v0.5.0
func (*FileActionMkDir) ProtoMessage()
func (*FileActionMkDir) Reset ¶ added in v0.5.0
func (m *FileActionMkDir) Reset()
func (*FileActionMkDir) Size ¶ added in v0.5.0
func (m *FileActionMkDir) Size() (n int)
func (*FileActionMkDir) String ¶ added in v0.5.0
func (m *FileActionMkDir) String() string
func (*FileActionMkDir) Unmarshal ¶ added in v0.5.0
func (m *FileActionMkDir) Unmarshal(dAtA []byte) error
func (*FileActionMkDir) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *FileActionMkDir) XXX_DiscardUnknown()
func (*FileActionMkDir) XXX_Marshal ¶ added in v0.5.0
func (m *FileActionMkDir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileActionMkDir) XXX_Merge ¶ added in v0.5.0
func (m *FileActionMkDir) XXX_Merge(src proto.Message)
func (*FileActionMkDir) XXX_Size ¶ added in v0.5.0
func (m *FileActionMkDir) XXX_Size() int
func (*FileActionMkDir) XXX_Unmarshal ¶ added in v0.5.0
func (m *FileActionMkDir) XXX_Unmarshal(b []byte) error
type FileActionMkFile ¶ added in v0.5.0
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.5.0
func (*FileActionMkFile) Descriptor() ([]byte, []int)
func (*FileActionMkFile) GetData ¶ added in v0.5.0
func (m *FileActionMkFile) GetData() []byte
func (*FileActionMkFile) GetMode ¶ added in v0.5.0
func (m *FileActionMkFile) GetMode() int32
func (*FileActionMkFile) GetOwner ¶ added in v0.5.0
func (m *FileActionMkFile) GetOwner() *ChownOpt
func (*FileActionMkFile) GetPath ¶ added in v0.5.0
func (m *FileActionMkFile) GetPath() string
func (*FileActionMkFile) GetTimestamp ¶ added in v0.5.0
func (m *FileActionMkFile) GetTimestamp() int64
func (*FileActionMkFile) Marshal ¶ added in v0.5.0
func (m *FileActionMkFile) Marshal() (dAtA []byte, err error)
func (*FileActionMkFile) MarshalTo ¶ added in v0.5.0
func (m *FileActionMkFile) MarshalTo(dAtA []byte) (int, error)
func (*FileActionMkFile) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *FileActionMkFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileActionMkFile) ProtoMessage ¶ added in v0.5.0
func (*FileActionMkFile) ProtoMessage()
func (*FileActionMkFile) Reset ¶ added in v0.5.0
func (m *FileActionMkFile) Reset()
func (*FileActionMkFile) Size ¶ added in v0.5.0
func (m *FileActionMkFile) Size() (n int)
func (*FileActionMkFile) String ¶ added in v0.5.0
func (m *FileActionMkFile) String() string
func (*FileActionMkFile) Unmarshal ¶ added in v0.5.0
func (m *FileActionMkFile) Unmarshal(dAtA []byte) error
func (*FileActionMkFile) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *FileActionMkFile) XXX_DiscardUnknown()
func (*FileActionMkFile) XXX_Marshal ¶ added in v0.5.0
func (m *FileActionMkFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileActionMkFile) XXX_Merge ¶ added in v0.5.0
func (m *FileActionMkFile) XXX_Merge(src proto.Message)
func (*FileActionMkFile) XXX_Size ¶ added in v0.5.0
func (m *FileActionMkFile) XXX_Size() int
func (*FileActionMkFile) XXX_Unmarshal ¶ added in v0.5.0
func (m *FileActionMkFile) XXX_Unmarshal(b []byte) error
type FileActionRm ¶ added in v0.5.0
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.5.0
func (*FileActionRm) Descriptor() ([]byte, []int)
func (*FileActionRm) GetAllowNotFound ¶ added in v0.5.0
func (m *FileActionRm) GetAllowNotFound() bool
func (*FileActionRm) GetAllowWildcard ¶ added in v0.5.0
func (m *FileActionRm) GetAllowWildcard() bool
func (*FileActionRm) GetPath ¶ added in v0.5.0
func (m *FileActionRm) GetPath() string
func (*FileActionRm) Marshal ¶ added in v0.5.0
func (m *FileActionRm) Marshal() (dAtA []byte, err error)
func (*FileActionRm) MarshalTo ¶ added in v0.5.0
func (m *FileActionRm) MarshalTo(dAtA []byte) (int, error)
func (*FileActionRm) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *FileActionRm) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileActionRm) ProtoMessage ¶ added in v0.5.0
func (*FileActionRm) ProtoMessage()
func (*FileActionRm) Reset ¶ added in v0.5.0
func (m *FileActionRm) Reset()
func (*FileActionRm) Size ¶ added in v0.5.0
func (m *FileActionRm) Size() (n int)
func (*FileActionRm) String ¶ added in v0.5.0
func (m *FileActionRm) String() string
func (*FileActionRm) Unmarshal ¶ added in v0.5.0
func (m *FileActionRm) Unmarshal(dAtA []byte) error
func (*FileActionRm) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *FileActionRm) XXX_DiscardUnknown()
func (*FileActionRm) XXX_Marshal ¶ added in v0.5.0
func (m *FileActionRm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileActionRm) XXX_Merge ¶ added in v0.5.0
func (m *FileActionRm) XXX_Merge(src proto.Message)
func (*FileActionRm) XXX_Size ¶ added in v0.5.0
func (m *FileActionRm) XXX_Size() int
func (*FileActionRm) XXX_Unmarshal ¶ added in v0.5.0
func (m *FileActionRm) XXX_Unmarshal(b []byte) error
type FileAction_Copy ¶ added in v0.5.0
type FileAction_Copy struct {
Copy *FileActionCopy `protobuf:"bytes,4,opt,name=copy,proto3,oneof" json:"copy,omitempty"`
}
func (*FileAction_Copy) MarshalTo ¶ added in v0.5.0
func (m *FileAction_Copy) MarshalTo(dAtA []byte) (int, error)
func (*FileAction_Copy) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *FileAction_Copy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileAction_Copy) Size ¶ added in v0.5.0
func (m *FileAction_Copy) Size() (n int)
type FileAction_Mkdir ¶ added in v0.5.0
type FileAction_Mkdir struct {
Mkdir *FileActionMkDir `protobuf:"bytes,6,opt,name=mkdir,proto3,oneof" json:"mkdir,omitempty"`
}
func (*FileAction_Mkdir) MarshalTo ¶ added in v0.5.0
func (m *FileAction_Mkdir) MarshalTo(dAtA []byte) (int, error)
func (*FileAction_Mkdir) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *FileAction_Mkdir) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileAction_Mkdir) Size ¶ added in v0.5.0
func (m *FileAction_Mkdir) Size() (n int)
type FileAction_Mkfile ¶ added in v0.5.0
type FileAction_Mkfile struct {
Mkfile *FileActionMkFile `protobuf:"bytes,5,opt,name=mkfile,proto3,oneof" json:"mkfile,omitempty"`
}
func (*FileAction_Mkfile) MarshalTo ¶ added in v0.5.0
func (m *FileAction_Mkfile) MarshalTo(dAtA []byte) (int, error)
func (*FileAction_Mkfile) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *FileAction_Mkfile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileAction_Mkfile) Size ¶ added in v0.5.0
func (m *FileAction_Mkfile) Size() (n int)
type FileAction_Rm ¶ added in v0.5.0
type FileAction_Rm struct {
Rm *FileActionRm `protobuf:"bytes,7,opt,name=rm,proto3,oneof" json:"rm,omitempty"`
}
func (*FileAction_Rm) MarshalTo ¶ added in v0.5.0
func (m *FileAction_Rm) MarshalTo(dAtA []byte) (int, error)
func (*FileAction_Rm) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *FileAction_Rm) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileAction_Rm) Size ¶ added in v0.5.0
func (m *FileAction_Rm) Size() (n int)
type FileOp ¶ added in v0.5.0
type FileOp struct {
Actions []*FileAction `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
}
func (*FileOp) Descriptor ¶ added in v0.5.0
func (*FileOp) GetActions ¶ added in v0.5.0
func (m *FileOp) GetActions() []*FileAction
func (*FileOp) MarshalToSizedBuffer ¶ added in v0.7.0
func (*FileOp) ProtoMessage ¶ added in v0.5.0
func (*FileOp) ProtoMessage()
func (*FileOp) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *FileOp) XXX_DiscardUnknown()
func (*FileOp) XXX_Marshal ¶ added in v0.5.0
func (*FileOp) XXX_Unmarshal ¶ added in v0.5.0
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) MarshalToSizedBuffer ¶ added in v0.7.0
func (*HostIP) ProtoMessage ¶
func (*HostIP) ProtoMessage()
func (*HostIP) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *HostIP) XXX_DiscardUnknown()
func (*HostIP) XXX_Marshal ¶ added in v0.4.0
func (*HostIP) XXX_Unmarshal ¶ added in v0.4.0
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) MarshalToSizedBuffer ¶ added in v0.7.0
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *Input) XXX_DiscardUnknown()
func (*Input) XXX_Marshal ¶ added in v0.4.0
func (*Input) XXX_Unmarshal ¶ added in v0.4.0
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.5.0
type IsFileAction = isFileAction_Action
type Location ¶ added in v0.8.0
type Location struct { SourceIndex int32 `protobuf:"varint,1,opt,name=sourceIndex,proto3" json:"sourceIndex,omitempty"` Ranges []*Range `protobuf:"bytes,2,rep,name=ranges,proto3" json:"ranges,omitempty"` }
Location defines list of areas in to source file
func (*Location) Descriptor ¶ added in v0.8.0
func (*Location) GetSourceIndex ¶ added in v0.8.0
func (*Location) MarshalToSizedBuffer ¶ added in v0.8.0
func (*Location) ProtoMessage ¶ added in v0.8.0
func (*Location) ProtoMessage()
func (*Location) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Location) XXX_DiscardUnknown()
func (*Location) XXX_Marshal ¶ added in v0.8.0
func (*Location) XXX_Unmarshal ¶ added in v0.8.0
type Locations ¶ added in v0.8.0
type Locations struct {
Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
}
Locations is a list of ranges with a index to its source map.
func (*Locations) Descriptor ¶ added in v0.8.0
func (*Locations) GetLocations ¶ added in v0.8.0
func (*Locations) MarshalToSizedBuffer ¶ added in v0.8.0
func (*Locations) ProtoMessage ¶ added in v0.8.0
func (*Locations) ProtoMessage()
func (*Locations) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Locations) XXX_DiscardUnknown()
func (*Locations) XXX_Marshal ¶ added in v0.8.0
func (*Locations) XXX_Unmarshal ¶ added in v0.8.0
type LowerDiffInput ¶ added in v0.10.0
type LowerDiffInput struct {
Input InputIndex `protobuf:"varint,1,opt,name=input,proto3,customtype=InputIndex" json:"input"`
}
func (*LowerDiffInput) Descriptor ¶ added in v0.10.0
func (*LowerDiffInput) Descriptor() ([]byte, []int)
func (*LowerDiffInput) Marshal ¶ added in v0.10.0
func (m *LowerDiffInput) Marshal() (dAtA []byte, err error)
func (*LowerDiffInput) MarshalTo ¶ added in v0.10.0
func (m *LowerDiffInput) MarshalTo(dAtA []byte) (int, error)
func (*LowerDiffInput) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *LowerDiffInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LowerDiffInput) ProtoMessage ¶ added in v0.10.0
func (*LowerDiffInput) ProtoMessage()
func (*LowerDiffInput) Reset ¶ added in v0.10.0
func (m *LowerDiffInput) Reset()
func (*LowerDiffInput) Size ¶ added in v0.10.0
func (m *LowerDiffInput) Size() (n int)
func (*LowerDiffInput) String ¶ added in v0.10.0
func (m *LowerDiffInput) String() string
func (*LowerDiffInput) Unmarshal ¶ added in v0.10.0
func (m *LowerDiffInput) Unmarshal(dAtA []byte) error
func (*LowerDiffInput) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *LowerDiffInput) XXX_DiscardUnknown()
func (*LowerDiffInput) XXX_Marshal ¶ added in v0.10.0
func (m *LowerDiffInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LowerDiffInput) XXX_Merge ¶ added in v0.10.0
func (m *LowerDiffInput) XXX_Merge(src proto.Message)
func (*LowerDiffInput) XXX_Size ¶ added in v0.10.0
func (m *LowerDiffInput) XXX_Size() int
func (*LowerDiffInput) XXX_Unmarshal ¶ added in v0.10.0
func (m *LowerDiffInput) XXX_Unmarshal(b []byte) error
type MergeInput ¶ added in v0.10.0
type MergeInput struct {
Input InputIndex `protobuf:"varint,1,opt,name=input,proto3,customtype=InputIndex" json:"input"`
}
func (*MergeInput) Descriptor ¶ added in v0.10.0
func (*MergeInput) Descriptor() ([]byte, []int)
func (*MergeInput) Marshal ¶ added in v0.10.0
func (m *MergeInput) Marshal() (dAtA []byte, err error)
func (*MergeInput) MarshalTo ¶ added in v0.10.0
func (m *MergeInput) MarshalTo(dAtA []byte) (int, error)
func (*MergeInput) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *MergeInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MergeInput) ProtoMessage ¶ added in v0.10.0
func (*MergeInput) ProtoMessage()
func (*MergeInput) Reset ¶ added in v0.10.0
func (m *MergeInput) Reset()
func (*MergeInput) Size ¶ added in v0.10.0
func (m *MergeInput) Size() (n int)
func (*MergeInput) String ¶ added in v0.10.0
func (m *MergeInput) String() string
func (*MergeInput) Unmarshal ¶ added in v0.10.0
func (m *MergeInput) Unmarshal(dAtA []byte) error
func (*MergeInput) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MergeInput) XXX_DiscardUnknown()
func (*MergeInput) XXX_Marshal ¶ added in v0.10.0
func (m *MergeInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MergeInput) XXX_Merge ¶ added in v0.10.0
func (m *MergeInput) XXX_Merge(src proto.Message)
func (*MergeInput) XXX_Size ¶ added in v0.10.0
func (m *MergeInput) XXX_Size() int
func (*MergeInput) XXX_Unmarshal ¶ added in v0.10.0
func (m *MergeInput) XXX_Unmarshal(b []byte) error
type MergeOp ¶ added in v0.10.0
type MergeOp struct {
Inputs []*MergeInput `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"`
}
func (*MergeOp) Descriptor ¶ added in v0.10.0
func (*MergeOp) GetInputs ¶ added in v0.10.0
func (m *MergeOp) GetInputs() []*MergeInput
func (*MergeOp) MarshalToSizedBuffer ¶ added in v0.10.0
func (*MergeOp) ProtoMessage ¶ added in v0.10.0
func (*MergeOp) ProtoMessage()
func (*MergeOp) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *MergeOp) XXX_DiscardUnknown()
func (*MergeOp) XXX_Marshal ¶ added in v0.10.0
func (*MergeOp) XXX_Unmarshal ¶ added in v0.10.0
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"` Hostname string `protobuf:"bytes,7,opt,name=hostname,proto3" json:"hostname,omitempty"` Ulimit []*Ulimit `protobuf:"bytes,9,rep,name=ulimit,proto3" json:"ulimit,omitempty"` CgroupParent string `protobuf:"bytes,10,opt,name=cgroupParent,proto3" json:"cgroupParent,omitempty"` RemoveMountStubsRecursive bool `protobuf:"varint,11,opt,name=removeMountStubsRecursive,proto3" json:"removeMountStubsRecursive,omitempty"` }
Meta is a set of arguments for ExecOp. Meta is unrelated to LLB metadata. FIXME: rename (ExecContext? ExecArgs?)
func (*Meta) Descriptor ¶
func (*Meta) GetCgroupParent ¶ added in v0.10.0
func (*Meta) GetExtraHosts ¶
func (*Meta) GetHostname ¶ added in v0.8.0
func (*Meta) GetProxyEnv ¶
func (*Meta) GetRemoveMountStubsRecursive ¶ added in v0.11.0
func (*Meta) MarshalToSizedBuffer ¶ added in v0.7.0
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *Meta) XXX_DiscardUnknown()
func (*Meta) XXX_Marshal ¶ added in v0.4.0
func (*Meta) XXX_Unmarshal ¶ added in v0.4.0
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"` TmpfsOpt *TmpfsOpt `protobuf:"bytes,19,opt,name=TmpfsOpt,proto3" json:"TmpfsOpt,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"` ResultID string `protobuf:"bytes,23,opt,name=resultID,proto3" json:"resultID,omitempty"` ContentCache MountContentCache `protobuf:"varint,24,opt,name=contentCache,proto3,enum=pb.MountContentCache" json:"contentCache,omitempty"` }
Mount specifies how to mount an input Op as a filesystem.
func (*Mount) Descriptor ¶
func (*Mount) GetCacheOpt ¶
func (*Mount) GetContentCache ¶ added in v0.13.0
func (m *Mount) GetContentCache() MountContentCache
func (*Mount) GetMountType ¶
func (*Mount) GetReadonly ¶
func (*Mount) GetResultID ¶ added in v0.8.0
func (*Mount) GetSecretOpt ¶
func (*Mount) GetSelector ¶
func (*Mount) GetTmpfsOpt ¶ added in v0.10.0
func (*Mount) MarshalToSizedBuffer ¶ added in v0.7.0
func (*Mount) ProtoMessage ¶
func (*Mount) ProtoMessage()
func (*Mount) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *Mount) XXX_DiscardUnknown()
func (*Mount) XXX_Marshal ¶ added in v0.4.0
func (*Mount) XXX_Unmarshal ¶ added in v0.4.0
type MountContentCache ¶ added in v0.13.0
type MountContentCache int32
MountContentCache ...
const ( MountContentCache_DEFAULT MountContentCache = 0 MountContentCache_ON MountContentCache = 1 MountContentCache_OFF MountContentCache = 2 )
func (MountContentCache) EnumDescriptor ¶ added in v0.13.0
func (MountContentCache) EnumDescriptor() ([]byte, []int)
func (MountContentCache) String ¶ added in v0.13.0
func (x MountContentCache) String() string
type MountType ¶
type MountType int32
MountType defines a type of a mount from a supported set
func (MountType) EnumDescriptor ¶
type NamedUserOpt ¶ added in v0.5.0
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.5.0
func (*NamedUserOpt) Descriptor() ([]byte, []int)
func (*NamedUserOpt) GetName ¶ added in v0.5.0
func (m *NamedUserOpt) GetName() string
func (*NamedUserOpt) Marshal ¶ added in v0.5.0
func (m *NamedUserOpt) Marshal() (dAtA []byte, err error)
func (*NamedUserOpt) MarshalTo ¶ added in v0.5.0
func (m *NamedUserOpt) MarshalTo(dAtA []byte) (int, error)
func (*NamedUserOpt) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *NamedUserOpt) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NamedUserOpt) ProtoMessage ¶ added in v0.5.0
func (*NamedUserOpt) ProtoMessage()
func (*NamedUserOpt) Reset ¶ added in v0.5.0
func (m *NamedUserOpt) Reset()
func (*NamedUserOpt) Size ¶ added in v0.5.0
func (m *NamedUserOpt) Size() (n int)
func (*NamedUserOpt) String ¶ added in v0.5.0
func (m *NamedUserOpt) String() string
func (*NamedUserOpt) Unmarshal ¶ added in v0.5.0
func (m *NamedUserOpt) Unmarshal(dAtA []byte) error
func (*NamedUserOpt) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *NamedUserOpt) XXX_DiscardUnknown()
func (*NamedUserOpt) XXX_Marshal ¶ added in v0.5.0
func (m *NamedUserOpt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NamedUserOpt) XXX_Merge ¶ added in v0.5.0
func (m *NamedUserOpt) XXX_Merge(src proto.Message)
func (*NamedUserOpt) XXX_Size ¶ added in v0.5.0
func (m *NamedUserOpt) XXX_Size() int
func (*NamedUserOpt) XXX_Unmarshal ¶ added in v0.5.0
func (m *NamedUserOpt) XXX_Unmarshal(b []byte) error
type Op ¶
type Op struct { // changes to this structure must be represented in json.go. // 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_Merge // *Op_Diff 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) GetConstraints ¶
func (m *Op) GetConstraints() *WorkerConstraints
func (*Op) GetPlatform ¶
func (*Op) MarshalToSizedBuffer ¶ added in v0.7.0
func (*Op) ProtoMessage ¶
func (*Op) ProtoMessage()
func (*Op) UnmarshalJSON ¶ added in v0.13.0
func (*Op) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *Op) XXX_DiscardUnknown()
func (*Op) XXX_Marshal ¶ added in v0.4.0
func (*Op) XXX_OneofWrappers ¶ added in v0.7.0
func (*Op) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Op) XXX_Unmarshal ¶ added in v0.4.0
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 `` /* 192-byte string literal not displayed */ ProgressGroup *ProgressGroup `protobuf:"bytes,6,opt,name=progress_group,json=progressGroup,proto3" json:"progress_group,omitempty"` }
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 (m *OpMetadata) GetCaps() map[github_com_moby_buildkit_util_apicaps.CapID]bool
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) GetProgressGroup ¶ added in v0.10.0
func (m *OpMetadata) GetProgressGroup() *ProgressGroup
func (*OpMetadata) Marshal ¶
func (m *OpMetadata) Marshal() (dAtA []byte, err error)
func (*OpMetadata) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *OpMetadata) MarshalToSizedBuffer(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.4.0
func (m *OpMetadata) XXX_DiscardUnknown()
func (*OpMetadata) XXX_Marshal ¶ added in v0.4.0
func (m *OpMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpMetadata) XXX_Merge ¶ added in v0.4.0
func (m *OpMetadata) XXX_Merge(src proto.Message)
func (*OpMetadata) XXX_Size ¶ added in v0.4.0
func (m *OpMetadata) XXX_Size() int
func (*OpMetadata) XXX_Unmarshal ¶ added in v0.4.0
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" json:"build,omitempty"`
}
func (*Op_Build) MarshalToSizedBuffer ¶ added in v0.7.0
type Op_Diff ¶ added in v0.10.0
type Op_Diff struct {
Diff *DiffOp `protobuf:"bytes,7,opt,name=diff,proto3,oneof" json:"diff,omitempty"`
}
func (*Op_Diff) MarshalToSizedBuffer ¶ added in v0.10.0
type Op_Exec ¶
type Op_Exec struct {
Exec *ExecOp `protobuf:"bytes,2,opt,name=exec,proto3,oneof" json:"exec,omitempty"`
}
func (*Op_Exec) MarshalToSizedBuffer ¶ added in v0.7.0
type Op_File ¶ added in v0.5.0
type Op_File struct {
File *FileOp `protobuf:"bytes,4,opt,name=file,proto3,oneof" json:"file,omitempty"`
}
func (*Op_File) MarshalToSizedBuffer ¶ added in v0.7.0
type Op_Merge ¶ added in v0.10.0
type Op_Merge struct {
Merge *MergeOp `protobuf:"bytes,6,opt,name=merge,proto3,oneof" json:"merge,omitempty"`
}
func (*Op_Merge) MarshalToSizedBuffer ¶ added in v0.10.0
type Op_Source ¶
type Op_Source struct {
Source *SourceOp `protobuf:"bytes,3,opt,name=source,proto3,oneof" json:"source,omitempty"`
}
func (*Op_Source) MarshalToSizedBuffer ¶ added in v0.7.0
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 PlatformsFromSpec ¶
func (*Platform) Descriptor ¶
func (*Platform) GetArchitecture ¶
func (*Platform) GetOSFeatures ¶
func (*Platform) GetOSVersion ¶
func (*Platform) GetVariant ¶
func (*Platform) MarshalToSizedBuffer ¶ added in v0.7.0
func (*Platform) ProtoMessage ¶
func (*Platform) ProtoMessage()
func (*Platform) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *Platform) XXX_DiscardUnknown()
func (*Platform) XXX_Marshal ¶ added in v0.4.0
func (*Platform) XXX_Unmarshal ¶ added in v0.4.0
type Position ¶ added in v0.8.0
type Position struct { Line int32 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"` Character int32 `protobuf:"varint,2,opt,name=character,proto3" json:"character,omitempty"` }
Position is single location in a source file
func (*Position) Descriptor ¶ added in v0.8.0
func (*Position) GetCharacter ¶ added in v0.8.0
func (*Position) MarshalToSizedBuffer ¶ added in v0.8.0
func (*Position) ProtoMessage ¶ added in v0.8.0
func (*Position) ProtoMessage()
func (*Position) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Position) XXX_DiscardUnknown()
func (*Position) XXX_Marshal ¶ added in v0.8.0
func (*Position) XXX_Unmarshal ¶ added in v0.8.0
type ProgressGroup ¶ added in v0.10.0
type ProgressGroup struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Weak bool `protobuf:"varint,3,opt,name=weak,proto3" json:"weak,omitempty"` }
func (*ProgressGroup) Descriptor ¶ added in v0.10.0
func (*ProgressGroup) Descriptor() ([]byte, []int)
func (*ProgressGroup) GetId ¶ added in v0.10.0
func (m *ProgressGroup) GetId() string
func (*ProgressGroup) GetName ¶ added in v0.10.0
func (m *ProgressGroup) GetName() string
func (*ProgressGroup) GetWeak ¶ added in v0.10.0
func (m *ProgressGroup) GetWeak() bool
func (*ProgressGroup) Marshal ¶ added in v0.10.0
func (m *ProgressGroup) Marshal() (dAtA []byte, err error)
func (*ProgressGroup) MarshalTo ¶ added in v0.10.0
func (m *ProgressGroup) MarshalTo(dAtA []byte) (int, error)
func (*ProgressGroup) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *ProgressGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProgressGroup) ProtoMessage ¶ added in v0.10.0
func (*ProgressGroup) ProtoMessage()
func (*ProgressGroup) Reset ¶ added in v0.10.0
func (m *ProgressGroup) Reset()
func (*ProgressGroup) Size ¶ added in v0.10.0
func (m *ProgressGroup) Size() (n int)
func (*ProgressGroup) String ¶ added in v0.10.0
func (m *ProgressGroup) String() string
func (*ProgressGroup) Unmarshal ¶ added in v0.10.0
func (m *ProgressGroup) Unmarshal(dAtA []byte) error
func (*ProgressGroup) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *ProgressGroup) XXX_DiscardUnknown()
func (*ProgressGroup) XXX_Marshal ¶ added in v0.10.0
func (m *ProgressGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProgressGroup) XXX_Merge ¶ added in v0.10.0
func (m *ProgressGroup) XXX_Merge(src proto.Message)
func (*ProgressGroup) XXX_Size ¶ added in v0.10.0
func (m *ProgressGroup) XXX_Size() int
func (*ProgressGroup) XXX_Unmarshal ¶ added in v0.10.0
func (m *ProgressGroup) 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"` AllProxy string `protobuf:"bytes,5,opt,name=all_proxy,json=allProxy,proto3" json:"all_proxy,omitempty"` }
func (*ProxyEnv) Descriptor ¶
func (*ProxyEnv) GetAllProxy ¶ added in v0.9.0
func (*ProxyEnv) GetFtpProxy ¶
func (*ProxyEnv) GetHttpProxy ¶
func (*ProxyEnv) GetHttpsProxy ¶
func (*ProxyEnv) GetNoProxy ¶
func (*ProxyEnv) MarshalToSizedBuffer ¶ added in v0.7.0
func (*ProxyEnv) ProtoMessage ¶
func (*ProxyEnv) ProtoMessage()
func (*ProxyEnv) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *ProxyEnv) XXX_DiscardUnknown()
func (*ProxyEnv) XXX_Marshal ¶ added in v0.4.0
func (*ProxyEnv) XXX_Unmarshal ¶ added in v0.4.0
type Range ¶ added in v0.8.0
type Range struct { Start Position `protobuf:"bytes,1,opt,name=start,proto3" json:"start"` End Position `protobuf:"bytes,2,opt,name=end,proto3" json:"end"` }
Range is an area in the source file
func (*Range) Descriptor ¶ added in v0.8.0
func (*Range) MarshalToSizedBuffer ¶ added in v0.8.0
func (*Range) ProtoMessage ¶ added in v0.8.0
func (*Range) ProtoMessage()
func (*Range) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Range) XXX_DiscardUnknown()
func (*Range) XXX_Marshal ¶ added in v0.8.0
func (*Range) XXX_Unmarshal ¶ added in v0.8.0
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 ssh mounts
func (*SSHOpt) Descriptor ¶
func (*SSHOpt) GetOptional ¶
func (*SSHOpt) MarshalToSizedBuffer ¶ added in v0.7.0
func (*SSHOpt) ProtoMessage ¶
func (*SSHOpt) ProtoMessage()
func (*SSHOpt) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *SSHOpt) XXX_DiscardUnknown()
func (*SSHOpt) XXX_Marshal ¶ added in v0.4.0
func (*SSHOpt) XXX_Unmarshal ¶ added in v0.4.0
type SecretEnv ¶ added in v0.10.0
type SecretEnv struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Optional bool `protobuf:"varint,3,opt,name=optional,proto3" json:"optional,omitempty"` }
SecretEnv is an environment variable that is backed by a secret.
func (*SecretEnv) Descriptor ¶ added in v0.10.0
func (*SecretEnv) GetOptional ¶ added in v0.10.0
func (*SecretEnv) MarshalToSizedBuffer ¶ added in v0.10.0
func (*SecretEnv) ProtoMessage ¶ added in v0.10.0
func (*SecretEnv) ProtoMessage()
func (*SecretEnv) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *SecretEnv) XXX_DiscardUnknown()
func (*SecretEnv) XXX_Marshal ¶ added in v0.10.0
func (*SecretEnv) XXX_Unmarshal ¶ added in v0.10.0
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) GetOptional ¶
func (*SecretOpt) MarshalToSizedBuffer ¶ added in v0.7.0
func (*SecretOpt) ProtoMessage ¶
func (*SecretOpt) ProtoMessage()
func (*SecretOpt) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *SecretOpt) XXX_DiscardUnknown()
func (*SecretOpt) XXX_Marshal ¶ added in v0.4.0
func (*SecretOpt) XXX_Unmarshal ¶ added in v0.4.0
type SecurityMode ¶ added in v0.5.0
type SecurityMode int32
const ( SecurityMode_SANDBOX SecurityMode = 0 SecurityMode_INSECURE SecurityMode = 1 )
func (SecurityMode) EnumDescriptor ¶ added in v0.5.0
func (SecurityMode) EnumDescriptor() ([]byte, []int)
func (SecurityMode) String ¶ added in v0.5.0
func (x SecurityMode) String() string
type Source ¶ added in v0.8.0
type Source struct { Locations map[string]*Locations `` /* 159-byte string literal not displayed */ Infos []*SourceInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"` }
Source is a source mapping description for a file
func (*Source) Descriptor ¶ added in v0.8.0
func (*Source) GetInfos ¶ added in v0.8.0
func (m *Source) GetInfos() []*SourceInfo
func (*Source) GetLocations ¶ added in v0.8.0
func (*Source) MarshalToSizedBuffer ¶ added in v0.8.0
func (*Source) ProtoMessage ¶ added in v0.8.0
func (*Source) ProtoMessage()
func (*Source) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Source) XXX_DiscardUnknown()
func (*Source) XXX_Marshal ¶ added in v0.8.0
func (*Source) XXX_Unmarshal ¶ added in v0.8.0
type SourceInfo ¶ added in v0.8.0
type SourceInfo struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Definition *Definition `protobuf:"bytes,3,opt,name=definition,proto3" json:"definition,omitempty"` Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` }
Source info contains the shared metadata of a source mapping
func (*SourceInfo) Descriptor ¶ added in v0.8.0
func (*SourceInfo) Descriptor() ([]byte, []int)
func (*SourceInfo) GetData ¶ added in v0.8.0
func (m *SourceInfo) GetData() []byte
func (*SourceInfo) GetDefinition ¶ added in v0.8.0
func (m *SourceInfo) GetDefinition() *Definition
func (*SourceInfo) GetFilename ¶ added in v0.8.0
func (m *SourceInfo) GetFilename() string
func (*SourceInfo) GetLanguage ¶ added in v0.12.0
func (m *SourceInfo) GetLanguage() string
func (*SourceInfo) Marshal ¶ added in v0.8.0
func (m *SourceInfo) Marshal() (dAtA []byte, err error)
func (*SourceInfo) MarshalTo ¶ added in v0.8.0
func (m *SourceInfo) MarshalTo(dAtA []byte) (int, error)
func (*SourceInfo) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *SourceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SourceInfo) ProtoMessage ¶ added in v0.8.0
func (*SourceInfo) ProtoMessage()
func (*SourceInfo) Reset ¶ added in v0.8.0
func (m *SourceInfo) Reset()
func (*SourceInfo) Size ¶ added in v0.8.0
func (m *SourceInfo) Size() (n int)
func (*SourceInfo) String ¶ added in v0.8.0
func (m *SourceInfo) String() string
func (*SourceInfo) Unmarshal ¶ added in v0.8.0
func (m *SourceInfo) Unmarshal(dAtA []byte) error
func (*SourceInfo) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *SourceInfo) XXX_DiscardUnknown()
func (*SourceInfo) XXX_Marshal ¶ added in v0.8.0
func (m *SourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SourceInfo) XXX_Merge ¶ added in v0.8.0
func (m *SourceInfo) XXX_Merge(src proto.Message)
func (*SourceInfo) XXX_Size ¶ added in v0.8.0
func (m *SourceInfo) XXX_Size() int
func (*SourceInfo) XXX_Unmarshal ¶ added in v0.8.0
func (m *SourceInfo) XXX_Unmarshal(b []byte) error
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) GetIdentifier ¶
func (*SourceOp) MarshalToSizedBuffer ¶ added in v0.7.0
func (*SourceOp) ProtoMessage ¶
func (*SourceOp) ProtoMessage()
func (*SourceOp) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *SourceOp) XXX_DiscardUnknown()
func (*SourceOp) XXX_Marshal ¶ added in v0.4.0
func (*SourceOp) XXX_Unmarshal ¶ added in v0.4.0
type TmpfsOpt ¶ added in v0.10.0
type TmpfsOpt struct { // Specify an upper limit on the size of the filesystem. Size_ int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` }
TmpfsOpt defines options describing tpmfs mounts
func (*TmpfsOpt) Descriptor ¶ added in v0.10.0
func (*TmpfsOpt) MarshalToSizedBuffer ¶ added in v0.10.0
func (*TmpfsOpt) ProtoMessage ¶ added in v0.10.0
func (*TmpfsOpt) ProtoMessage()
func (*TmpfsOpt) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *TmpfsOpt) XXX_DiscardUnknown()
func (*TmpfsOpt) XXX_Marshal ¶ added in v0.10.0
func (*TmpfsOpt) XXX_Unmarshal ¶ added in v0.10.0
type Ulimit ¶ added in v0.10.0
type Ulimit struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Soft int64 `protobuf:"varint,2,opt,name=Soft,proto3" json:"Soft,omitempty"` Hard int64 `protobuf:"varint,3,opt,name=Hard,proto3" json:"Hard,omitempty"` }
func (*Ulimit) Descriptor ¶ added in v0.10.0
func (*Ulimit) MarshalToSizedBuffer ¶ added in v0.10.0
func (*Ulimit) ProtoMessage ¶ added in v0.10.0
func (*Ulimit) ProtoMessage()
func (*Ulimit) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *Ulimit) XXX_DiscardUnknown()
func (*Ulimit) XXX_Marshal ¶ added in v0.10.0
func (*Ulimit) XXX_Unmarshal ¶ added in v0.10.0
type UpperDiffInput ¶ added in v0.10.0
type UpperDiffInput struct {
Input InputIndex `protobuf:"varint,1,opt,name=input,proto3,customtype=InputIndex" json:"input"`
}
func (*UpperDiffInput) Descriptor ¶ added in v0.10.0
func (*UpperDiffInput) Descriptor() ([]byte, []int)
func (*UpperDiffInput) Marshal ¶ added in v0.10.0
func (m *UpperDiffInput) Marshal() (dAtA []byte, err error)
func (*UpperDiffInput) MarshalTo ¶ added in v0.10.0
func (m *UpperDiffInput) MarshalTo(dAtA []byte) (int, error)
func (*UpperDiffInput) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *UpperDiffInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpperDiffInput) ProtoMessage ¶ added in v0.10.0
func (*UpperDiffInput) ProtoMessage()
func (*UpperDiffInput) Reset ¶ added in v0.10.0
func (m *UpperDiffInput) Reset()
func (*UpperDiffInput) Size ¶ added in v0.10.0
func (m *UpperDiffInput) Size() (n int)
func (*UpperDiffInput) String ¶ added in v0.10.0
func (m *UpperDiffInput) String() string
func (*UpperDiffInput) Unmarshal ¶ added in v0.10.0
func (m *UpperDiffInput) Unmarshal(dAtA []byte) error
func (*UpperDiffInput) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *UpperDiffInput) XXX_DiscardUnknown()
func (*UpperDiffInput) XXX_Marshal ¶ added in v0.10.0
func (m *UpperDiffInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpperDiffInput) XXX_Merge ¶ added in v0.10.0
func (m *UpperDiffInput) XXX_Merge(src proto.Message)
func (*UpperDiffInput) XXX_Size ¶ added in v0.10.0
func (m *UpperDiffInput) XXX_Size() int
func (*UpperDiffInput) XXX_Unmarshal ¶ added in v0.10.0
func (m *UpperDiffInput) XXX_Unmarshal(b []byte) error
type UserOpt ¶ added in v0.5.0
type UserOpt struct { // changes to this structure must be represented in json.go. // // 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.5.0
func (*UserOpt) GetByName ¶ added in v0.5.0
func (m *UserOpt) GetByName() *NamedUserOpt
func (*UserOpt) MarshalToSizedBuffer ¶ added in v0.7.0
func (*UserOpt) ProtoMessage ¶ added in v0.5.0
func (*UserOpt) ProtoMessage()
func (*UserOpt) UnmarshalJSON ¶ added in v0.13.0
func (*UserOpt) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *UserOpt) XXX_DiscardUnknown()
func (*UserOpt) XXX_Marshal ¶ added in v0.5.0
func (*UserOpt) XXX_OneofWrappers ¶ added in v0.7.0
func (*UserOpt) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*UserOpt) XXX_Unmarshal ¶ added in v0.5.0
type UserOpt_ByID ¶ added in v0.5.0
type UserOpt_ByID struct {
ByID uint32 `protobuf:"varint,2,opt,name=byID,proto3,oneof" json:"byID,omitempty"`
}
func (*UserOpt_ByID) MarshalTo ¶ added in v0.5.0
func (m *UserOpt_ByID) MarshalTo(dAtA []byte) (int, error)
func (*UserOpt_ByID) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *UserOpt_ByID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserOpt_ByID) Size ¶ added in v0.5.0
func (m *UserOpt_ByID) Size() (n int)
type UserOpt_ByName ¶ added in v0.5.0
type UserOpt_ByName struct {
ByName *NamedUserOpt `protobuf:"bytes,1,opt,name=byName,proto3,oneof" json:"byName,omitempty"`
}
func (*UserOpt_ByName) MarshalTo ¶ added in v0.5.0
func (m *UserOpt_ByName) MarshalTo(dAtA []byte) (int, error)
func (*UserOpt_ByName) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *UserOpt_ByName) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserOpt_ByName) Size ¶ added in v0.5.0
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) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *WorkerConstraints) MarshalToSizedBuffer(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.4.0
func (m *WorkerConstraints) XXX_DiscardUnknown()
func (*WorkerConstraints) XXX_Marshal ¶ added in v0.4.0
func (m *WorkerConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WorkerConstraints) XXX_Merge ¶ added in v0.4.0
func (m *WorkerConstraints) XXX_Merge(src proto.Message)
func (*WorkerConstraints) XXX_Size ¶ added in v0.4.0
func (m *WorkerConstraints) XXX_Size() int
func (*WorkerConstraints) XXX_Unmarshal ¶ added in v0.4.0
func (m *WorkerConstraints) XXX_Unmarshal(b []byte) error