// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: api/services/control.proto package isula_build_v1 import ( context "context" fmt "fmt" proto "github.com/gogo/protobuf/proto" types "github.com/gogo/protobuf/types" 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package type HealthCheckResponse_ServingStatus int32 const ( HealthCheckResponse_UNKNOWN HealthCheckResponse_ServingStatus = 0 HealthCheckResponse_SERVING HealthCheckResponse_ServingStatus = 1 HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2 ) var HealthCheckResponse_ServingStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "SERVING", 2: "NOT_SERVING", } var HealthCheckResponse_ServingStatus_value = map[string]int32{ "UNKNOWN": 0, "SERVING": 1, "NOT_SERVING": 2, } func (x HealthCheckResponse_ServingStatus) String() string { return proto.EnumName(HealthCheckResponse_ServingStatus_name, int32(x)) } func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{12, 0} } type BuildRequest struct { // buildType is the type of this build action BuildType string `protobuf:"bytes,1,opt,name=buildType,proto3" json:"buildType,omitempty"` // buildID is an unique id for this building process BuildID string `protobuf:"bytes,2,opt,name=buildID,proto3" json:"buildID,omitempty"` // contextDir is the working directory of building context ContextDir string `protobuf:"bytes,3,opt,name=contextDir,proto3" json:"contextDir,omitempty"` // fileContent is the content of Dockerfile FileContent string `protobuf:"bytes,4,opt,name=fileContent,proto3" json:"fileContent,omitempty"` // output is the way of exporting built image Output string `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"` // buildArgs are args for this building BuildArgs []string `protobuf:"bytes,6,rep,name=buildArgs,proto3" json:"buildArgs,omitempty"` // proxy marks for whether inherit proxy environments from host Proxy bool `protobuf:"varint,7,opt,name=proxy,proto3" json:"proxy,omitempty"` // iidfile is the file client writes image ID to Iidfile string `protobuf:"bytes,8,opt,name=iidfile,proto3" json:"iidfile,omitempty"` // buildStatic is used to hold the options for static build BuildStatic *BuildStatic `protobuf:"bytes,9,opt,name=buildStatic,proto3" json:"buildStatic,omitempty"` // encryptKey is key to encrypt items in buildArgs EncryptKey string `protobuf:"bytes,10,opt,name=encryptKey,proto3" json:"encryptKey,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_d71ef680555cb937, []int{0} } 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) GetBuildType() string { if m != nil { return m.BuildType } return "" } func (m *BuildRequest) GetBuildID() string { if m != nil { return m.BuildID } return "" } func (m *BuildRequest) GetContextDir() string { if m != nil { return m.ContextDir } return "" } func (m *BuildRequest) GetFileContent() string { if m != nil { return m.FileContent } return "" } func (m *BuildRequest) GetOutput() string { if m != nil { return m.Output } return "" } func (m *BuildRequest) GetBuildArgs() []string { if m != nil { return m.BuildArgs } return nil } func (m *BuildRequest) GetProxy() bool { if m != nil { return m.Proxy } return false } func (m *BuildRequest) GetIidfile() string { if m != nil { return m.Iidfile } return "" } func (m *BuildRequest) GetBuildStatic() *BuildStatic { if m != nil { return m.BuildStatic } return nil } func (m *BuildRequest) GetEncryptKey() string { if m != nil { return m.EncryptKey } return "" } type ImportRequest struct { // reference is reference of the import image Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` // data is the tarball of the import image Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ImportRequest) Reset() { *m = ImportRequest{} } func (m *ImportRequest) String() string { return proto.CompactTextString(m) } func (*ImportRequest) ProtoMessage() {} func (*ImportRequest) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{1} } func (m *ImportRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportRequest.Unmarshal(m, b) } func (m *ImportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ImportRequest.Marshal(b, m, deterministic) } func (m *ImportRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ImportRequest.Merge(m, src) } func (m *ImportRequest) XXX_Size() int { return xxx_messageInfo_ImportRequest.Size(m) } func (m *ImportRequest) XXX_DiscardUnknown() { xxx_messageInfo_ImportRequest.DiscardUnknown(m) } var xxx_messageInfo_ImportRequest proto.InternalMessageInfo func (m *ImportRequest) GetReference() string { if m != nil { return m.Reference } return "" } func (m *ImportRequest) GetData() []byte { if m != nil { return m.Data } return nil } type ImportResponse struct { // imageID is the ID of the import image ImageID string `protobuf:"bytes,1,opt,name=imageID,proto3" json:"imageID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ImportResponse) Reset() { *m = ImportResponse{} } func (m *ImportResponse) String() string { return proto.CompactTextString(m) } func (*ImportResponse) ProtoMessage() {} func (*ImportResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{2} } func (m *ImportResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ImportResponse.Unmarshal(m, b) } func (m *ImportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ImportResponse.Marshal(b, m, deterministic) } func (m *ImportResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ImportResponse.Merge(m, src) } func (m *ImportResponse) XXX_Size() int { return xxx_messageInfo_ImportResponse.Size(m) } func (m *ImportResponse) XXX_DiscardUnknown() { xxx_messageInfo_ImportResponse.DiscardUnknown(m) } var xxx_messageInfo_ImportResponse proto.InternalMessageInfo func (m *ImportResponse) GetImageID() string { if m != nil { return m.ImageID } return "" } type BuildStatic struct { // buildTime is a fixed time for binary equivalence build BuildTime *types.Timestamp `protobuf:"bytes,1,opt,name=buildTime,proto3" json:"buildTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *BuildStatic) Reset() { *m = BuildStatic{} } func (m *BuildStatic) String() string { return proto.CompactTextString(m) } func (*BuildStatic) ProtoMessage() {} func (*BuildStatic) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{3} } func (m *BuildStatic) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BuildStatic.Unmarshal(m, b) } func (m *BuildStatic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BuildStatic.Marshal(b, m, deterministic) } func (m *BuildStatic) XXX_Merge(src proto.Message) { xxx_messageInfo_BuildStatic.Merge(m, src) } func (m *BuildStatic) XXX_Size() int { return xxx_messageInfo_BuildStatic.Size(m) } func (m *BuildStatic) XXX_DiscardUnknown() { xxx_messageInfo_BuildStatic.DiscardUnknown(m) } var xxx_messageInfo_BuildStatic proto.InternalMessageInfo func (m *BuildStatic) GetBuildTime() *types.Timestamp { if m != nil { return m.BuildTime } return nil } type BuildResponse struct { // imageID is the ID of built image ImageID string `protobuf:"bytes,1,opt,name=imageID,proto3" json:"imageID,omitempty"` // data pipes the output stream back to client Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,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_d71ef680555cb937, []int{4} } 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) GetImageID() string { if m != nil { return m.ImageID } return "" } func (m *BuildResponse) GetData() []byte { if m != nil { return m.Data } return nil } type StatusRequest struct { // buildID is an unique id for this building process, same with BuildRequest BuildID string `protobuf:"bytes,1,opt,name=buildID,proto3" json:"buildID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *StatusRequest) Reset() { *m = StatusRequest{} } func (m *StatusRequest) String() string { return proto.CompactTextString(m) } func (*StatusRequest) ProtoMessage() {} func (*StatusRequest) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{5} } func (m *StatusRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StatusRequest.Unmarshal(m, b) } func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StatusRequest.Marshal(b, m, deterministic) } func (m *StatusRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_StatusRequest.Merge(m, src) } func (m *StatusRequest) XXX_Size() int { return xxx_messageInfo_StatusRequest.Size(m) } func (m *StatusRequest) XXX_DiscardUnknown() { xxx_messageInfo_StatusRequest.DiscardUnknown(m) } var xxx_messageInfo_StatusRequest proto.InternalMessageInfo func (m *StatusRequest) GetBuildID() string { if m != nil { return m.BuildID } return "" } type StatusResponse struct { // content pipes the image building process log back to client Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *StatusResponse) Reset() { *m = StatusResponse{} } func (m *StatusResponse) String() string { return proto.CompactTextString(m) } func (*StatusResponse) ProtoMessage() {} func (*StatusResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{6} } func (m *StatusResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StatusResponse.Unmarshal(m, b) } func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StatusResponse.Marshal(b, m, deterministic) } func (m *StatusResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_StatusResponse.Merge(m, src) } func (m *StatusResponse) XXX_Size() int { return xxx_messageInfo_StatusResponse.Size(m) } func (m *StatusResponse) XXX_DiscardUnknown() { xxx_messageInfo_StatusResponse.DiscardUnknown(m) } var xxx_messageInfo_StatusResponse proto.InternalMessageInfo func (m *StatusResponse) GetContent() string { if m != nil { return m.Content } return "" } type ListRequest struct { // imageName lists specific images with imageName ImageName string `protobuf:"bytes,1,opt,name=imageName,proto3" json:"imageName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListRequest) Reset() { *m = ListRequest{} } func (m *ListRequest) String() string { return proto.CompactTextString(m) } func (*ListRequest) ProtoMessage() {} func (*ListRequest) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{7} } func (m *ListRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRequest.Unmarshal(m, b) } func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic) } func (m *ListRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ListRequest.Merge(m, src) } func (m *ListRequest) XXX_Size() int { return xxx_messageInfo_ListRequest.Size(m) } func (m *ListRequest) XXX_DiscardUnknown() { xxx_messageInfo_ListRequest.DiscardUnknown(m) } var xxx_messageInfo_ListRequest proto.InternalMessageInfo func (m *ListRequest) GetImageName() string { if m != nil { return m.ImageName } return "" } type ListResponse struct { // ImageInfo carries the basic info of an image Images []*ListResponse_ImageInfo `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListResponse) Reset() { *m = ListResponse{} } func (m *ListResponse) String() string { return proto.CompactTextString(m) } func (*ListResponse) ProtoMessage() {} func (*ListResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{8} } func (m *ListResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResponse.Unmarshal(m, b) } func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic) } func (m *ListResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ListResponse.Merge(m, src) } func (m *ListResponse) XXX_Size() int { return xxx_messageInfo_ListResponse.Size(m) } func (m *ListResponse) XXX_DiscardUnknown() { xxx_messageInfo_ListResponse.DiscardUnknown(m) } var xxx_messageInfo_ListResponse proto.InternalMessageInfo func (m *ListResponse) GetImages() []*ListResponse_ImageInfo { if m != nil { return m.Images } return nil } type ListResponse_ImageInfo struct { Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Created string `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"` Size_ string `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListResponse_ImageInfo) Reset() { *m = ListResponse_ImageInfo{} } func (m *ListResponse_ImageInfo) String() string { return proto.CompactTextString(m) } func (*ListResponse_ImageInfo) ProtoMessage() {} func (*ListResponse_ImageInfo) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{8, 0} } func (m *ListResponse_ImageInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResponse_ImageInfo.Unmarshal(m, b) } func (m *ListResponse_ImageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResponse_ImageInfo.Marshal(b, m, deterministic) } func (m *ListResponse_ImageInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_ListResponse_ImageInfo.Merge(m, src) } func (m *ListResponse_ImageInfo) XXX_Size() int { return xxx_messageInfo_ListResponse_ImageInfo.Size(m) } func (m *ListResponse_ImageInfo) XXX_DiscardUnknown() { xxx_messageInfo_ListResponse_ImageInfo.DiscardUnknown(m) } var xxx_messageInfo_ListResponse_ImageInfo proto.InternalMessageInfo func (m *ListResponse_ImageInfo) GetRepository() string { if m != nil { return m.Repository } return "" } func (m *ListResponse_ImageInfo) GetTag() string { if m != nil { return m.Tag } return "" } func (m *ListResponse_ImageInfo) GetId() string { if m != nil { return m.Id } return "" } func (m *ListResponse_ImageInfo) GetCreated() string { if m != nil { return m.Created } return "" } func (m *ListResponse_ImageInfo) GetSize_() string { if m != nil { return m.Size_ } return "" } type VersionResponse struct { // version is isula-builder version Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // goVersion is the golang version userd for compiling isula-builder GoVersion string `protobuf:"bytes,2,opt,name=goVersion,proto3" json:"goVersion,omitempty"` // gitCommit is the git commit ID for the compiled isula-builder GitCommit string `protobuf:"bytes,3,opt,name=gitCommit,proto3" json:"gitCommit,omitempty"` // buildTime is the time when compiling isula-builder BuildTime string `protobuf:"bytes,4,opt,name=buildTime,proto3" json:"buildTime,omitempty"` // osArch is the arch the isula-builder built on OsArch string `protobuf:"bytes,5,opt,name=osArch,proto3" json:"osArch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *VersionResponse) Reset() { *m = VersionResponse{} } func (m *VersionResponse) String() string { return proto.CompactTextString(m) } func (*VersionResponse) ProtoMessage() {} func (*VersionResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{9} } func (m *VersionResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VersionResponse.Unmarshal(m, b) } func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_VersionResponse.Marshal(b, m, deterministic) } func (m *VersionResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_VersionResponse.Merge(m, src) } func (m *VersionResponse) XXX_Size() int { return xxx_messageInfo_VersionResponse.Size(m) } func (m *VersionResponse) XXX_DiscardUnknown() { xxx_messageInfo_VersionResponse.DiscardUnknown(m) } var xxx_messageInfo_VersionResponse proto.InternalMessageInfo func (m *VersionResponse) GetVersion() string { if m != nil { return m.Version } return "" } func (m *VersionResponse) GetGoVersion() string { if m != nil { return m.GoVersion } return "" } func (m *VersionResponse) GetGitCommit() string { if m != nil { return m.GitCommit } return "" } func (m *VersionResponse) GetBuildTime() string { if m != nil { return m.BuildTime } return "" } func (m *VersionResponse) GetOsArch() string { if m != nil { return m.OsArch } return "" } type RemoveRequest struct { // imageID is the images to be deleted ImageID []string `protobuf:"bytes,1,rep,name=imageID,proto3" json:"imageID,omitempty"` // all tells isula-builder to delete all images All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` // prune tells isula-builder to delete all untagge images Prune bool `protobuf:"varint,3,opt,name=prune,proto3" json:"prune,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *RemoveRequest) Reset() { *m = RemoveRequest{} } func (m *RemoveRequest) String() string { return proto.CompactTextString(m) } func (*RemoveRequest) ProtoMessage() {} func (*RemoveRequest) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{10} } func (m *RemoveRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveRequest.Unmarshal(m, b) } func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RemoveRequest.Marshal(b, m, deterministic) } func (m *RemoveRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_RemoveRequest.Merge(m, src) } func (m *RemoveRequest) XXX_Size() int { return xxx_messageInfo_RemoveRequest.Size(m) } func (m *RemoveRequest) XXX_DiscardUnknown() { xxx_messageInfo_RemoveRequest.DiscardUnknown(m) } var xxx_messageInfo_RemoveRequest proto.InternalMessageInfo func (m *RemoveRequest) GetImageID() []string { if m != nil { return m.ImageID } return nil } func (m *RemoveRequest) GetAll() bool { if m != nil { return m.All } return false } func (m *RemoveRequest) GetPrune() bool { if m != nil { return m.Prune } return false } type RemoveResponse struct { // layerMessage is response message indicate the images deleted successfully or error occured LayerMessage string `protobuf:"bytes,1,opt,name=layerMessage,proto3" json:"layerMessage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *RemoveResponse) Reset() { *m = RemoveResponse{} } func (m *RemoveResponse) String() string { return proto.CompactTextString(m) } func (*RemoveResponse) ProtoMessage() {} func (*RemoveResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{11} } func (m *RemoveResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveResponse.Unmarshal(m, b) } func (m *RemoveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RemoveResponse.Marshal(b, m, deterministic) } func (m *RemoveResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_RemoveResponse.Merge(m, src) } func (m *RemoveResponse) XXX_Size() int { return xxx_messageInfo_RemoveResponse.Size(m) } func (m *RemoveResponse) XXX_DiscardUnknown() { xxx_messageInfo_RemoveResponse.DiscardUnknown(m) } var xxx_messageInfo_RemoveResponse proto.InternalMessageInfo func (m *RemoveResponse) GetLayerMessage() string { if m != nil { return m.LayerMessage } return "" } type HealthCheckResponse struct { // status is the health status of isula-builder Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=isula.build.v1.HealthCheckResponse_ServingStatus" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *HealthCheckResponse) Reset() { *m = HealthCheckResponse{} } func (m *HealthCheckResponse) String() string { return proto.CompactTextString(m) } func (*HealthCheckResponse) ProtoMessage() {} func (*HealthCheckResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{12} } func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HealthCheckResponse.Unmarshal(m, b) } func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HealthCheckResponse.Marshal(b, m, deterministic) } func (m *HealthCheckResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_HealthCheckResponse.Merge(m, src) } func (m *HealthCheckResponse) XXX_Size() int { return xxx_messageInfo_HealthCheckResponse.Size(m) } func (m *HealthCheckResponse) XXX_DiscardUnknown() { xxx_messageInfo_HealthCheckResponse.DiscardUnknown(m) } var xxx_messageInfo_HealthCheckResponse proto.InternalMessageInfo func (m *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus { if m != nil { return m.Status } return HealthCheckResponse_UNKNOWN } type LoginRequest struct { // server is registry address will login Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // username is username to login Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // password is password to login Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // key is aes key used for encrypt and decrypt password Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LoginRequest) Reset() { *m = LoginRequest{} } func (m *LoginRequest) String() string { return proto.CompactTextString(m) } func (*LoginRequest) ProtoMessage() {} func (*LoginRequest) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{13} } func (m *LoginRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoginRequest.Unmarshal(m, b) } func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoginRequest.Marshal(b, m, deterministic) } func (m *LoginRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_LoginRequest.Merge(m, src) } func (m *LoginRequest) XXX_Size() int { return xxx_messageInfo_LoginRequest.Size(m) } func (m *LoginRequest) XXX_DiscardUnknown() { xxx_messageInfo_LoginRequest.DiscardUnknown(m) } var xxx_messageInfo_LoginRequest proto.InternalMessageInfo func (m *LoginRequest) GetServer() string { if m != nil { return m.Server } return "" } func (m *LoginRequest) GetUsername() string { if m != nil { return m.Username } return "" } func (m *LoginRequest) GetPassword() string { if m != nil { return m.Password } return "" } func (m *LoginRequest) GetKey() string { if m != nil { return m.Key } return "" } type LoginResponse struct { // login response sent to front-end Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LoginResponse) Reset() { *m = LoginResponse{} } func (m *LoginResponse) String() string { return proto.CompactTextString(m) } func (*LoginResponse) ProtoMessage() {} func (*LoginResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{14} } func (m *LoginResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoginResponse.Unmarshal(m, b) } func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoginResponse.Marshal(b, m, deterministic) } func (m *LoginResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_LoginResponse.Merge(m, src) } func (m *LoginResponse) XXX_Size() int { return xxx_messageInfo_LoginResponse.Size(m) } func (m *LoginResponse) XXX_DiscardUnknown() { xxx_messageInfo_LoginResponse.DiscardUnknown(m) } var xxx_messageInfo_LoginResponse proto.InternalMessageInfo func (m *LoginResponse) GetContent() string { if m != nil { return m.Content } return "" } type LogoutRequest struct { // server to logout Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // logout from all registries All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LogoutRequest) Reset() { *m = LogoutRequest{} } func (m *LogoutRequest) String() string { return proto.CompactTextString(m) } func (*LogoutRequest) ProtoMessage() {} func (*LogoutRequest) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{15} } func (m *LogoutRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogoutRequest.Unmarshal(m, b) } func (m *LogoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogoutRequest.Marshal(b, m, deterministic) } func (m *LogoutRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_LogoutRequest.Merge(m, src) } func (m *LogoutRequest) XXX_Size() int { return xxx_messageInfo_LogoutRequest.Size(m) } func (m *LogoutRequest) XXX_DiscardUnknown() { xxx_messageInfo_LogoutRequest.DiscardUnknown(m) } var xxx_messageInfo_LogoutRequest proto.InternalMessageInfo func (m *LogoutRequest) GetServer() string { if m != nil { return m.Server } return "" } func (m *LogoutRequest) GetAll() bool { if m != nil { return m.All } return false } type LogoutResponse struct { // logout response sent to front-end Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LogoutResponse) Reset() { *m = LogoutResponse{} } func (m *LogoutResponse) String() string { return proto.CompactTextString(m) } func (*LogoutResponse) ProtoMessage() {} func (*LogoutResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{16} } func (m *LogoutResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogoutResponse.Unmarshal(m, b) } func (m *LogoutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogoutResponse.Marshal(b, m, deterministic) } func (m *LogoutResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_LogoutResponse.Merge(m, src) } func (m *LogoutResponse) XXX_Size() int { return xxx_messageInfo_LogoutResponse.Size(m) } func (m *LogoutResponse) XXX_DiscardUnknown() { xxx_messageInfo_LogoutResponse.DiscardUnknown(m) } var xxx_messageInfo_LogoutResponse proto.InternalMessageInfo func (m *LogoutResponse) GetResult() string { if m != nil { return m.Result } return "" } type LoadRequest struct { // path is the path of loading file Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LoadRequest) Reset() { *m = LoadRequest{} } func (m *LoadRequest) String() string { return proto.CompactTextString(m) } func (*LoadRequest) ProtoMessage() {} func (*LoadRequest) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{17} } func (m *LoadRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoadRequest.Unmarshal(m, b) } func (m *LoadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoadRequest.Marshal(b, m, deterministic) } func (m *LoadRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_LoadRequest.Merge(m, src) } func (m *LoadRequest) XXX_Size() int { return xxx_messageInfo_LoadRequest.Size(m) } func (m *LoadRequest) XXX_DiscardUnknown() { xxx_messageInfo_LoadRequest.DiscardUnknown(m) } var xxx_messageInfo_LoadRequest proto.InternalMessageInfo func (m *LoadRequest) GetPath() string { if m != nil { return m.Path } return "" } type LoadResponse struct { // imageID is the ID of loaded image ImageID string `protobuf:"bytes,1,opt,name=imageID,proto3" json:"imageID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LoadResponse) Reset() { *m = LoadResponse{} } func (m *LoadResponse) String() string { return proto.CompactTextString(m) } func (*LoadResponse) ProtoMessage() {} func (*LoadResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d71ef680555cb937, []int{18} } func (m *LoadResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LoadResponse.Unmarshal(m, b) } func (m *LoadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LoadResponse.Marshal(b, m, deterministic) } func (m *LoadResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_LoadResponse.Merge(m, src) } func (m *LoadResponse) XXX_Size() int { return xxx_messageInfo_LoadResponse.Size(m) } func (m *LoadResponse) XXX_DiscardUnknown() { xxx_messageInfo_LoadResponse.DiscardUnknown(m) } var xxx_messageInfo_LoadResponse proto.InternalMessageInfo func (m *LoadResponse) GetImageID() string { if m != nil { return m.ImageID } return "" } func init() { proto.RegisterEnum("isula.build.v1.HealthCheckResponse_ServingStatus", HealthCheckResponse_ServingStatus_name, HealthCheckResponse_ServingStatus_value) proto.RegisterType((*BuildRequest)(nil), "isula.build.v1.BuildRequest") proto.RegisterType((*ImportRequest)(nil), "isula.build.v1.ImportRequest") proto.RegisterType((*ImportResponse)(nil), "isula.build.v1.ImportResponse") proto.RegisterType((*BuildStatic)(nil), "isula.build.v1.BuildStatic") proto.RegisterType((*BuildResponse)(nil), "isula.build.v1.BuildResponse") proto.RegisterType((*StatusRequest)(nil), "isula.build.v1.StatusRequest") proto.RegisterType((*StatusResponse)(nil), "isula.build.v1.StatusResponse") proto.RegisterType((*ListRequest)(nil), "isula.build.v1.ListRequest") proto.RegisterType((*ListResponse)(nil), "isula.build.v1.ListResponse") proto.RegisterType((*ListResponse_ImageInfo)(nil), "isula.build.v1.ListResponse.ImageInfo") proto.RegisterType((*VersionResponse)(nil), "isula.build.v1.VersionResponse") proto.RegisterType((*RemoveRequest)(nil), "isula.build.v1.RemoveRequest") proto.RegisterType((*RemoveResponse)(nil), "isula.build.v1.RemoveResponse") proto.RegisterType((*HealthCheckResponse)(nil), "isula.build.v1.HealthCheckResponse") proto.RegisterType((*LoginRequest)(nil), "isula.build.v1.LoginRequest") proto.RegisterType((*LoginResponse)(nil), "isula.build.v1.LoginResponse") proto.RegisterType((*LogoutRequest)(nil), "isula.build.v1.LogoutRequest") proto.RegisterType((*LogoutResponse)(nil), "isula.build.v1.LogoutResponse") proto.RegisterType((*LoadRequest)(nil), "isula.build.v1.LoadRequest") proto.RegisterType((*LoadResponse)(nil), "isula.build.v1.LoadResponse") } func init() { proto.RegisterFile("api/services/control.proto", fileDescriptor_d71ef680555cb937) } var fileDescriptor_d71ef680555cb937 = []byte{ // 986 bytes of a gzipped FileDescriptorProto 0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, 0xc3, 0xf9, 0x1c, 0xec, 0x0c, 0x79, 0x68, 0x9b, 0x63, 0x09, 0xe6, 0x66, 0x71, 0x1b, 0x80, 0x55, 0xc3, 0x62, 0x78, 0xb9, 0x65, 0x58, 0x25, 0x5c, 0xb7, 0x0c, 0xab, 0x0a, 0xd4, 0x19, 0xd8, 0xd9, 0xb7, 0xba, 0x99, 0x4b, 0xed, 0x37, 0xa0, 0x99, 0x4b, 0xfd, 0x13, 0x3f, 0xb1, 0xae, 0x6d, 0xdd, 0xd1, 0xcf, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x46, 0x9c, 0xd1, 0xfc, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn // 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.SupportPackageIsVersion4 // 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. type ControlClient interface { // Build requests a new image building Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (Control_BuildClient, error) // Status pipes the image building process log back to client Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (Control_StatusClient, error) // List lists all images in isula-builder List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) // Version requests the version information of isula-builder Version(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*VersionResponse, error) // Remove sends an image remove request to isula-builder Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (Control_RemoveClient, error) // HealthCheck requests a health checking in isula-builder HealthCheck(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*HealthCheckResponse, error) // Login requests to access image registry with username and password Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) // Logout requests to logout registry and delete any credentials Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) // Load requests an image tar load Load(ctx context.Context, in *LoadRequest, opts ...grpc.CallOption) (*LoadResponse, error) // Import requests import a new image Import(ctx context.Context, opts ...grpc.CallOption) (Control_ImportClient, error) } type controlClient struct { cc *grpc.ClientConn } func NewControlClient(cc *grpc.ClientConn) ControlClient { return &controlClient{cc} } func (c *controlClient) Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (Control_BuildClient, error) { stream, err := c.cc.NewStream(ctx, &_Control_serviceDesc.Streams[0], "/isula.build.v1.Control/Build", opts...) if err != nil { return nil, err } x := &controlBuildClient{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 Control_BuildClient interface { Recv() (*BuildResponse, error) grpc.ClientStream } type controlBuildClient struct { grpc.ClientStream } func (x *controlBuildClient) Recv() (*BuildResponse, error) { m := new(BuildResponse) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *controlClient) Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (Control_StatusClient, error) { stream, err := c.cc.NewStream(ctx, &_Control_serviceDesc.Streams[1], "/isula.build.v1.Control/Status", opts...) if err != nil { return nil, err } x := &controlStatusClient{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 Control_StatusClient interface { Recv() (*StatusResponse, error) grpc.ClientStream } type controlStatusClient struct { grpc.ClientStream } func (x *controlStatusClient) Recv() (*StatusResponse, error) { m := new(StatusResponse) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *controlClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) { out := new(ListResponse) err := c.cc.Invoke(ctx, "/isula.build.v1.Control/List", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *controlClient) Version(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*VersionResponse, error) { out := new(VersionResponse) err := c.cc.Invoke(ctx, "/isula.build.v1.Control/Version", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *controlClient) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (Control_RemoveClient, error) { stream, err := c.cc.NewStream(ctx, &_Control_serviceDesc.Streams[2], "/isula.build.v1.Control/Remove", opts...) if err != nil { return nil, err } x := &controlRemoveClient{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 Control_RemoveClient interface { Recv() (*RemoveResponse, error) grpc.ClientStream } type controlRemoveClient struct { grpc.ClientStream } func (x *controlRemoveClient) Recv() (*RemoveResponse, error) { m := new(RemoveResponse) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *controlClient) HealthCheck(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*HealthCheckResponse, error) { out := new(HealthCheckResponse) err := c.cc.Invoke(ctx, "/isula.build.v1.Control/HealthCheck", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *controlClient) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) { out := new(LoginResponse) err := c.cc.Invoke(ctx, "/isula.build.v1.Control/Login", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *controlClient) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) { out := new(LogoutResponse) err := c.cc.Invoke(ctx, "/isula.build.v1.Control/Logout", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *controlClient) Load(ctx context.Context, in *LoadRequest, opts ...grpc.CallOption) (*LoadResponse, error) { out := new(LoadResponse) err := c.cc.Invoke(ctx, "/isula.build.v1.Control/Load", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *controlClient) Import(ctx context.Context, opts ...grpc.CallOption) (Control_ImportClient, error) { stream, err := c.cc.NewStream(ctx, &_Control_serviceDesc.Streams[3], "/isula.build.v1.Control/Import", opts...) if err != nil { return nil, err } x := &controlImportClient{stream} return x, nil } type Control_ImportClient interface { Send(*ImportRequest) error CloseAndRecv() (*ImportResponse, error) grpc.ClientStream } type controlImportClient struct { grpc.ClientStream } func (x *controlImportClient) Send(m *ImportRequest) error { return x.ClientStream.SendMsg(m) } func (x *controlImportClient) CloseAndRecv() (*ImportResponse, error) { if err := x.ClientStream.CloseSend(); err != nil { return nil, err } m := new(ImportResponse) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } // ControlServer is the server API for Control service. type ControlServer interface { // Build requests a new image building Build(*BuildRequest, Control_BuildServer) error // Status pipes the image building process log back to client Status(*StatusRequest, Control_StatusServer) error // List lists all images in isula-builder List(context.Context, *ListRequest) (*ListResponse, error) // Version requests the version information of isula-builder Version(context.Context, *types.Empty) (*VersionResponse, error) // Remove sends an image remove request to isula-builder Remove(*RemoveRequest, Control_RemoveServer) error // HealthCheck requests a health checking in isula-builder HealthCheck(context.Context, *types.Empty) (*HealthCheckResponse, error) // Login requests to access image registry with username and password Login(context.Context, *LoginRequest) (*LoginResponse, error) // Logout requests to logout registry and delete any credentials Logout(context.Context, *LogoutRequest) (*LogoutResponse, error) // Load requests an image tar load Load(context.Context, *LoadRequest) (*LoadResponse, error) // Import requests import a new image Import(Control_ImportServer) error } // UnimplementedControlServer can be embedded to have forward compatible implementations. type UnimplementedControlServer struct { } func (*UnimplementedControlServer) Build(req *BuildRequest, srv Control_BuildServer) error { return status.Errorf(codes.Unimplemented, "method Build not implemented") } func (*UnimplementedControlServer) Status(req *StatusRequest, srv Control_StatusServer) error { return status.Errorf(codes.Unimplemented, "method Status not implemented") } func (*UnimplementedControlServer) List(ctx context.Context, req *ListRequest) (*ListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method List not implemented") } func (*UnimplementedControlServer) Version(ctx context.Context, req *types.Empty) (*VersionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Version not implemented") } func (*UnimplementedControlServer) Remove(req *RemoveRequest, srv Control_RemoveServer) error { return status.Errorf(codes.Unimplemented, "method Remove not implemented") } func (*UnimplementedControlServer) HealthCheck(ctx context.Context, req *types.Empty) (*HealthCheckResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method HealthCheck not implemented") } func (*UnimplementedControlServer) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Login not implemented") } func (*UnimplementedControlServer) Logout(ctx context.Context, req *LogoutRequest) (*LogoutResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Logout not implemented") } func (*UnimplementedControlServer) Load(ctx context.Context, req *LoadRequest) (*LoadResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Load not implemented") } func (*UnimplementedControlServer) Import(srv Control_ImportServer) error { return status.Errorf(codes.Unimplemented, "method Import not implemented") } func RegisterControlServer(s *grpc.Server, srv ControlServer) { s.RegisterService(&_Control_serviceDesc, srv) } func _Control_Build_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(BuildRequest) if err := stream.RecvMsg(m); err != nil { return err } return srv.(ControlServer).Build(m, &controlBuildServer{stream}) } type Control_BuildServer interface { Send(*BuildResponse) error grpc.ServerStream } type controlBuildServer struct { grpc.ServerStream } func (x *controlBuildServer) Send(m *BuildResponse) error { return x.ServerStream.SendMsg(m) } func _Control_Status_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(StatusRequest) if err := stream.RecvMsg(m); err != nil { return err } return srv.(ControlServer).Status(m, &controlStatusServer{stream}) } type Control_StatusServer interface { Send(*StatusResponse) error grpc.ServerStream } type controlStatusServer struct { grpc.ServerStream } func (x *controlStatusServer) Send(m *StatusResponse) error { return x.ServerStream.SendMsg(m) } func _Control_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ControlServer).List(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/isula.build.v1.Control/List", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ControlServer).List(ctx, req.(*ListRequest)) } return interceptor(ctx, in, info, handler) } func _Control_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(types.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ControlServer).Version(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/isula.build.v1.Control/Version", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ControlServer).Version(ctx, req.(*types.Empty)) } return interceptor(ctx, in, info, handler) } func _Control_Remove_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(RemoveRequest) if err := stream.RecvMsg(m); err != nil { return err } return srv.(ControlServer).Remove(m, &controlRemoveServer{stream}) } type Control_RemoveServer interface { Send(*RemoveResponse) error grpc.ServerStream } type controlRemoveServer struct { grpc.ServerStream } func (x *controlRemoveServer) Send(m *RemoveResponse) error { return x.ServerStream.SendMsg(m) } func _Control_HealthCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(types.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ControlServer).HealthCheck(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/isula.build.v1.Control/HealthCheck", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ControlServer).HealthCheck(ctx, req.(*types.Empty)) } return interceptor(ctx, in, info, handler) } func _Control_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LoginRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ControlServer).Login(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/isula.build.v1.Control/Login", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ControlServer).Login(ctx, req.(*LoginRequest)) } return interceptor(ctx, in, info, handler) } func _Control_Logout_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LogoutRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ControlServer).Logout(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/isula.build.v1.Control/Logout", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ControlServer).Logout(ctx, req.(*LogoutRequest)) } return interceptor(ctx, in, info, handler) } func _Control_Load_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LoadRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ControlServer).Load(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/isula.build.v1.Control/Load", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ControlServer).Load(ctx, req.(*LoadRequest)) } return interceptor(ctx, in, info, handler) } func _Control_Import_Handler(srv interface{}, stream grpc.ServerStream) error { return srv.(ControlServer).Import(&controlImportServer{stream}) } type Control_ImportServer interface { SendAndClose(*ImportResponse) error Recv() (*ImportRequest, error) grpc.ServerStream } type controlImportServer struct { grpc.ServerStream } func (x *controlImportServer) SendAndClose(m *ImportResponse) error { return x.ServerStream.SendMsg(m) } func (x *controlImportServer) Recv() (*ImportRequest, error) { m := new(ImportRequest) if err := x.ServerStream.RecvMsg(m); err != nil { return nil, err } return m, nil } var _Control_serviceDesc = grpc.ServiceDesc{ ServiceName: "isula.build.v1.Control", HandlerType: (*ControlServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Control_List_Handler, }, { MethodName: "Version", Handler: _Control_Version_Handler, }, { MethodName: "HealthCheck", Handler: _Control_HealthCheck_Handler, }, { MethodName: "Login", Handler: _Control_Login_Handler, }, { MethodName: "Logout", Handler: _Control_Logout_Handler, }, { MethodName: "Load", Handler: _Control_Load_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Build", Handler: _Control_Build_Handler, ServerStreams: true, }, { StreamName: "Status", Handler: _Control_Status_Handler, ServerStreams: true, }, { StreamName: "Remove", Handler: _Control_Remove_Handler, ServerStreams: true, }, { StreamName: "Import", Handler: _Control_Import_Handler, ClientStreams: true, }, }, Metadata: "api/services/control.proto", }