package moby_buildkit_v1_types

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

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

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" json:"filters,omitempty"`
}

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

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

Source Files

generate.go worker.pb.go

Version
v0.3.3
Published
Nov 21, 2018
Platform
js/wasm
Imports
6 packages
Last checked
12 hours ago

Tools for package owners.