mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
1302 lines
47 KiB
Go
1302 lines
47 KiB
Go
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
|
|
// Licensed under the GNU Affero General Public License (AGPL).
|
|
// See License-AGPL.txt in the project root for license information.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: imgbuilder.proto
|
|
|
|
package api
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
api "github.com/gitpod-io/gitpod/content-service/api"
|
|
proto "github.com/golang/protobuf/proto"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type BuildStatus int32
|
|
|
|
const (
|
|
BuildStatus_unknown BuildStatus = 0
|
|
BuildStatus_running BuildStatus = 1
|
|
BuildStatus_done_success BuildStatus = 2
|
|
BuildStatus_done_failure BuildStatus = 3
|
|
)
|
|
|
|
var BuildStatus_name = map[int32]string{
|
|
0: "unknown",
|
|
1: "running",
|
|
2: "done_success",
|
|
3: "done_failure",
|
|
}
|
|
|
|
var BuildStatus_value = map[string]int32{
|
|
"unknown": 0,
|
|
"running": 1,
|
|
"done_success": 2,
|
|
"done_failure": 3,
|
|
}
|
|
|
|
func (x BuildStatus) String() string {
|
|
return proto.EnumName(BuildStatus_name, int32(x))
|
|
}
|
|
|
|
func (BuildStatus) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{0}
|
|
}
|
|
|
|
type BuildSource struct {
|
|
// Types that are valid to be assigned to From:
|
|
// *BuildSource_Ref
|
|
// *BuildSource_File
|
|
From isBuildSource_From `protobuf_oneof:"from"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BuildSource) Reset() { *m = BuildSource{} }
|
|
func (m *BuildSource) String() string { return proto.CompactTextString(m) }
|
|
func (*BuildSource) ProtoMessage() {}
|
|
func (*BuildSource) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{0}
|
|
}
|
|
|
|
func (m *BuildSource) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BuildSource.Unmarshal(m, b)
|
|
}
|
|
func (m *BuildSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BuildSource.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BuildSource) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BuildSource.Merge(m, src)
|
|
}
|
|
func (m *BuildSource) XXX_Size() int {
|
|
return xxx_messageInfo_BuildSource.Size(m)
|
|
}
|
|
func (m *BuildSource) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BuildSource.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BuildSource proto.InternalMessageInfo
|
|
|
|
type isBuildSource_From interface {
|
|
isBuildSource_From()
|
|
}
|
|
|
|
type BuildSource_Ref struct {
|
|
Ref *BuildSourceReference `protobuf:"bytes,1,opt,name=ref,proto3,oneof"`
|
|
}
|
|
|
|
type BuildSource_File struct {
|
|
File *BuildSourceDockerfile `protobuf:"bytes,2,opt,name=file,proto3,oneof"`
|
|
}
|
|
|
|
func (*BuildSource_Ref) isBuildSource_From() {}
|
|
|
|
func (*BuildSource_File) isBuildSource_From() {}
|
|
|
|
func (m *BuildSource) GetFrom() isBuildSource_From {
|
|
if m != nil {
|
|
return m.From
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BuildSource) GetRef() *BuildSourceReference {
|
|
if x, ok := m.GetFrom().(*BuildSource_Ref); ok {
|
|
return x.Ref
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BuildSource) GetFile() *BuildSourceDockerfile {
|
|
if x, ok := m.GetFrom().(*BuildSource_File); ok {
|
|
return x.File
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
|
func (*BuildSource) XXX_OneofWrappers() []interface{} {
|
|
return []interface{}{
|
|
(*BuildSource_Ref)(nil),
|
|
(*BuildSource_File)(nil),
|
|
}
|
|
}
|
|
|
|
type BuildSourceReference 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 (m *BuildSourceReference) Reset() { *m = BuildSourceReference{} }
|
|
func (m *BuildSourceReference) String() string { return proto.CompactTextString(m) }
|
|
func (*BuildSourceReference) ProtoMessage() {}
|
|
func (*BuildSourceReference) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{1}
|
|
}
|
|
|
|
func (m *BuildSourceReference) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BuildSourceReference.Unmarshal(m, b)
|
|
}
|
|
func (m *BuildSourceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BuildSourceReference.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BuildSourceReference) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BuildSourceReference.Merge(m, src)
|
|
}
|
|
func (m *BuildSourceReference) XXX_Size() int {
|
|
return xxx_messageInfo_BuildSourceReference.Size(m)
|
|
}
|
|
func (m *BuildSourceReference) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BuildSourceReference.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BuildSourceReference proto.InternalMessageInfo
|
|
|
|
func (m *BuildSourceReference) GetRef() string {
|
|
if m != nil {
|
|
return m.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BuildSourceDockerfile struct {
|
|
Source *api.WorkspaceInitializer `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
|
|
DockerfileVersion string `protobuf:"bytes,2,opt,name=dockerfile_version,json=dockerfileVersion,proto3" json:"dockerfile_version,omitempty"`
|
|
DockerfilePath string `protobuf:"bytes,3,opt,name=dockerfile_path,json=dockerfilePath,proto3" json:"dockerfile_path,omitempty"`
|
|
ContextPath string `protobuf:"bytes,4,opt,name=context_path,json=contextPath,proto3" json:"context_path,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BuildSourceDockerfile) Reset() { *m = BuildSourceDockerfile{} }
|
|
func (m *BuildSourceDockerfile) String() string { return proto.CompactTextString(m) }
|
|
func (*BuildSourceDockerfile) ProtoMessage() {}
|
|
func (*BuildSourceDockerfile) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{2}
|
|
}
|
|
|
|
func (m *BuildSourceDockerfile) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BuildSourceDockerfile.Unmarshal(m, b)
|
|
}
|
|
func (m *BuildSourceDockerfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BuildSourceDockerfile.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BuildSourceDockerfile) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BuildSourceDockerfile.Merge(m, src)
|
|
}
|
|
func (m *BuildSourceDockerfile) XXX_Size() int {
|
|
return xxx_messageInfo_BuildSourceDockerfile.Size(m)
|
|
}
|
|
func (m *BuildSourceDockerfile) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BuildSourceDockerfile.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BuildSourceDockerfile proto.InternalMessageInfo
|
|
|
|
func (m *BuildSourceDockerfile) GetSource() *api.WorkspaceInitializer {
|
|
if m != nil {
|
|
return m.Source
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BuildSourceDockerfile) GetDockerfileVersion() string {
|
|
if m != nil {
|
|
return m.DockerfileVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *BuildSourceDockerfile) GetDockerfilePath() string {
|
|
if m != nil {
|
|
return m.DockerfilePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *BuildSourceDockerfile) GetContextPath() string {
|
|
if m != nil {
|
|
return m.ContextPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResolveBaseImageRequest struct {
|
|
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
Auth *BuildRegistryAuth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ResolveBaseImageRequest) Reset() { *m = ResolveBaseImageRequest{} }
|
|
func (m *ResolveBaseImageRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ResolveBaseImageRequest) ProtoMessage() {}
|
|
func (*ResolveBaseImageRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{3}
|
|
}
|
|
|
|
func (m *ResolveBaseImageRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ResolveBaseImageRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ResolveBaseImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ResolveBaseImageRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ResolveBaseImageRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResolveBaseImageRequest.Merge(m, src)
|
|
}
|
|
func (m *ResolveBaseImageRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ResolveBaseImageRequest.Size(m)
|
|
}
|
|
func (m *ResolveBaseImageRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResolveBaseImageRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResolveBaseImageRequest proto.InternalMessageInfo
|
|
|
|
func (m *ResolveBaseImageRequest) GetRef() string {
|
|
if m != nil {
|
|
return m.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ResolveBaseImageRequest) GetAuth() *BuildRegistryAuth {
|
|
if m != nil {
|
|
return m.Auth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ResolveBaseImageResponse 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 (m *ResolveBaseImageResponse) Reset() { *m = ResolveBaseImageResponse{} }
|
|
func (m *ResolveBaseImageResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ResolveBaseImageResponse) ProtoMessage() {}
|
|
func (*ResolveBaseImageResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{4}
|
|
}
|
|
|
|
func (m *ResolveBaseImageResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ResolveBaseImageResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ResolveBaseImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ResolveBaseImageResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ResolveBaseImageResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResolveBaseImageResponse.Merge(m, src)
|
|
}
|
|
func (m *ResolveBaseImageResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ResolveBaseImageResponse.Size(m)
|
|
}
|
|
func (m *ResolveBaseImageResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResolveBaseImageResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResolveBaseImageResponse proto.InternalMessageInfo
|
|
|
|
func (m *ResolveBaseImageResponse) GetRef() string {
|
|
if m != nil {
|
|
return m.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResolveWorkspaceImageRequest struct {
|
|
Source *BuildSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
|
|
Auth *BuildRegistryAuth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ResolveWorkspaceImageRequest) Reset() { *m = ResolveWorkspaceImageRequest{} }
|
|
func (m *ResolveWorkspaceImageRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ResolveWorkspaceImageRequest) ProtoMessage() {}
|
|
func (*ResolveWorkspaceImageRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{5}
|
|
}
|
|
|
|
func (m *ResolveWorkspaceImageRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ResolveWorkspaceImageRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ResolveWorkspaceImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ResolveWorkspaceImageRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ResolveWorkspaceImageRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResolveWorkspaceImageRequest.Merge(m, src)
|
|
}
|
|
func (m *ResolveWorkspaceImageRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ResolveWorkspaceImageRequest.Size(m)
|
|
}
|
|
func (m *ResolveWorkspaceImageRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResolveWorkspaceImageRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResolveWorkspaceImageRequest proto.InternalMessageInfo
|
|
|
|
func (m *ResolveWorkspaceImageRequest) GetSource() *BuildSource {
|
|
if m != nil {
|
|
return m.Source
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ResolveWorkspaceImageRequest) GetAuth() *BuildRegistryAuth {
|
|
if m != nil {
|
|
return m.Auth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ResolveWorkspaceImageResponse struct {
|
|
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
BaseRef string `protobuf:"bytes,3,opt,name=base_ref,json=baseRef,proto3" json:"base_ref,omitempty"`
|
|
Status BuildStatus `protobuf:"varint,2,opt,name=status,proto3,enum=builder.BuildStatus" json:"status,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ResolveWorkspaceImageResponse) Reset() { *m = ResolveWorkspaceImageResponse{} }
|
|
func (m *ResolveWorkspaceImageResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ResolveWorkspaceImageResponse) ProtoMessage() {}
|
|
func (*ResolveWorkspaceImageResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{6}
|
|
}
|
|
|
|
func (m *ResolveWorkspaceImageResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ResolveWorkspaceImageResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ResolveWorkspaceImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ResolveWorkspaceImageResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ResolveWorkspaceImageResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResolveWorkspaceImageResponse.Merge(m, src)
|
|
}
|
|
func (m *ResolveWorkspaceImageResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ResolveWorkspaceImageResponse.Size(m)
|
|
}
|
|
func (m *ResolveWorkspaceImageResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResolveWorkspaceImageResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResolveWorkspaceImageResponse proto.InternalMessageInfo
|
|
|
|
func (m *ResolveWorkspaceImageResponse) GetRef() string {
|
|
if m != nil {
|
|
return m.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ResolveWorkspaceImageResponse) GetBaseRef() string {
|
|
if m != nil {
|
|
return m.BaseRef
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ResolveWorkspaceImageResponse) GetStatus() BuildStatus {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return BuildStatus_unknown
|
|
}
|
|
|
|
type BuildRequest struct {
|
|
Source *BuildSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
|
|
Auth *BuildRegistryAuth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BuildRequest) Reset() { *m = BuildRequest{} }
|
|
func (m *BuildRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*BuildRequest) ProtoMessage() {}
|
|
func (*BuildRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{7}
|
|
}
|
|
|
|
func (m *BuildRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BuildRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *BuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BuildRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BuildRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BuildRequest.Merge(m, src)
|
|
}
|
|
func (m *BuildRequest) XXX_Size() int {
|
|
return xxx_messageInfo_BuildRequest.Size(m)
|
|
}
|
|
func (m *BuildRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BuildRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BuildRequest proto.InternalMessageInfo
|
|
|
|
func (m *BuildRequest) GetSource() *BuildSource {
|
|
if m != nil {
|
|
return m.Source
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BuildRequest) GetAuth() *BuildRegistryAuth {
|
|
if m != nil {
|
|
return m.Auth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BuildRegistryAuth struct {
|
|
// Types that are valid to be assigned to Mode:
|
|
// *BuildRegistryAuth_Total
|
|
// *BuildRegistryAuth_Selective
|
|
Mode isBuildRegistryAuth_Mode `protobuf_oneof:"mode"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BuildRegistryAuth) Reset() { *m = BuildRegistryAuth{} }
|
|
func (m *BuildRegistryAuth) String() string { return proto.CompactTextString(m) }
|
|
func (*BuildRegistryAuth) ProtoMessage() {}
|
|
func (*BuildRegistryAuth) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{8}
|
|
}
|
|
|
|
func (m *BuildRegistryAuth) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BuildRegistryAuth.Unmarshal(m, b)
|
|
}
|
|
func (m *BuildRegistryAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BuildRegistryAuth.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BuildRegistryAuth) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BuildRegistryAuth.Merge(m, src)
|
|
}
|
|
func (m *BuildRegistryAuth) XXX_Size() int {
|
|
return xxx_messageInfo_BuildRegistryAuth.Size(m)
|
|
}
|
|
func (m *BuildRegistryAuth) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BuildRegistryAuth.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BuildRegistryAuth proto.InternalMessageInfo
|
|
|
|
type isBuildRegistryAuth_Mode interface {
|
|
isBuildRegistryAuth_Mode()
|
|
}
|
|
|
|
type BuildRegistryAuth_Total struct {
|
|
Total *BuildRegistryAuthTotal `protobuf:"bytes,1,opt,name=total,proto3,oneof"`
|
|
}
|
|
|
|
type BuildRegistryAuth_Selective struct {
|
|
Selective *BuildRegistryAuthSelective `protobuf:"bytes,2,opt,name=selective,proto3,oneof"`
|
|
}
|
|
|
|
func (*BuildRegistryAuth_Total) isBuildRegistryAuth_Mode() {}
|
|
|
|
func (*BuildRegistryAuth_Selective) isBuildRegistryAuth_Mode() {}
|
|
|
|
func (m *BuildRegistryAuth) GetMode() isBuildRegistryAuth_Mode {
|
|
if m != nil {
|
|
return m.Mode
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BuildRegistryAuth) GetTotal() *BuildRegistryAuthTotal {
|
|
if x, ok := m.GetMode().(*BuildRegistryAuth_Total); ok {
|
|
return x.Total
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BuildRegistryAuth) GetSelective() *BuildRegistryAuthSelective {
|
|
if x, ok := m.GetMode().(*BuildRegistryAuth_Selective); ok {
|
|
return x.Selective
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
|
func (*BuildRegistryAuth) XXX_OneofWrappers() []interface{} {
|
|
return []interface{}{
|
|
(*BuildRegistryAuth_Total)(nil),
|
|
(*BuildRegistryAuth_Selective)(nil),
|
|
}
|
|
}
|
|
|
|
type BuildRegistryAuthTotal struct {
|
|
AllowAll bool `protobuf:"varint,1,opt,name=allow_all,json=allowAll,proto3" json:"allow_all,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BuildRegistryAuthTotal) Reset() { *m = BuildRegistryAuthTotal{} }
|
|
func (m *BuildRegistryAuthTotal) String() string { return proto.CompactTextString(m) }
|
|
func (*BuildRegistryAuthTotal) ProtoMessage() {}
|
|
func (*BuildRegistryAuthTotal) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{9}
|
|
}
|
|
|
|
func (m *BuildRegistryAuthTotal) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BuildRegistryAuthTotal.Unmarshal(m, b)
|
|
}
|
|
func (m *BuildRegistryAuthTotal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BuildRegistryAuthTotal.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BuildRegistryAuthTotal) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BuildRegistryAuthTotal.Merge(m, src)
|
|
}
|
|
func (m *BuildRegistryAuthTotal) XXX_Size() int {
|
|
return xxx_messageInfo_BuildRegistryAuthTotal.Size(m)
|
|
}
|
|
func (m *BuildRegistryAuthTotal) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BuildRegistryAuthTotal.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BuildRegistryAuthTotal proto.InternalMessageInfo
|
|
|
|
func (m *BuildRegistryAuthTotal) GetAllowAll() bool {
|
|
if m != nil {
|
|
return m.AllowAll
|
|
}
|
|
return false
|
|
}
|
|
|
|
type BuildRegistryAuthSelective struct {
|
|
AllowBaserep bool `protobuf:"varint,1,opt,name=allow_baserep,json=allowBaserep,proto3" json:"allow_baserep,omitempty"`
|
|
AllowWorkspacerep bool `protobuf:"varint,2,opt,name=allow_workspacerep,json=allowWorkspacerep,proto3" json:"allow_workspacerep,omitempty"`
|
|
AnyOf []string `protobuf:"bytes,3,rep,name=any_of,json=anyOf,proto3" json:"any_of,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BuildRegistryAuthSelective) Reset() { *m = BuildRegistryAuthSelective{} }
|
|
func (m *BuildRegistryAuthSelective) String() string { return proto.CompactTextString(m) }
|
|
func (*BuildRegistryAuthSelective) ProtoMessage() {}
|
|
func (*BuildRegistryAuthSelective) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{10}
|
|
}
|
|
|
|
func (m *BuildRegistryAuthSelective) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BuildRegistryAuthSelective.Unmarshal(m, b)
|
|
}
|
|
func (m *BuildRegistryAuthSelective) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BuildRegistryAuthSelective.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BuildRegistryAuthSelective) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BuildRegistryAuthSelective.Merge(m, src)
|
|
}
|
|
func (m *BuildRegistryAuthSelective) XXX_Size() int {
|
|
return xxx_messageInfo_BuildRegistryAuthSelective.Size(m)
|
|
}
|
|
func (m *BuildRegistryAuthSelective) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BuildRegistryAuthSelective.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BuildRegistryAuthSelective proto.InternalMessageInfo
|
|
|
|
func (m *BuildRegistryAuthSelective) GetAllowBaserep() bool {
|
|
if m != nil {
|
|
return m.AllowBaserep
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *BuildRegistryAuthSelective) GetAllowWorkspacerep() bool {
|
|
if m != nil {
|
|
return m.AllowWorkspacerep
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *BuildRegistryAuthSelective) GetAnyOf() []string {
|
|
if m != nil {
|
|
return m.AnyOf
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BuildResponse struct {
|
|
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
BaseRef string `protobuf:"bytes,4,opt,name=base_ref,json=baseRef,proto3" json:"base_ref,omitempty"`
|
|
Status BuildStatus `protobuf:"varint,2,opt,name=status,proto3,enum=builder.BuildStatus" json:"status,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BuildResponse) Reset() { *m = BuildResponse{} }
|
|
func (m *BuildResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*BuildResponse) ProtoMessage() {}
|
|
func (*BuildResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{11}
|
|
}
|
|
|
|
func (m *BuildResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BuildResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *BuildResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BuildResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BuildResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BuildResponse.Merge(m, src)
|
|
}
|
|
func (m *BuildResponse) XXX_Size() int {
|
|
return xxx_messageInfo_BuildResponse.Size(m)
|
|
}
|
|
func (m *BuildResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BuildResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BuildResponse proto.InternalMessageInfo
|
|
|
|
func (m *BuildResponse) GetRef() string {
|
|
if m != nil {
|
|
return m.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *BuildResponse) GetBaseRef() string {
|
|
if m != nil {
|
|
return m.BaseRef
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *BuildResponse) GetStatus() BuildStatus {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return BuildStatus_unknown
|
|
}
|
|
|
|
func (m *BuildResponse) GetMessage() string {
|
|
if m != nil {
|
|
return m.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LogsRequest struct {
|
|
BuildRef string `protobuf:"bytes,1,opt,name=build_ref,json=buildRef,proto3" json:"build_ref,omitempty"`
|
|
Censored bool `protobuf:"varint,2,opt,name=censored,proto3" json:"censored,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *LogsRequest) Reset() { *m = LogsRequest{} }
|
|
func (m *LogsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*LogsRequest) ProtoMessage() {}
|
|
func (*LogsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{12}
|
|
}
|
|
|
|
func (m *LogsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_LogsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *LogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_LogsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *LogsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_LogsRequest.Merge(m, src)
|
|
}
|
|
func (m *LogsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_LogsRequest.Size(m)
|
|
}
|
|
func (m *LogsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_LogsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_LogsRequest proto.InternalMessageInfo
|
|
|
|
func (m *LogsRequest) GetBuildRef() string {
|
|
if m != nil {
|
|
return m.BuildRef
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *LogsRequest) GetCensored() bool {
|
|
if m != nil {
|
|
return m.Censored
|
|
}
|
|
return false
|
|
}
|
|
|
|
type LogsResponse struct {
|
|
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *LogsResponse) Reset() { *m = LogsResponse{} }
|
|
func (m *LogsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*LogsResponse) ProtoMessage() {}
|
|
func (*LogsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{13}
|
|
}
|
|
|
|
func (m *LogsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_LogsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *LogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_LogsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *LogsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_LogsResponse.Merge(m, src)
|
|
}
|
|
func (m *LogsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_LogsResponse.Size(m)
|
|
}
|
|
func (m *LogsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_LogsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_LogsResponse proto.InternalMessageInfo
|
|
|
|
func (m *LogsResponse) GetContent() []byte {
|
|
if m != nil {
|
|
return m.Content
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListBuildsRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListBuildsRequest) Reset() { *m = ListBuildsRequest{} }
|
|
func (m *ListBuildsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ListBuildsRequest) ProtoMessage() {}
|
|
func (*ListBuildsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{14}
|
|
}
|
|
|
|
func (m *ListBuildsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListBuildsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ListBuildsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListBuildsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListBuildsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListBuildsRequest.Merge(m, src)
|
|
}
|
|
func (m *ListBuildsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ListBuildsRequest.Size(m)
|
|
}
|
|
func (m *ListBuildsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListBuildsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListBuildsRequest proto.InternalMessageInfo
|
|
|
|
type ListBuildsResponse struct {
|
|
Builds []*BuildInfo `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListBuildsResponse) Reset() { *m = ListBuildsResponse{} }
|
|
func (m *ListBuildsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ListBuildsResponse) ProtoMessage() {}
|
|
func (*ListBuildsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{15}
|
|
}
|
|
|
|
func (m *ListBuildsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListBuildsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ListBuildsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListBuildsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListBuildsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListBuildsResponse.Merge(m, src)
|
|
}
|
|
func (m *ListBuildsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ListBuildsResponse.Size(m)
|
|
}
|
|
func (m *ListBuildsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListBuildsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListBuildsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListBuildsResponse) GetBuilds() []*BuildInfo {
|
|
if m != nil {
|
|
return m.Builds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BuildInfo struct {
|
|
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
Status BuildStatus `protobuf:"varint,2,opt,name=status,proto3,enum=builder.BuildStatus" json:"status,omitempty"`
|
|
StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BuildInfo) Reset() { *m = BuildInfo{} }
|
|
func (m *BuildInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*BuildInfo) ProtoMessage() {}
|
|
func (*BuildInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a464e6dbb36703b9, []int{16}
|
|
}
|
|
|
|
func (m *BuildInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BuildInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *BuildInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BuildInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BuildInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BuildInfo.Merge(m, src)
|
|
}
|
|
func (m *BuildInfo) XXX_Size() int {
|
|
return xxx_messageInfo_BuildInfo.Size(m)
|
|
}
|
|
func (m *BuildInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BuildInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BuildInfo proto.InternalMessageInfo
|
|
|
|
func (m *BuildInfo) GetRef() string {
|
|
if m != nil {
|
|
return m.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *BuildInfo) GetStatus() BuildStatus {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return BuildStatus_unknown
|
|
}
|
|
|
|
func (m *BuildInfo) GetStartedAt() int64 {
|
|
if m != nil {
|
|
return m.StartedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("builder.BuildStatus", BuildStatus_name, BuildStatus_value)
|
|
proto.RegisterType((*BuildSource)(nil), "builder.BuildSource")
|
|
proto.RegisterType((*BuildSourceReference)(nil), "builder.BuildSourceReference")
|
|
proto.RegisterType((*BuildSourceDockerfile)(nil), "builder.BuildSourceDockerfile")
|
|
proto.RegisterType((*ResolveBaseImageRequest)(nil), "builder.ResolveBaseImageRequest")
|
|
proto.RegisterType((*ResolveBaseImageResponse)(nil), "builder.ResolveBaseImageResponse")
|
|
proto.RegisterType((*ResolveWorkspaceImageRequest)(nil), "builder.ResolveWorkspaceImageRequest")
|
|
proto.RegisterType((*ResolveWorkspaceImageResponse)(nil), "builder.ResolveWorkspaceImageResponse")
|
|
proto.RegisterType((*BuildRequest)(nil), "builder.BuildRequest")
|
|
proto.RegisterType((*BuildRegistryAuth)(nil), "builder.BuildRegistryAuth")
|
|
proto.RegisterType((*BuildRegistryAuthTotal)(nil), "builder.BuildRegistryAuthTotal")
|
|
proto.RegisterType((*BuildRegistryAuthSelective)(nil), "builder.BuildRegistryAuthSelective")
|
|
proto.RegisterType((*BuildResponse)(nil), "builder.BuildResponse")
|
|
proto.RegisterType((*LogsRequest)(nil), "builder.LogsRequest")
|
|
proto.RegisterType((*LogsResponse)(nil), "builder.LogsResponse")
|
|
proto.RegisterType((*ListBuildsRequest)(nil), "builder.ListBuildsRequest")
|
|
proto.RegisterType((*ListBuildsResponse)(nil), "builder.ListBuildsResponse")
|
|
proto.RegisterType((*BuildInfo)(nil), "builder.BuildInfo")
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("imgbuilder.proto", fileDescriptor_a464e6dbb36703b9)
|
|
}
|
|
|
|
var fileDescriptor_a464e6dbb36703b9 = []byte{
|
|
// 868 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xdf, 0x6f, 0x1b, 0x45,
|
|
0x10, 0xf6, 0xc5, 0x8e, 0x7f, 0x8c, 0xdd, 0xe2, 0x2c, 0x75, 0x31, 0x0e, 0x81, 0xf4, 0x4a, 0xc1,
|
|
0xaa, 0x6a, 0x1b, 0x02, 0xa8, 0x12, 0xe2, 0x81, 0x18, 0x04, 0x89, 0xa8, 0x04, 0xda, 0x22, 0x2a,
|
|
0xe0, 0xc1, 0x5a, 0x9f, 0xe7, 0xec, 0x25, 0xe7, 0xdd, 0xe3, 0x76, 0x2f, 0x21, 0x15, 0xe2, 0x09,
|
|
0x89, 0x67, 0x1e, 0xf9, 0xaf, 0xf8, 0x93, 0xd0, 0xed, 0xed, 0xf9, 0x5c, 0xfb, 0x0c, 0x44, 0x48,
|
|
0xbc, 0x79, 0x67, 0xbe, 0xf9, 0xe6, 0x9b, 0xd9,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0xcc, 0x12, 0xc9, 0xef, 0x68, 0x6d, 0x44, 0x7b, 0x9d, 0x0d,
|
|
0xeb, 0x5a, 0xe0, 0xe7, 0x00, 0xf9, 0x14, 0x91, 0x7c, 0xc1, 0x6d, 0xcd, 0x5b, 0xef, 0xb0, 0xd0,
|
|
0x97, 0x51, 0x8d, 0x47, 0xdf, 0x0d, 0xe6, 0x5c, 0x2f, 0xe2, 0xe9, 0xd0, 0x93, 0xcb, 0xd1, 0x9c,
|
|
0xeb, 0x50, 0xce, 0x06, 0x5c, 0xda, 0x5f, 0x23, 0x9e, 0x14, 0x3b, 0xb0, 0x0c, 0x23, 0x16, 0xf2,
|
|
0x69, 0xd5, 0x7c, 0xa1, 0xbc, 0xf7, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x26, 0x99, 0x8f, 0x63,
|
|
0xe5, 0x08, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConnInterface
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion6
|
|
|
|
// ImageBuilderClient is the client API for ImageBuilder service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type ImageBuilderClient interface {
|
|
// ResolveBaseImage returns the "digest" form of a Docker image tag thereby making it absolute.
|
|
ResolveBaseImage(ctx context.Context, in *ResolveBaseImageRequest, opts ...grpc.CallOption) (*ResolveBaseImageResponse, error)
|
|
// ResolveWorkspaceImage returns information about a build configuration without actually attempting to build anything.
|
|
ResolveWorkspaceImage(ctx context.Context, in *ResolveWorkspaceImageRequest, opts ...grpc.CallOption) (*ResolveWorkspaceImageResponse, error)
|
|
// Build initiates the build of a Docker image using a build configuration. If a build of this
|
|
// configuration is already ongoing no new build will be started.
|
|
Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (ImageBuilder_BuildClient, error)
|
|
// Logs listens to the build output of an ongoing Docker build identified build the build ID
|
|
Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (ImageBuilder_LogsClient, error)
|
|
// ListBuilds returns a list of currently running builds
|
|
ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error)
|
|
}
|
|
|
|
type imageBuilderClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewImageBuilderClient(cc grpc.ClientConnInterface) ImageBuilderClient {
|
|
return &imageBuilderClient{cc}
|
|
}
|
|
|
|
func (c *imageBuilderClient) ResolveBaseImage(ctx context.Context, in *ResolveBaseImageRequest, opts ...grpc.CallOption) (*ResolveBaseImageResponse, error) {
|
|
out := new(ResolveBaseImageResponse)
|
|
err := c.cc.Invoke(ctx, "/builder.ImageBuilder/ResolveBaseImage", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *imageBuilderClient) ResolveWorkspaceImage(ctx context.Context, in *ResolveWorkspaceImageRequest, opts ...grpc.CallOption) (*ResolveWorkspaceImageResponse, error) {
|
|
out := new(ResolveWorkspaceImageResponse)
|
|
err := c.cc.Invoke(ctx, "/builder.ImageBuilder/ResolveWorkspaceImage", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *imageBuilderClient) Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (ImageBuilder_BuildClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_ImageBuilder_serviceDesc.Streams[0], "/builder.ImageBuilder/Build", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &imageBuilderBuildClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type ImageBuilder_BuildClient interface {
|
|
Recv() (*BuildResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type imageBuilderBuildClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *imageBuilderBuildClient) Recv() (*BuildResponse, error) {
|
|
m := new(BuildResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *imageBuilderClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (ImageBuilder_LogsClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_ImageBuilder_serviceDesc.Streams[1], "/builder.ImageBuilder/Logs", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &imageBuilderLogsClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type ImageBuilder_LogsClient interface {
|
|
Recv() (*LogsResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type imageBuilderLogsClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *imageBuilderLogsClient) Recv() (*LogsResponse, error) {
|
|
m := new(LogsResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *imageBuilderClient) ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error) {
|
|
out := new(ListBuildsResponse)
|
|
err := c.cc.Invoke(ctx, "/builder.ImageBuilder/ListBuilds", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// ImageBuilderServer is the server API for ImageBuilder service.
|
|
type ImageBuilderServer interface {
|
|
// ResolveBaseImage returns the "digest" form of a Docker image tag thereby making it absolute.
|
|
ResolveBaseImage(context.Context, *ResolveBaseImageRequest) (*ResolveBaseImageResponse, error)
|
|
// ResolveWorkspaceImage returns information about a build configuration without actually attempting to build anything.
|
|
ResolveWorkspaceImage(context.Context, *ResolveWorkspaceImageRequest) (*ResolveWorkspaceImageResponse, error)
|
|
// Build initiates the build of a Docker image using a build configuration. If a build of this
|
|
// configuration is already ongoing no new build will be started.
|
|
Build(*BuildRequest, ImageBuilder_BuildServer) error
|
|
// Logs listens to the build output of an ongoing Docker build identified build the build ID
|
|
Logs(*LogsRequest, ImageBuilder_LogsServer) error
|
|
// ListBuilds returns a list of currently running builds
|
|
ListBuilds(context.Context, *ListBuildsRequest) (*ListBuildsResponse, error)
|
|
}
|
|
|
|
// UnimplementedImageBuilderServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedImageBuilderServer struct {
|
|
}
|
|
|
|
func (*UnimplementedImageBuilderServer) ResolveBaseImage(ctx context.Context, req *ResolveBaseImageRequest) (*ResolveBaseImageResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ResolveBaseImage not implemented")
|
|
}
|
|
func (*UnimplementedImageBuilderServer) ResolveWorkspaceImage(ctx context.Context, req *ResolveWorkspaceImageRequest) (*ResolveWorkspaceImageResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ResolveWorkspaceImage not implemented")
|
|
}
|
|
func (*UnimplementedImageBuilderServer) Build(req *BuildRequest, srv ImageBuilder_BuildServer) error {
|
|
return status.Errorf(codes.Unimplemented, "method Build not implemented")
|
|
}
|
|
func (*UnimplementedImageBuilderServer) Logs(req *LogsRequest, srv ImageBuilder_LogsServer) error {
|
|
return status.Errorf(codes.Unimplemented, "method Logs not implemented")
|
|
}
|
|
func (*UnimplementedImageBuilderServer) ListBuilds(ctx context.Context, req *ListBuildsRequest) (*ListBuildsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListBuilds not implemented")
|
|
}
|
|
|
|
func RegisterImageBuilderServer(s *grpc.Server, srv ImageBuilderServer) {
|
|
s.RegisterService(&_ImageBuilder_serviceDesc, srv)
|
|
}
|
|
|
|
func _ImageBuilder_ResolveBaseImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ResolveBaseImageRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ImageBuilderServer).ResolveBaseImage(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/builder.ImageBuilder/ResolveBaseImage",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ImageBuilderServer).ResolveBaseImage(ctx, req.(*ResolveBaseImageRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ImageBuilder_ResolveWorkspaceImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ResolveWorkspaceImageRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ImageBuilderServer).ResolveWorkspaceImage(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/builder.ImageBuilder/ResolveWorkspaceImage",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ImageBuilderServer).ResolveWorkspaceImage(ctx, req.(*ResolveWorkspaceImageRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ImageBuilder_Build_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(BuildRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(ImageBuilderServer).Build(m, &imageBuilderBuildServer{stream})
|
|
}
|
|
|
|
type ImageBuilder_BuildServer interface {
|
|
Send(*BuildResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type imageBuilderBuildServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *imageBuilderBuildServer) Send(m *BuildResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _ImageBuilder_Logs_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(LogsRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(ImageBuilderServer).Logs(m, &imageBuilderLogsServer{stream})
|
|
}
|
|
|
|
type ImageBuilder_LogsServer interface {
|
|
Send(*LogsResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type imageBuilderLogsServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *imageBuilderLogsServer) Send(m *LogsResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _ImageBuilder_ListBuilds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListBuildsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ImageBuilderServer).ListBuilds(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/builder.ImageBuilder/ListBuilds",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ImageBuilderServer).ListBuilds(ctx, req.(*ListBuildsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _ImageBuilder_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "builder.ImageBuilder",
|
|
HandlerType: (*ImageBuilderServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "ResolveBaseImage",
|
|
Handler: _ImageBuilder_ResolveBaseImage_Handler,
|
|
},
|
|
{
|
|
MethodName: "ResolveWorkspaceImage",
|
|
Handler: _ImageBuilder_ResolveWorkspaceImage_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListBuilds",
|
|
Handler: _ImageBuilder_ListBuilds_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{
|
|
{
|
|
StreamName: "Build",
|
|
Handler: _ImageBuilder_Build_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "Logs",
|
|
Handler: _ImageBuilder_Logs_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
},
|
|
Metadata: "imgbuilder.proto",
|
|
}
|