Documentation ¶
Overview ¶
Package moby_buildkit_v1_types is a generated protocol buffer package.
It is generated from these files:
worker.proto
It has these top-level messages:
WorkerRecord GCPolicy
Index ¶
- Variables
- type GCPolicy
- func (*GCPolicy) Descriptor() ([]byte, []int)
- func (m *GCPolicy) GetAll() bool
- func (m *GCPolicy) GetFilters() []string
- func (m *GCPolicy) GetKeepBytes() int64
- func (m *GCPolicy) GetKeepDuration() int64
- func (m *GCPolicy) Marshal() (dAtA []byte, err error)
- func (m *GCPolicy) MarshalTo(dAtA []byte) (int, error)
- func (*GCPolicy) ProtoMessage()
- func (m *GCPolicy) Reset()
- func (m *GCPolicy) Size() (n int)
- func (m *GCPolicy) String() string
- func (m *GCPolicy) Unmarshal(dAtA []byte) error
- type WorkerRecord
- func (*WorkerRecord) Descriptor() ([]byte, []int)
- func (m *WorkerRecord) GetGCPolicy() []*GCPolicy
- func (m *WorkerRecord) GetID() string
- func (m *WorkerRecord) GetLabels() map[string]string
- func (m *WorkerRecord) GetPlatforms() []pb.Platform
- func (m *WorkerRecord) Marshal() (dAtA []byte, err error)
- func (m *WorkerRecord) MarshalTo(dAtA []byte) (int, error)
- func (*WorkerRecord) ProtoMessage()
- func (m *WorkerRecord) Reset()
- func (m *WorkerRecord) Size() (n int)
- func (m *WorkerRecord) String() string
- func (m *WorkerRecord) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthWorker = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWorker = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type GCPolicy ¶
type GCPolicy struct { All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"` KeepDuration int64 `protobuf:"varint,2,opt,name=keepDuration,proto3" json:"keepDuration,omitempty"` KeepBytes int64 `protobuf:"varint,3,opt,name=keepBytes,proto3" json:"keepBytes,omitempty"` Filters []string `protobuf:"bytes,4,rep,name=filters" json:"filters,omitempty"` }
func (*GCPolicy) Descriptor ¶
func (*GCPolicy) GetFilters ¶
func (*GCPolicy) GetKeepBytes ¶
func (*GCPolicy) GetKeepDuration ¶
func (*GCPolicy) ProtoMessage ¶
func (*GCPolicy) ProtoMessage()
type WorkerRecord ¶
type WorkerRecord struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Labels map[string]string `` /* 146-byte string literal not displayed */ Platforms []pb.Platform `protobuf:"bytes,3,rep,name=platforms" json:"platforms"` GCPolicy []*GCPolicy `protobuf:"bytes,4,rep,name=GCPolicy" json:"GCPolicy,omitempty"` }
func (*WorkerRecord) Descriptor ¶
func (*WorkerRecord) Descriptor() ([]byte, []int)
func (*WorkerRecord) GetGCPolicy ¶
func (m *WorkerRecord) GetGCPolicy() []*GCPolicy
func (*WorkerRecord) GetID ¶
func (m *WorkerRecord) GetID() string
func (*WorkerRecord) GetLabels ¶
func (m *WorkerRecord) GetLabels() map[string]string
func (*WorkerRecord) GetPlatforms ¶
func (m *WorkerRecord) GetPlatforms() []pb.Platform
func (*WorkerRecord) Marshal ¶
func (m *WorkerRecord) Marshal() (dAtA []byte, err error)
func (*WorkerRecord) ProtoMessage ¶
func (*WorkerRecord) ProtoMessage()
func (*WorkerRecord) Reset ¶
func (m *WorkerRecord) Reset()
func (*WorkerRecord) Size ¶
func (m *WorkerRecord) Size() (n int)
func (*WorkerRecord) String ¶
func (m *WorkerRecord) String() string
func (*WorkerRecord) Unmarshal ¶
func (m *WorkerRecord) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.