package moby_buildkit_v1_types

import "github.com/moby/buildkit/api/types"

Index

Variables

var (
	ErrInvalidLengthWorker = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowWorker   = fmt.Errorf("proto: integer overflow")
)

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,proto3" json:"filters,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GCPolicy) Descriptor

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

func (*GCPolicy) GetAll

func (m *GCPolicy) GetAll() bool

func (*GCPolicy) GetFilters

func (m *GCPolicy) GetFilters() []string

func (*GCPolicy) GetKeepBytes

func (m *GCPolicy) GetKeepBytes() int64

func (*GCPolicy) GetKeepDuration

func (m *GCPolicy) GetKeepDuration() int64

func (*GCPolicy) Marshal

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

func (*GCPolicy) MarshalTo

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

func (*GCPolicy) ProtoMessage

func (*GCPolicy) ProtoMessage()

func (*GCPolicy) Reset

func (m *GCPolicy) Reset()

func (*GCPolicy) Size

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

func (*GCPolicy) String

func (m *GCPolicy) String() string

func (*GCPolicy) Unmarshal

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

func (*GCPolicy) XXX_DiscardUnknown

func (m *GCPolicy) XXX_DiscardUnknown()

func (*GCPolicy) XXX_Marshal

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

func (*GCPolicy) XXX_Merge

func (dst *GCPolicy) XXX_Merge(src proto.Message)

func (*GCPolicy) XXX_Size

func (m *GCPolicy) XXX_Size() int

func (*GCPolicy) XXX_Unmarshal

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

type WorkerRecord

type WorkerRecord struct {
	ID                   string            `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Labels               map[string]string `protobuf:"bytes,2,rep,name=Labels,proto3" json:"Labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	Platforms            []pb.Platform     `protobuf:"bytes,3,rep,name=platforms,proto3" json:"platforms"`
	GCPolicy             []*GCPolicy       `protobuf:"bytes,4,rep,name=GCPolicy,proto3" json:"GCPolicy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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) MarshalTo

func (m *WorkerRecord) MarshalTo(dAtA []byte) (int, 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

func (*WorkerRecord) XXX_DiscardUnknown

func (m *WorkerRecord) XXX_DiscardUnknown()

func (*WorkerRecord) XXX_Marshal

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

func (*WorkerRecord) XXX_Merge

func (dst *WorkerRecord) XXX_Merge(src proto.Message)

func (*WorkerRecord) XXX_Size

func (m *WorkerRecord) XXX_Size() int

func (*WorkerRecord) XXX_Unmarshal

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

Source Files

generate.go worker.pb.go

Version
v0.6.2
Published
Sep 21, 2019
Platform
js/wasm
Imports
6 packages
Last checked
12 hours ago

Tools for package owners.