Documentation ¶
Index ¶
- Variables
- func RegisterControlServer(s *grpc.Server, srv ControlServer)
- type BytesMessage
- func (*BytesMessage) Descriptor() ([]byte, []int)
- func (m *BytesMessage) GetData() []byte
- func (m *BytesMessage) Marshal() (dAtA []byte, err error)
- func (m *BytesMessage) MarshalTo(dAtA []byte) (int, error)
- func (*BytesMessage) ProtoMessage()
- func (m *BytesMessage) Reset()
- func (m *BytesMessage) Size() (n int)
- func (m *BytesMessage) String() string
- func (m *BytesMessage) Unmarshal(dAtA []byte) error
- func (m *BytesMessage) XXX_DiscardUnknown()
- func (m *BytesMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BytesMessage) XXX_Merge(src proto.Message)
- func (m *BytesMessage) XXX_Size() int
- func (m *BytesMessage) XXX_Unmarshal(b []byte) error
- type CacheOptions
- func (*CacheOptions) Descriptor() ([]byte, []int)
- func (m *CacheOptions) GetExportAttrsDeprecated() map[string]string
- func (m *CacheOptions) GetExportRefDeprecated() string
- func (m *CacheOptions) GetExports() []*CacheOptionsEntry
- func (m *CacheOptions) GetImportRefsDeprecated() []string
- func (m *CacheOptions) GetImports() []*CacheOptionsEntry
- func (m *CacheOptions) Marshal() (dAtA []byte, err error)
- func (m *CacheOptions) MarshalTo(dAtA []byte) (int, error)
- func (*CacheOptions) ProtoMessage()
- func (m *CacheOptions) Reset()
- func (m *CacheOptions) Size() (n int)
- func (m *CacheOptions) String() string
- func (m *CacheOptions) Unmarshal(dAtA []byte) error
- func (m *CacheOptions) XXX_DiscardUnknown()
- func (m *CacheOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CacheOptions) XXX_Merge(src proto.Message)
- func (m *CacheOptions) XXX_Size() int
- func (m *CacheOptions) XXX_Unmarshal(b []byte) error
- type CacheOptionsEntry
- func (*CacheOptionsEntry) Descriptor() ([]byte, []int)
- func (m *CacheOptionsEntry) GetAttrs() map[string]string
- func (m *CacheOptionsEntry) GetType() string
- func (m *CacheOptionsEntry) Marshal() (dAtA []byte, err error)
- func (m *CacheOptionsEntry) MarshalTo(dAtA []byte) (int, error)
- func (*CacheOptionsEntry) ProtoMessage()
- func (m *CacheOptionsEntry) Reset()
- func (m *CacheOptionsEntry) Size() (n int)
- func (m *CacheOptionsEntry) String() string
- func (m *CacheOptionsEntry) Unmarshal(dAtA []byte) error
- func (m *CacheOptionsEntry) XXX_DiscardUnknown()
- func (m *CacheOptionsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CacheOptionsEntry) XXX_Merge(src proto.Message)
- func (m *CacheOptionsEntry) XXX_Size() int
- func (m *CacheOptionsEntry) XXX_Unmarshal(b []byte) error
- type ControlClient
- type ControlServer
- type Control_PruneClient
- type Control_PruneServer
- type Control_SessionClient
- type Control_SessionServer
- type Control_StatusClient
- type Control_StatusServer
- type DiskUsageRequest
- func (*DiskUsageRequest) Descriptor() ([]byte, []int)
- func (m *DiskUsageRequest) GetFilter() []string
- func (m *DiskUsageRequest) Marshal() (dAtA []byte, err error)
- func (m *DiskUsageRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DiskUsageRequest) ProtoMessage()
- func (m *DiskUsageRequest) Reset()
- func (m *DiskUsageRequest) Size() (n int)
- func (m *DiskUsageRequest) String() string
- func (m *DiskUsageRequest) Unmarshal(dAtA []byte) error
- func (m *DiskUsageRequest) XXX_DiscardUnknown()
- func (m *DiskUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DiskUsageRequest) XXX_Merge(src proto.Message)
- func (m *DiskUsageRequest) XXX_Size() int
- func (m *DiskUsageRequest) XXX_Unmarshal(b []byte) error
- type DiskUsageResponse
- func (*DiskUsageResponse) Descriptor() ([]byte, []int)
- func (m *DiskUsageResponse) GetRecord() []*UsageRecord
- func (m *DiskUsageResponse) Marshal() (dAtA []byte, err error)
- func (m *DiskUsageResponse) MarshalTo(dAtA []byte) (int, error)
- func (*DiskUsageResponse) ProtoMessage()
- func (m *DiskUsageResponse) Reset()
- func (m *DiskUsageResponse) Size() (n int)
- func (m *DiskUsageResponse) String() string
- func (m *DiskUsageResponse) Unmarshal(dAtA []byte) error
- func (m *DiskUsageResponse) XXX_DiscardUnknown()
- func (m *DiskUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DiskUsageResponse) XXX_Merge(src proto.Message)
- func (m *DiskUsageResponse) XXX_Size() int
- func (m *DiskUsageResponse) XXX_Unmarshal(b []byte) error
- type ListWorkersRequest
- func (*ListWorkersRequest) Descriptor() ([]byte, []int)
- func (m *ListWorkersRequest) GetFilter() []string
- func (m *ListWorkersRequest) Marshal() (dAtA []byte, err error)
- func (m *ListWorkersRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListWorkersRequest) ProtoMessage()
- func (m *ListWorkersRequest) Reset()
- func (m *ListWorkersRequest) Size() (n int)
- func (m *ListWorkersRequest) String() string
- func (m *ListWorkersRequest) Unmarshal(dAtA []byte) error
- func (m *ListWorkersRequest) XXX_DiscardUnknown()
- func (m *ListWorkersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListWorkersRequest) XXX_Merge(src proto.Message)
- func (m *ListWorkersRequest) XXX_Size() int
- func (m *ListWorkersRequest) XXX_Unmarshal(b []byte) error
- type ListWorkersResponse
- func (*ListWorkersResponse) Descriptor() ([]byte, []int)
- func (m *ListWorkersResponse) GetRecord() []*types.WorkerRecord
- func (m *ListWorkersResponse) Marshal() (dAtA []byte, err error)
- func (m *ListWorkersResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListWorkersResponse) ProtoMessage()
- func (m *ListWorkersResponse) Reset()
- func (m *ListWorkersResponse) Size() (n int)
- func (m *ListWorkersResponse) String() string
- func (m *ListWorkersResponse) Unmarshal(dAtA []byte) error
- func (m *ListWorkersResponse) XXX_DiscardUnknown()
- func (m *ListWorkersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListWorkersResponse) XXX_Merge(src proto.Message)
- func (m *ListWorkersResponse) XXX_Size() int
- func (m *ListWorkersResponse) XXX_Unmarshal(b []byte) error
- type PruneRequest
- func (*PruneRequest) Descriptor() ([]byte, []int)
- func (m *PruneRequest) GetAll() bool
- func (m *PruneRequest) GetFilter() []string
- func (m *PruneRequest) GetKeepBytes() int64
- func (m *PruneRequest) GetKeepDuration() int64
- func (m *PruneRequest) Marshal() (dAtA []byte, err error)
- func (m *PruneRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PruneRequest) ProtoMessage()
- func (m *PruneRequest) Reset()
- func (m *PruneRequest) Size() (n int)
- func (m *PruneRequest) String() string
- func (m *PruneRequest) Unmarshal(dAtA []byte) error
- func (m *PruneRequest) XXX_DiscardUnknown()
- func (m *PruneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PruneRequest) XXX_Merge(src proto.Message)
- func (m *PruneRequest) XXX_Size() int
- func (m *PruneRequest) XXX_Unmarshal(b []byte) error
- type SolveRequest
- func (*SolveRequest) Descriptor() ([]byte, []int)
- func (m *SolveRequest) GetCache() CacheOptions
- func (m *SolveRequest) GetDefinition() *pb.Definition
- func (m *SolveRequest) GetExporter() string
- func (m *SolveRequest) GetExporterAttrs() map[string]string
- func (m *SolveRequest) GetFrontend() string
- func (m *SolveRequest) GetFrontendAttrs() map[string]string
- func (m *SolveRequest) GetRef() string
- func (m *SolveRequest) GetSession() string
- func (m *SolveRequest) Marshal() (dAtA []byte, err error)
- func (m *SolveRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SolveRequest) ProtoMessage()
- func (m *SolveRequest) Reset()
- func (m *SolveRequest) Size() (n int)
- func (m *SolveRequest) String() string
- func (m *SolveRequest) Unmarshal(dAtA []byte) error
- func (m *SolveRequest) XXX_DiscardUnknown()
- func (m *SolveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SolveRequest) XXX_Merge(src proto.Message)
- func (m *SolveRequest) XXX_Size() int
- func (m *SolveRequest) XXX_Unmarshal(b []byte) error
- type SolveResponse
- func (*SolveResponse) Descriptor() ([]byte, []int)
- func (m *SolveResponse) GetExporterResponse() map[string]string
- func (m *SolveResponse) Marshal() (dAtA []byte, err error)
- func (m *SolveResponse) MarshalTo(dAtA []byte) (int, error)
- func (*SolveResponse) ProtoMessage()
- func (m *SolveResponse) Reset()
- func (m *SolveResponse) Size() (n int)
- func (m *SolveResponse) String() string
- func (m *SolveResponse) Unmarshal(dAtA []byte) error
- func (m *SolveResponse) XXX_DiscardUnknown()
- func (m *SolveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SolveResponse) XXX_Merge(src proto.Message)
- func (m *SolveResponse) XXX_Size() int
- func (m *SolveResponse) XXX_Unmarshal(b []byte) error
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)
- func (m *StatusRequest) GetRef() string
- func (m *StatusRequest) Marshal() (dAtA []byte, err error)
- func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (*StatusRequest) ProtoMessage()
- func (m *StatusRequest) Reset()
- func (m *StatusRequest) Size() (n int)
- func (m *StatusRequest) String() string
- func (m *StatusRequest) Unmarshal(dAtA []byte) error
- func (m *StatusRequest) XXX_DiscardUnknown()
- func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StatusRequest) XXX_Merge(src proto.Message)
- func (m *StatusRequest) XXX_Size() int
- func (m *StatusRequest) XXX_Unmarshal(b []byte) error
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)
- func (m *StatusResponse) GetLogs() []*VertexLog
- func (m *StatusResponse) GetStatuses() []*VertexStatus
- func (m *StatusResponse) GetVertexes() []*Vertex
- func (m *StatusResponse) Marshal() (dAtA []byte, err error)
- func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StatusResponse) ProtoMessage()
- func (m *StatusResponse) Reset()
- func (m *StatusResponse) Size() (n int)
- func (m *StatusResponse) String() string
- func (m *StatusResponse) Unmarshal(dAtA []byte) error
- func (m *StatusResponse) XXX_DiscardUnknown()
- func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StatusResponse) XXX_Merge(src proto.Message)
- func (m *StatusResponse) XXX_Size() int
- func (m *StatusResponse) XXX_Unmarshal(b []byte) error
- type UsageRecord
- func (*UsageRecord) Descriptor() ([]byte, []int)
- func (m *UsageRecord) GetCreatedAt() time.Time
- func (m *UsageRecord) GetDescription() string
- func (m *UsageRecord) GetID() string
- func (m *UsageRecord) GetInUse() bool
- func (m *UsageRecord) GetLastUsedAt() *time.Time
- func (m *UsageRecord) GetMutable() bool
- func (m *UsageRecord) GetParent() string
- func (m *UsageRecord) GetRecordType() string
- func (m *UsageRecord) GetShared() bool
- func (m *UsageRecord) GetSize_() int64
- func (m *UsageRecord) GetUsageCount() int64
- func (m *UsageRecord) Marshal() (dAtA []byte, err error)
- func (m *UsageRecord) MarshalTo(dAtA []byte) (int, error)
- func (*UsageRecord) ProtoMessage()
- func (m *UsageRecord) Reset()
- func (m *UsageRecord) Size() (n int)
- func (m *UsageRecord) String() string
- func (m *UsageRecord) Unmarshal(dAtA []byte) error
- func (m *UsageRecord) XXX_DiscardUnknown()
- func (m *UsageRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UsageRecord) XXX_Merge(src proto.Message)
- func (m *UsageRecord) XXX_Size() int
- func (m *UsageRecord) XXX_Unmarshal(b []byte) error
- type Vertex
- func (*Vertex) Descriptor() ([]byte, []int)
- func (m *Vertex) GetCached() bool
- func (m *Vertex) GetCompleted() *time.Time
- func (m *Vertex) GetError() string
- func (m *Vertex) GetName() string
- func (m *Vertex) GetStarted() *time.Time
- func (m *Vertex) Marshal() (dAtA []byte, err error)
- func (m *Vertex) MarshalTo(dAtA []byte) (int, error)
- func (*Vertex) ProtoMessage()
- func (m *Vertex) Reset()
- func (m *Vertex) Size() (n int)
- func (m *Vertex) String() string
- func (m *Vertex) Unmarshal(dAtA []byte) error
- func (m *Vertex) XXX_DiscardUnknown()
- func (m *Vertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Vertex) XXX_Merge(src proto.Message)
- func (m *Vertex) XXX_Size() int
- func (m *Vertex) XXX_Unmarshal(b []byte) error
- type VertexLog
- func (*VertexLog) Descriptor() ([]byte, []int)
- func (m *VertexLog) GetMsg() []byte
- func (m *VertexLog) GetStream() int64
- func (m *VertexLog) GetTimestamp() time.Time
- func (m *VertexLog) Marshal() (dAtA []byte, err error)
- func (m *VertexLog) MarshalTo(dAtA []byte) (int, error)
- func (*VertexLog) ProtoMessage()
- func (m *VertexLog) Reset()
- func (m *VertexLog) Size() (n int)
- func (m *VertexLog) String() string
- func (m *VertexLog) Unmarshal(dAtA []byte) error
- func (m *VertexLog) XXX_DiscardUnknown()
- func (m *VertexLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VertexLog) XXX_Merge(src proto.Message)
- func (m *VertexLog) XXX_Size() int
- func (m *VertexLog) XXX_Unmarshal(b []byte) error
- type VertexStatus
- func (*VertexStatus) Descriptor() ([]byte, []int)
- func (m *VertexStatus) GetCompleted() *time.Time
- func (m *VertexStatus) GetCurrent() int64
- func (m *VertexStatus) GetID() string
- func (m *VertexStatus) GetName() string
- func (m *VertexStatus) GetStarted() *time.Time
- func (m *VertexStatus) GetTimestamp() time.Time
- func (m *VertexStatus) GetTotal() int64
- func (m *VertexStatus) Marshal() (dAtA []byte, err error)
- func (m *VertexStatus) MarshalTo(dAtA []byte) (int, error)
- func (*VertexStatus) ProtoMessage()
- func (m *VertexStatus) Reset()
- func (m *VertexStatus) Size() (n int)
- func (m *VertexStatus) String() string
- func (m *VertexStatus) Unmarshal(dAtA []byte) error
- func (m *VertexStatus) XXX_DiscardUnknown()
- func (m *VertexStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VertexStatus) XXX_Merge(src proto.Message)
- func (m *VertexStatus) XXX_Size() int
- func (m *VertexStatus) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthControl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowControl = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterControlServer ¶
func RegisterControlServer(s *grpc.Server, srv ControlServer)
Types ¶
type BytesMessage ¶
type BytesMessage struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BytesMessage) Descriptor ¶
func (*BytesMessage) Descriptor() ([]byte, []int)
func (*BytesMessage) GetData ¶
func (m *BytesMessage) GetData() []byte
func (*BytesMessage) Marshal ¶
func (m *BytesMessage) Marshal() (dAtA []byte, err error)
func (*BytesMessage) ProtoMessage ¶
func (*BytesMessage) ProtoMessage()
func (*BytesMessage) Reset ¶
func (m *BytesMessage) Reset()
func (*BytesMessage) Size ¶
func (m *BytesMessage) Size() (n int)
func (*BytesMessage) String ¶
func (m *BytesMessage) String() string
func (*BytesMessage) Unmarshal ¶
func (m *BytesMessage) Unmarshal(dAtA []byte) error
func (*BytesMessage) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *BytesMessage) XXX_DiscardUnknown()
func (*BytesMessage) XXX_Marshal ¶ added in v0.4.0
func (m *BytesMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BytesMessage) XXX_Merge ¶ added in v0.4.0
func (dst *BytesMessage) XXX_Merge(src proto.Message)
func (*BytesMessage) XXX_Size ¶ added in v0.4.0
func (m *BytesMessage) XXX_Size() int
func (*BytesMessage) XXX_Unmarshal ¶ added in v0.4.0
func (m *BytesMessage) XXX_Unmarshal(b []byte) error
type CacheOptions ¶
type CacheOptions struct { // ExportRefDeprecated is deprecated in favor or the new Exports since BuildKit v0.4.0. // When ExportRefDeprecated is set, the solver appends // {.Type = "registry", .Attrs = ExportAttrs.add("ref", ExportRef)} // to Exports for compatibility. (planned to be removed) ExportRefDeprecated string `protobuf:"bytes,1,opt,name=ExportRefDeprecated,proto3" json:"ExportRefDeprecated,omitempty"` // ImportRefsDeprecated is deprecated in favor or the new Imports since BuildKit v0.4.0. // When ImportRefsDeprecated is set, the solver appends // {.Type = "registry", .Attrs = {"ref": importRef}} // for each of the ImportRefs entry to Imports for compatibility. (planned to be removed) ImportRefsDeprecated []string `protobuf:"bytes,2,rep,name=ImportRefsDeprecated,proto3" json:"ImportRefsDeprecated,omitempty"` // ExportAttrsDeprecated is deprecated since BuildKit v0.4.0. // See the description of ExportRefDeprecated. ExportAttrsDeprecated map[string]string `` /* 183-byte string literal not displayed */ // Exports was introduced in BuildKit v0.4.0. Exports []*CacheOptionsEntry `protobuf:"bytes,4,rep,name=Exports,proto3" json:"Exports,omitempty"` // Imports was introduced in BuildKit v0.4.0. Imports []*CacheOptionsEntry `protobuf:"bytes,5,rep,name=Imports,proto3" json:"Imports,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CacheOptions) Descriptor ¶
func (*CacheOptions) Descriptor() ([]byte, []int)
func (*CacheOptions) GetExportAttrsDeprecated ¶ added in v0.4.0
func (m *CacheOptions) GetExportAttrsDeprecated() map[string]string
func (*CacheOptions) GetExportRefDeprecated ¶ added in v0.4.0
func (m *CacheOptions) GetExportRefDeprecated() string
func (*CacheOptions) GetExports ¶ added in v0.4.0
func (m *CacheOptions) GetExports() []*CacheOptionsEntry
func (*CacheOptions) GetImportRefsDeprecated ¶ added in v0.4.0
func (m *CacheOptions) GetImportRefsDeprecated() []string
func (*CacheOptions) GetImports ¶ added in v0.4.0
func (m *CacheOptions) GetImports() []*CacheOptionsEntry
func (*CacheOptions) Marshal ¶
func (m *CacheOptions) Marshal() (dAtA []byte, err error)
func (*CacheOptions) ProtoMessage ¶
func (*CacheOptions) ProtoMessage()
func (*CacheOptions) Reset ¶
func (m *CacheOptions) Reset()
func (*CacheOptions) Size ¶
func (m *CacheOptions) Size() (n int)
func (*CacheOptions) String ¶
func (m *CacheOptions) String() string
func (*CacheOptions) Unmarshal ¶
func (m *CacheOptions) Unmarshal(dAtA []byte) error
func (*CacheOptions) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *CacheOptions) XXX_DiscardUnknown()
func (*CacheOptions) XXX_Marshal ¶ added in v0.4.0
func (m *CacheOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CacheOptions) XXX_Merge ¶ added in v0.4.0
func (dst *CacheOptions) XXX_Merge(src proto.Message)
func (*CacheOptions) XXX_Size ¶ added in v0.4.0
func (m *CacheOptions) XXX_Size() int
func (*CacheOptions) XXX_Unmarshal ¶ added in v0.4.0
func (m *CacheOptions) XXX_Unmarshal(b []byte) error
type CacheOptionsEntry ¶ added in v0.4.0
type CacheOptionsEntry struct { // Type is like "registry" or "local" Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` // Attrs are like mode=(min,max), ref=example.com:5000/foo/bar . // See cache importer/exporter implementations' documentation. Attrs map[string]string `` /* 151-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CacheOptionsEntry) Descriptor ¶ added in v0.4.0
func (*CacheOptionsEntry) Descriptor() ([]byte, []int)
func (*CacheOptionsEntry) GetAttrs ¶ added in v0.4.0
func (m *CacheOptionsEntry) GetAttrs() map[string]string
func (*CacheOptionsEntry) GetType ¶ added in v0.4.0
func (m *CacheOptionsEntry) GetType() string
func (*CacheOptionsEntry) Marshal ¶ added in v0.4.0
func (m *CacheOptionsEntry) Marshal() (dAtA []byte, err error)
func (*CacheOptionsEntry) MarshalTo ¶ added in v0.4.0
func (m *CacheOptionsEntry) MarshalTo(dAtA []byte) (int, error)
func (*CacheOptionsEntry) ProtoMessage ¶ added in v0.4.0
func (*CacheOptionsEntry) ProtoMessage()
func (*CacheOptionsEntry) Reset ¶ added in v0.4.0
func (m *CacheOptionsEntry) Reset()
func (*CacheOptionsEntry) Size ¶ added in v0.4.0
func (m *CacheOptionsEntry) Size() (n int)
func (*CacheOptionsEntry) String ¶ added in v0.4.0
func (m *CacheOptionsEntry) String() string
func (*CacheOptionsEntry) Unmarshal ¶ added in v0.4.0
func (m *CacheOptionsEntry) Unmarshal(dAtA []byte) error
func (*CacheOptionsEntry) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *CacheOptionsEntry) XXX_DiscardUnknown()
func (*CacheOptionsEntry) XXX_Marshal ¶ added in v0.4.0
func (m *CacheOptionsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CacheOptionsEntry) XXX_Merge ¶ added in v0.4.0
func (dst *CacheOptionsEntry) XXX_Merge(src proto.Message)
func (*CacheOptionsEntry) XXX_Size ¶ added in v0.4.0
func (m *CacheOptionsEntry) XXX_Size() int
func (*CacheOptionsEntry) XXX_Unmarshal ¶ added in v0.4.0
func (m *CacheOptionsEntry) XXX_Unmarshal(b []byte) error
type ControlClient ¶
type ControlClient interface { DiskUsage(ctx context.Context, in *DiskUsageRequest, opts ...grpc.CallOption) (*DiskUsageResponse, error) Prune(ctx context.Context, in *PruneRequest, opts ...grpc.CallOption) (Control_PruneClient, error) Solve(ctx context.Context, in *SolveRequest, opts ...grpc.CallOption) (*SolveResponse, error) Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (Control_StatusClient, error) Session(ctx context.Context, opts ...grpc.CallOption) (Control_SessionClient, error) ListWorkers(ctx context.Context, in *ListWorkersRequest, opts ...grpc.CallOption) (*ListWorkersResponse, error) }
ControlClient is the client API for Control service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewControlClient ¶
func NewControlClient(cc *grpc.ClientConn) ControlClient
type ControlServer ¶
type ControlServer interface { DiskUsage(context.Context, *DiskUsageRequest) (*DiskUsageResponse, error) Prune(*PruneRequest, Control_PruneServer) error Solve(context.Context, *SolveRequest) (*SolveResponse, error) Status(*StatusRequest, Control_StatusServer) error Session(Control_SessionServer) error ListWorkers(context.Context, *ListWorkersRequest) (*ListWorkersResponse, error) }
ControlServer is the server API for Control service.
type Control_PruneClient ¶
type Control_PruneClient interface { Recv() (*UsageRecord, error) grpc.ClientStream }
type Control_PruneServer ¶
type Control_PruneServer interface { Send(*UsageRecord) error grpc.ServerStream }
type Control_SessionClient ¶
type Control_SessionClient interface { Send(*BytesMessage) error Recv() (*BytesMessage, error) grpc.ClientStream }
type Control_SessionServer ¶
type Control_SessionServer interface { Send(*BytesMessage) error Recv() (*BytesMessage, error) grpc.ServerStream }
type Control_StatusClient ¶
type Control_StatusClient interface { Recv() (*StatusResponse, error) grpc.ClientStream }
type Control_StatusServer ¶
type Control_StatusServer interface { Send(*StatusResponse) error grpc.ServerStream }
type DiskUsageRequest ¶
type DiskUsageRequest struct { Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiskUsageRequest) Descriptor ¶
func (*DiskUsageRequest) Descriptor() ([]byte, []int)
func (*DiskUsageRequest) GetFilter ¶
func (m *DiskUsageRequest) GetFilter() []string
func (*DiskUsageRequest) Marshal ¶
func (m *DiskUsageRequest) Marshal() (dAtA []byte, err error)
func (*DiskUsageRequest) ProtoMessage ¶
func (*DiskUsageRequest) ProtoMessage()
func (*DiskUsageRequest) Reset ¶
func (m *DiskUsageRequest) Reset()
func (*DiskUsageRequest) Size ¶
func (m *DiskUsageRequest) Size() (n int)
func (*DiskUsageRequest) String ¶
func (m *DiskUsageRequest) String() string
func (*DiskUsageRequest) Unmarshal ¶
func (m *DiskUsageRequest) Unmarshal(dAtA []byte) error
func (*DiskUsageRequest) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *DiskUsageRequest) XXX_DiscardUnknown()
func (*DiskUsageRequest) XXX_Marshal ¶ added in v0.4.0
func (m *DiskUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiskUsageRequest) XXX_Merge ¶ added in v0.4.0
func (dst *DiskUsageRequest) XXX_Merge(src proto.Message)
func (*DiskUsageRequest) XXX_Size ¶ added in v0.4.0
func (m *DiskUsageRequest) XXX_Size() int
func (*DiskUsageRequest) XXX_Unmarshal ¶ added in v0.4.0
func (m *DiskUsageRequest) XXX_Unmarshal(b []byte) error
type DiskUsageResponse ¶
type DiskUsageResponse struct { Record []*UsageRecord `protobuf:"bytes,1,rep,name=record,proto3" json:"record,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiskUsageResponse) Descriptor ¶
func (*DiskUsageResponse) Descriptor() ([]byte, []int)
func (*DiskUsageResponse) GetRecord ¶
func (m *DiskUsageResponse) GetRecord() []*UsageRecord
func (*DiskUsageResponse) Marshal ¶
func (m *DiskUsageResponse) Marshal() (dAtA []byte, err error)
func (*DiskUsageResponse) MarshalTo ¶
func (m *DiskUsageResponse) MarshalTo(dAtA []byte) (int, error)
func (*DiskUsageResponse) ProtoMessage ¶
func (*DiskUsageResponse) ProtoMessage()
func (*DiskUsageResponse) Reset ¶
func (m *DiskUsageResponse) Reset()
func (*DiskUsageResponse) Size ¶
func (m *DiskUsageResponse) Size() (n int)
func (*DiskUsageResponse) String ¶
func (m *DiskUsageResponse) String() string
func (*DiskUsageResponse) Unmarshal ¶
func (m *DiskUsageResponse) Unmarshal(dAtA []byte) error
func (*DiskUsageResponse) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *DiskUsageResponse) XXX_DiscardUnknown()
func (*DiskUsageResponse) XXX_Marshal ¶ added in v0.4.0
func (m *DiskUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiskUsageResponse) XXX_Merge ¶ added in v0.4.0
func (dst *DiskUsageResponse) XXX_Merge(src proto.Message)
func (*DiskUsageResponse) XXX_Size ¶ added in v0.4.0
func (m *DiskUsageResponse) XXX_Size() int
func (*DiskUsageResponse) XXX_Unmarshal ¶ added in v0.4.0
func (m *DiskUsageResponse) XXX_Unmarshal(b []byte) error
type ListWorkersRequest ¶
type ListWorkersRequest struct { Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListWorkersRequest) Descriptor ¶
func (*ListWorkersRequest) Descriptor() ([]byte, []int)
func (*ListWorkersRequest) GetFilter ¶
func (m *ListWorkersRequest) GetFilter() []string
func (*ListWorkersRequest) Marshal ¶
func (m *ListWorkersRequest) Marshal() (dAtA []byte, err error)
func (*ListWorkersRequest) MarshalTo ¶
func (m *ListWorkersRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListWorkersRequest) ProtoMessage ¶
func (*ListWorkersRequest) ProtoMessage()
func (*ListWorkersRequest) Reset ¶
func (m *ListWorkersRequest) Reset()
func (*ListWorkersRequest) Size ¶
func (m *ListWorkersRequest) Size() (n int)
func (*ListWorkersRequest) String ¶
func (m *ListWorkersRequest) String() string
func (*ListWorkersRequest) Unmarshal ¶
func (m *ListWorkersRequest) Unmarshal(dAtA []byte) error
func (*ListWorkersRequest) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *ListWorkersRequest) XXX_DiscardUnknown()
func (*ListWorkersRequest) XXX_Marshal ¶ added in v0.4.0
func (m *ListWorkersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListWorkersRequest) XXX_Merge ¶ added in v0.4.0
func (dst *ListWorkersRequest) XXX_Merge(src proto.Message)
func (*ListWorkersRequest) XXX_Size ¶ added in v0.4.0
func (m *ListWorkersRequest) XXX_Size() int
func (*ListWorkersRequest) XXX_Unmarshal ¶ added in v0.4.0
func (m *ListWorkersRequest) XXX_Unmarshal(b []byte) error
type ListWorkersResponse ¶
type ListWorkersResponse struct { Record []*types.WorkerRecord `protobuf:"bytes,1,rep,name=record,proto3" json:"record,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListWorkersResponse) Descriptor ¶
func (*ListWorkersResponse) Descriptor() ([]byte, []int)
func (*ListWorkersResponse) GetRecord ¶
func (m *ListWorkersResponse) GetRecord() []*types.WorkerRecord
func (*ListWorkersResponse) Marshal ¶
func (m *ListWorkersResponse) Marshal() (dAtA []byte, err error)
func (*ListWorkersResponse) MarshalTo ¶
func (m *ListWorkersResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListWorkersResponse) ProtoMessage ¶
func (*ListWorkersResponse) ProtoMessage()
func (*ListWorkersResponse) Reset ¶
func (m *ListWorkersResponse) Reset()
func (*ListWorkersResponse) Size ¶
func (m *ListWorkersResponse) Size() (n int)
func (*ListWorkersResponse) String ¶
func (m *ListWorkersResponse) String() string
func (*ListWorkersResponse) Unmarshal ¶
func (m *ListWorkersResponse) Unmarshal(dAtA []byte) error
func (*ListWorkersResponse) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *ListWorkersResponse) XXX_DiscardUnknown()
func (*ListWorkersResponse) XXX_Marshal ¶ added in v0.4.0
func (m *ListWorkersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListWorkersResponse) XXX_Merge ¶ added in v0.4.0
func (dst *ListWorkersResponse) XXX_Merge(src proto.Message)
func (*ListWorkersResponse) XXX_Size ¶ added in v0.4.0
func (m *ListWorkersResponse) XXX_Size() int
func (*ListWorkersResponse) XXX_Unmarshal ¶ added in v0.4.0
func (m *ListWorkersResponse) XXX_Unmarshal(b []byte) error
type PruneRequest ¶
type PruneRequest struct { Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"` All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` KeepDuration int64 `protobuf:"varint,3,opt,name=keepDuration,proto3" json:"keepDuration,omitempty"` KeepBytes int64 `protobuf:"varint,4,opt,name=keepBytes,proto3" json:"keepBytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PruneRequest) Descriptor ¶
func (*PruneRequest) Descriptor() ([]byte, []int)
func (*PruneRequest) GetAll ¶
func (m *PruneRequest) GetAll() bool
func (*PruneRequest) GetFilter ¶
func (m *PruneRequest) GetFilter() []string
func (*PruneRequest) GetKeepBytes ¶
func (m *PruneRequest) GetKeepBytes() int64
func (*PruneRequest) GetKeepDuration ¶
func (m *PruneRequest) GetKeepDuration() int64
func (*PruneRequest) Marshal ¶
func (m *PruneRequest) Marshal() (dAtA []byte, err error)
func (*PruneRequest) ProtoMessage ¶
func (*PruneRequest) ProtoMessage()
func (*PruneRequest) Reset ¶
func (m *PruneRequest) Reset()
func (*PruneRequest) Size ¶
func (m *PruneRequest) Size() (n int)
func (*PruneRequest) String ¶
func (m *PruneRequest) String() string
func (*PruneRequest) Unmarshal ¶
func (m *PruneRequest) Unmarshal(dAtA []byte) error
func (*PruneRequest) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PruneRequest) XXX_DiscardUnknown()
func (*PruneRequest) XXX_Marshal ¶ added in v0.4.0
func (m *PruneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PruneRequest) XXX_Merge ¶ added in v0.4.0
func (dst *PruneRequest) XXX_Merge(src proto.Message)
func (*PruneRequest) XXX_Size ¶ added in v0.4.0
func (m *PruneRequest) XXX_Size() int
func (*PruneRequest) XXX_Unmarshal ¶ added in v0.4.0
func (m *PruneRequest) XXX_Unmarshal(b []byte) error
type SolveRequest ¶
type SolveRequest struct { Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` Definition *pb.Definition `protobuf:"bytes,2,opt,name=Definition,proto3" json:"Definition,omitempty"` Exporter string `protobuf:"bytes,3,opt,name=Exporter,proto3" json:"Exporter,omitempty"` ExporterAttrs map[string]string `` /* 167-byte string literal not displayed */ Session string `protobuf:"bytes,5,opt,name=Session,proto3" json:"Session,omitempty"` Frontend string `protobuf:"bytes,6,opt,name=Frontend,proto3" json:"Frontend,omitempty"` FrontendAttrs map[string]string `` /* 167-byte string literal not displayed */ Cache CacheOptions `protobuf:"bytes,8,opt,name=Cache,proto3" json:"Cache"` Entitlements []github_com_moby_buildkit_util_entitlements.Entitlement `` /* 143-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SolveRequest) Descriptor ¶
func (*SolveRequest) Descriptor() ([]byte, []int)
func (*SolveRequest) GetCache ¶
func (m *SolveRequest) GetCache() CacheOptions
func (*SolveRequest) GetDefinition ¶
func (m *SolveRequest) GetDefinition() *pb.Definition
func (*SolveRequest) GetExporter ¶
func (m *SolveRequest) GetExporter() string
func (*SolveRequest) GetExporterAttrs ¶
func (m *SolveRequest) GetExporterAttrs() map[string]string
func (*SolveRequest) GetFrontend ¶
func (m *SolveRequest) GetFrontend() string
func (*SolveRequest) GetFrontendAttrs ¶
func (m *SolveRequest) GetFrontendAttrs() map[string]string
func (*SolveRequest) GetRef ¶
func (m *SolveRequest) GetRef() string
func (*SolveRequest) GetSession ¶
func (m *SolveRequest) GetSession() string
func (*SolveRequest) Marshal ¶
func (m *SolveRequest) Marshal() (dAtA []byte, err error)
func (*SolveRequest) ProtoMessage ¶
func (*SolveRequest) ProtoMessage()
func (*SolveRequest) Reset ¶
func (m *SolveRequest) Reset()
func (*SolveRequest) Size ¶
func (m *SolveRequest) Size() (n int)
func (*SolveRequest) String ¶
func (m *SolveRequest) String() string
func (*SolveRequest) Unmarshal ¶
func (m *SolveRequest) Unmarshal(dAtA []byte) error
func (*SolveRequest) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *SolveRequest) XXX_DiscardUnknown()
func (*SolveRequest) XXX_Marshal ¶ added in v0.4.0
func (m *SolveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SolveRequest) XXX_Merge ¶ added in v0.4.0
func (dst *SolveRequest) XXX_Merge(src proto.Message)
func (*SolveRequest) XXX_Size ¶ added in v0.4.0
func (m *SolveRequest) XXX_Size() int
func (*SolveRequest) XXX_Unmarshal ¶ added in v0.4.0
func (m *SolveRequest) XXX_Unmarshal(b []byte) error
type SolveResponse ¶
type SolveResponse struct { ExporterResponse map[string]string `` /* 173-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SolveResponse) Descriptor ¶
func (*SolveResponse) Descriptor() ([]byte, []int)
func (*SolveResponse) GetExporterResponse ¶
func (m *SolveResponse) GetExporterResponse() map[string]string
func (*SolveResponse) Marshal ¶
func (m *SolveResponse) Marshal() (dAtA []byte, err error)
func (*SolveResponse) ProtoMessage ¶
func (*SolveResponse) ProtoMessage()
func (*SolveResponse) Reset ¶
func (m *SolveResponse) Reset()
func (*SolveResponse) Size ¶
func (m *SolveResponse) Size() (n int)
func (*SolveResponse) String ¶
func (m *SolveResponse) String() string
func (*SolveResponse) Unmarshal ¶
func (m *SolveResponse) Unmarshal(dAtA []byte) error
func (*SolveResponse) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *SolveResponse) XXX_DiscardUnknown()
func (*SolveResponse) XXX_Marshal ¶ added in v0.4.0
func (m *SolveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SolveResponse) XXX_Merge ¶ added in v0.4.0
func (dst *SolveResponse) XXX_Merge(src proto.Message)
func (*SolveResponse) XXX_Size ¶ added in v0.4.0
func (m *SolveResponse) XXX_Size() int
func (*SolveResponse) XXX_Unmarshal ¶ added in v0.4.0
func (m *SolveResponse) XXX_Unmarshal(b []byte) error
type StatusRequest ¶
type StatusRequest struct { Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusRequest) Descriptor ¶
func (*StatusRequest) Descriptor() ([]byte, []int)
func (*StatusRequest) GetRef ¶
func (m *StatusRequest) GetRef() string
func (*StatusRequest) Marshal ¶
func (m *StatusRequest) Marshal() (dAtA []byte, err error)
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) Reset ¶
func (m *StatusRequest) Reset()
func (*StatusRequest) Size ¶
func (m *StatusRequest) Size() (n int)
func (*StatusRequest) String ¶
func (m *StatusRequest) String() string
func (*StatusRequest) Unmarshal ¶
func (m *StatusRequest) Unmarshal(dAtA []byte) error
func (*StatusRequest) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *StatusRequest) XXX_DiscardUnknown()
func (*StatusRequest) XXX_Marshal ¶ added in v0.4.0
func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusRequest) XXX_Merge ¶ added in v0.4.0
func (dst *StatusRequest) XXX_Merge(src proto.Message)
func (*StatusRequest) XXX_Size ¶ added in v0.4.0
func (m *StatusRequest) XXX_Size() int
func (*StatusRequest) XXX_Unmarshal ¶ added in v0.4.0
func (m *StatusRequest) XXX_Unmarshal(b []byte) error
type StatusResponse ¶
type StatusResponse struct { Vertexes []*Vertex `protobuf:"bytes,1,rep,name=vertexes,proto3" json:"vertexes,omitempty"` Statuses []*VertexStatus `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"` Logs []*VertexLog `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusResponse) Descriptor ¶
func (*StatusResponse) Descriptor() ([]byte, []int)
func (*StatusResponse) GetLogs ¶
func (m *StatusResponse) GetLogs() []*VertexLog
func (*StatusResponse) GetStatuses ¶
func (m *StatusResponse) GetStatuses() []*VertexStatus
func (*StatusResponse) GetVertexes ¶
func (m *StatusResponse) GetVertexes() []*Vertex
func (*StatusResponse) Marshal ¶
func (m *StatusResponse) Marshal() (dAtA []byte, err error)
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) Reset ¶
func (m *StatusResponse) Reset()
func (*StatusResponse) Size ¶
func (m *StatusResponse) Size() (n int)
func (*StatusResponse) String ¶
func (m *StatusResponse) String() string
func (*StatusResponse) Unmarshal ¶
func (m *StatusResponse) Unmarshal(dAtA []byte) error
func (*StatusResponse) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *StatusResponse) XXX_DiscardUnknown()
func (*StatusResponse) XXX_Marshal ¶ added in v0.4.0
func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse) XXX_Merge ¶ added in v0.4.0
func (dst *StatusResponse) XXX_Merge(src proto.Message)
func (*StatusResponse) XXX_Size ¶ added in v0.4.0
func (m *StatusResponse) XXX_Size() int
func (*StatusResponse) XXX_Unmarshal ¶ added in v0.4.0
func (m *StatusResponse) XXX_Unmarshal(b []byte) error
type UsageRecord ¶
type UsageRecord struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Mutable bool `protobuf:"varint,2,opt,name=Mutable,proto3" json:"Mutable,omitempty"` InUse bool `protobuf:"varint,3,opt,name=InUse,proto3" json:"InUse,omitempty"` Size_ int64 `protobuf:"varint,4,opt,name=Size,proto3" json:"Size,omitempty"` Parent string `protobuf:"bytes,5,opt,name=Parent,proto3" json:"Parent,omitempty"` CreatedAt time.Time `protobuf:"bytes,6,opt,name=CreatedAt,proto3,stdtime" json:"CreatedAt"` LastUsedAt *time.Time `protobuf:"bytes,7,opt,name=LastUsedAt,proto3,stdtime" json:"LastUsedAt,omitempty"` UsageCount int64 `protobuf:"varint,8,opt,name=UsageCount,proto3" json:"UsageCount,omitempty"` Description string `protobuf:"bytes,9,opt,name=Description,proto3" json:"Description,omitempty"` RecordType string `protobuf:"bytes,10,opt,name=RecordType,proto3" json:"RecordType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UsageRecord) Descriptor ¶
func (*UsageRecord) Descriptor() ([]byte, []int)
func (*UsageRecord) GetCreatedAt ¶
func (m *UsageRecord) GetCreatedAt() time.Time
func (*UsageRecord) GetDescription ¶
func (m *UsageRecord) GetDescription() string
func (*UsageRecord) GetID ¶
func (m *UsageRecord) GetID() string
func (*UsageRecord) GetInUse ¶
func (m *UsageRecord) GetInUse() bool
func (*UsageRecord) GetLastUsedAt ¶
func (m *UsageRecord) GetLastUsedAt() *time.Time
func (*UsageRecord) GetMutable ¶
func (m *UsageRecord) GetMutable() bool
func (*UsageRecord) GetParent ¶
func (m *UsageRecord) GetParent() string
func (*UsageRecord) GetRecordType ¶
func (m *UsageRecord) GetRecordType() string
func (*UsageRecord) GetShared ¶
func (m *UsageRecord) GetShared() bool
func (*UsageRecord) GetSize_ ¶
func (m *UsageRecord) GetSize_() int64
func (*UsageRecord) GetUsageCount ¶
func (m *UsageRecord) GetUsageCount() int64
func (*UsageRecord) Marshal ¶
func (m *UsageRecord) Marshal() (dAtA []byte, err error)
func (*UsageRecord) ProtoMessage ¶
func (*UsageRecord) ProtoMessage()
func (*UsageRecord) Reset ¶
func (m *UsageRecord) Reset()
func (*UsageRecord) Size ¶
func (m *UsageRecord) Size() (n int)
func (*UsageRecord) String ¶
func (m *UsageRecord) String() string
func (*UsageRecord) Unmarshal ¶
func (m *UsageRecord) Unmarshal(dAtA []byte) error
func (*UsageRecord) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *UsageRecord) XXX_DiscardUnknown()
func (*UsageRecord) XXX_Marshal ¶ added in v0.4.0
func (m *UsageRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsageRecord) XXX_Merge ¶ added in v0.4.0
func (dst *UsageRecord) XXX_Merge(src proto.Message)
func (*UsageRecord) XXX_Size ¶ added in v0.4.0
func (m *UsageRecord) XXX_Size() int
func (*UsageRecord) XXX_Unmarshal ¶ added in v0.4.0
func (m *UsageRecord) XXX_Unmarshal(b []byte) error
type Vertex ¶
type Vertex struct { Digest github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=digest,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"digest"` Inputs []github_com_opencontainers_go_digest.Digest `protobuf:"bytes,2,rep,name=inputs,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"inputs"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Cached bool `protobuf:"varint,4,opt,name=cached,proto3" json:"cached,omitempty"` Started *time.Time `protobuf:"bytes,5,opt,name=started,proto3,stdtime" json:"started,omitempty"` Completed *time.Time `protobuf:"bytes,6,opt,name=completed,proto3,stdtime" json:"completed,omitempty"` Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Vertex) Descriptor ¶
func (*Vertex) GetCompleted ¶
func (*Vertex) GetStarted ¶
func (*Vertex) ProtoMessage ¶
func (*Vertex) ProtoMessage()
func (*Vertex) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *Vertex) XXX_DiscardUnknown()
func (*Vertex) XXX_Marshal ¶ added in v0.4.0
func (*Vertex) XXX_Unmarshal ¶ added in v0.4.0
type VertexLog ¶
type VertexLog struct { Vertex github_com_opencontainers_go_digest.Digest `protobuf:"bytes,1,opt,name=vertex,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"vertex"` Timestamp time.Time `protobuf:"bytes,2,opt,name=timestamp,proto3,stdtime" json:"timestamp"` Stream int64 `protobuf:"varint,3,opt,name=stream,proto3" json:"stream,omitempty"` Msg []byte `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VertexLog) Descriptor ¶
func (*VertexLog) GetTimestamp ¶
func (*VertexLog) ProtoMessage ¶
func (*VertexLog) ProtoMessage()
func (*VertexLog) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *VertexLog) XXX_DiscardUnknown()
func (*VertexLog) XXX_Marshal ¶ added in v0.4.0
func (*VertexLog) XXX_Unmarshal ¶ added in v0.4.0
type VertexStatus ¶
type VertexStatus struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Vertex github_com_opencontainers_go_digest.Digest `protobuf:"bytes,2,opt,name=vertex,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"vertex"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Current int64 `protobuf:"varint,4,opt,name=current,proto3" json:"current,omitempty"` Total int64 `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"` // TODO: add started, completed Timestamp time.Time `protobuf:"bytes,6,opt,name=timestamp,proto3,stdtime" json:"timestamp"` Started *time.Time `protobuf:"bytes,7,opt,name=started,proto3,stdtime" json:"started,omitempty"` Completed *time.Time `protobuf:"bytes,8,opt,name=completed,proto3,stdtime" json:"completed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VertexStatus) Descriptor ¶
func (*VertexStatus) Descriptor() ([]byte, []int)
func (*VertexStatus) GetCompleted ¶
func (m *VertexStatus) GetCompleted() *time.Time
func (*VertexStatus) GetCurrent ¶
func (m *VertexStatus) GetCurrent() int64
func (*VertexStatus) GetID ¶
func (m *VertexStatus) GetID() string
func (*VertexStatus) GetName ¶
func (m *VertexStatus) GetName() string
func (*VertexStatus) GetStarted ¶
func (m *VertexStatus) GetStarted() *time.Time
func (*VertexStatus) GetTimestamp ¶
func (m *VertexStatus) GetTimestamp() time.Time
func (*VertexStatus) GetTotal ¶
func (m *VertexStatus) GetTotal() int64
func (*VertexStatus) Marshal ¶
func (m *VertexStatus) Marshal() (dAtA []byte, err error)
func (*VertexStatus) ProtoMessage ¶
func (*VertexStatus) ProtoMessage()
func (*VertexStatus) Reset ¶
func (m *VertexStatus) Reset()
func (*VertexStatus) Size ¶
func (m *VertexStatus) Size() (n int)
func (*VertexStatus) String ¶
func (m *VertexStatus) String() string
func (*VertexStatus) Unmarshal ¶
func (m *VertexStatus) Unmarshal(dAtA []byte) error
func (*VertexStatus) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *VertexStatus) XXX_DiscardUnknown()
func (*VertexStatus) XXX_Marshal ¶ added in v0.4.0
func (m *VertexStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VertexStatus) XXX_Merge ¶ added in v0.4.0
func (dst *VertexStatus) XXX_Merge(src proto.Message)
func (*VertexStatus) XXX_Size ¶ added in v0.4.0
func (m *VertexStatus) XXX_Size() int
func (*VertexStatus) XXX_Unmarshal ¶ added in v0.4.0
func (m *VertexStatus) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.