Documentation ¶
Index ¶
- Variables
- func RegisterDockerServiceServer(s grpc.ServiceRegistrar, srv DockerServiceServer)
- type DockerBuildRequest
- func (*DockerBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DockerBuildRequest) GetArch() string
- func (x *DockerBuildRequest) GetContent() string
- func (x *DockerBuildRequest) GetId() string
- func (x *DockerBuildRequest) GetImageName() string
- func (x *DockerBuildRequest) GetPushOptions() *PushOptions
- func (*DockerBuildRequest) ProtoMessage()
- func (x *DockerBuildRequest) ProtoReflect() protoreflect.Message
- func (x *DockerBuildRequest) Reset()
- func (x *DockerBuildRequest) String() string
- type DockerBuildResponse
- func (*DockerBuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DockerBuildResponse) GetContent() string
- func (x *DockerBuildResponse) GetError() *ErrorStatus
- func (x *DockerBuildResponse) GetId() string
- func (*DockerBuildResponse) ProtoMessage()
- func (x *DockerBuildResponse) ProtoReflect() protoreflect.Message
- func (x *DockerBuildResponse) Reset()
- func (x *DockerBuildResponse) String() string
- type DockerServiceClient
- type DockerServiceServer
- type DockerService_BuildClient
- type DockerService_BuildServer
- type ErrorStatus
- func (*ErrorStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorStatus) GetDetails() []*anypb.Any
- func (x *ErrorStatus) GetMessage() string
- func (*ErrorStatus) ProtoMessage()
- func (x *ErrorStatus) ProtoReflect() protoreflect.Message
- func (x *ErrorStatus) Reset()
- func (x *ErrorStatus) String() string
- type PushOptions
- func (*PushOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PushOptions) GetImageName() string
- func (x *PushOptions) GetPassword() string
- func (x *PushOptions) GetUsername() string
- func (*PushOptions) ProtoMessage()
- func (x *PushOptions) ProtoReflect() protoreflect.Message
- func (x *PushOptions) Reset()
- func (x *PushOptions) String() string
- type UnimplementedDockerServiceServer
- type UnsafeDockerServiceServer
Constants ¶
This section is empty.
Variables ¶
var DockerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "raiprojectcom.docker.DockerService", HandlerType: (*DockerServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Build", Handler: _DockerService_Build_Handler, ServerStreams: true, }, }, Metadata: "build_service.proto", }
DockerService_ServiceDesc is the grpc.ServiceDesc for DockerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_build_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDockerServiceServer ¶
func RegisterDockerServiceServer(s grpc.ServiceRegistrar, srv DockerServiceServer)
Types ¶
type DockerBuildRequest ¶
type DockerBuildRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ImageName string `protobuf:"bytes,2,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` PushOptions *PushOptions `protobuf:"bytes,4,opt,name=push_options,json=pushOptions,proto3" json:"push_options,omitempty"` Arch string `protobuf:"bytes,5,opt,name=arch,proto3" json:"arch,omitempty"` // contains filtered or unexported fields }
func (*DockerBuildRequest) Descriptor
deprecated
func (*DockerBuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use DockerBuildRequest.ProtoReflect.Descriptor instead.
func (*DockerBuildRequest) GetArch ¶
func (x *DockerBuildRequest) GetArch() string
func (*DockerBuildRequest) GetContent ¶
func (x *DockerBuildRequest) GetContent() string
func (*DockerBuildRequest) GetId ¶
func (x *DockerBuildRequest) GetId() string
func (*DockerBuildRequest) GetImageName ¶
func (x *DockerBuildRequest) GetImageName() string
func (*DockerBuildRequest) GetPushOptions ¶
func (x *DockerBuildRequest) GetPushOptions() *PushOptions
func (*DockerBuildRequest) ProtoMessage ¶
func (*DockerBuildRequest) ProtoMessage()
func (*DockerBuildRequest) ProtoReflect ¶
func (x *DockerBuildRequest) ProtoReflect() protoreflect.Message
func (*DockerBuildRequest) Reset ¶
func (x *DockerBuildRequest) Reset()
func (*DockerBuildRequest) String ¶
func (x *DockerBuildRequest) String() string
type DockerBuildResponse ¶
type DockerBuildResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Error *ErrorStatus `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*DockerBuildResponse) Descriptor
deprecated
func (*DockerBuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use DockerBuildResponse.ProtoReflect.Descriptor instead.
func (*DockerBuildResponse) GetContent ¶
func (x *DockerBuildResponse) GetContent() string
func (*DockerBuildResponse) GetError ¶
func (x *DockerBuildResponse) GetError() *ErrorStatus
func (*DockerBuildResponse) GetId ¶
func (x *DockerBuildResponse) GetId() string
func (*DockerBuildResponse) ProtoMessage ¶
func (*DockerBuildResponse) ProtoMessage()
func (*DockerBuildResponse) ProtoReflect ¶
func (x *DockerBuildResponse) ProtoReflect() protoreflect.Message
func (*DockerBuildResponse) Reset ¶
func (x *DockerBuildResponse) Reset()
func (*DockerBuildResponse) String ¶
func (x *DockerBuildResponse) String() string
type DockerServiceClient ¶
type DockerServiceClient interface {
Build(ctx context.Context, in *DockerBuildRequest, opts ...grpc.CallOption) (DockerService_BuildClient, error)
}
DockerServiceClient is the client API for DockerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDockerServiceClient ¶
func NewDockerServiceClient(cc grpc.ClientConnInterface) DockerServiceClient
type DockerServiceServer ¶
type DockerServiceServer interface { Build(*DockerBuildRequest, DockerService_BuildServer) error // contains filtered or unexported methods }
DockerServiceServer is the server API for DockerService service. All implementations must embed UnimplementedDockerServiceServer for forward compatibility
type DockerService_BuildClient ¶
type DockerService_BuildClient interface { Recv() (*DockerBuildResponse, error) grpc.ClientStream }
type DockerService_BuildServer ¶
type DockerService_BuildServer interface { Send(*DockerBuildResponse) error grpc.ServerStream }
type ErrorStatus ¶
type ErrorStatus struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Details []*anypb.Any `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*ErrorStatus) Descriptor
deprecated
func (*ErrorStatus) Descriptor() ([]byte, []int)
Deprecated: Use ErrorStatus.ProtoReflect.Descriptor instead.
func (*ErrorStatus) GetDetails ¶
func (x *ErrorStatus) GetDetails() []*anypb.Any
func (*ErrorStatus) GetMessage ¶
func (x *ErrorStatus) GetMessage() string
func (*ErrorStatus) ProtoMessage ¶
func (*ErrorStatus) ProtoMessage()
func (*ErrorStatus) ProtoReflect ¶
func (x *ErrorStatus) ProtoReflect() protoreflect.Message
func (*ErrorStatus) Reset ¶
func (x *ErrorStatus) Reset()
func (*ErrorStatus) String ¶
func (x *ErrorStatus) String() string
type PushOptions ¶
type PushOptions struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` ImageName string `protobuf:"bytes,3,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` // contains filtered or unexported fields }
func (*PushOptions) Descriptor
deprecated
func (*PushOptions) Descriptor() ([]byte, []int)
Deprecated: Use PushOptions.ProtoReflect.Descriptor instead.
func (*PushOptions) GetImageName ¶
func (x *PushOptions) GetImageName() string
func (*PushOptions) GetPassword ¶
func (x *PushOptions) GetPassword() string
func (*PushOptions) GetUsername ¶
func (x *PushOptions) GetUsername() string
func (*PushOptions) ProtoMessage ¶
func (*PushOptions) ProtoMessage()
func (*PushOptions) ProtoReflect ¶
func (x *PushOptions) ProtoReflect() protoreflect.Message
func (*PushOptions) Reset ¶
func (x *PushOptions) Reset()
func (*PushOptions) String ¶
func (x *PushOptions) String() string
type UnimplementedDockerServiceServer ¶
type UnimplementedDockerServiceServer struct { }
UnimplementedDockerServiceServer must be embedded to have forward compatible implementations.
type UnsafeDockerServiceServer ¶
type UnsafeDockerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDockerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DockerServiceServer will result in compilation errors.