Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTemporaryDirectoryInstallerServer(s grpc.ServiceRegistrar, srv TemporaryDirectoryInstallerServer)
- type InstallTemporaryDirectoryRequest
- func (*InstallTemporaryDirectoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallTemporaryDirectoryRequest) GetTemporaryDirectory() string
- func (*InstallTemporaryDirectoryRequest) ProtoMessage()
- func (x *InstallTemporaryDirectoryRequest) ProtoReflect() protoreflect.Message
- func (x *InstallTemporaryDirectoryRequest) Reset()
- func (x *InstallTemporaryDirectoryRequest) String() string
- type TemporaryDirectoryInstallerClient
- type TemporaryDirectoryInstallerServer
- type UnimplementedTemporaryDirectoryInstallerServer
- type UnsafeTemporaryDirectoryInstallerServer
Constants ¶
const ( TemporaryDirectoryInstaller_CheckReadiness_FullMethodName = "/buildbarn.tmp_installer.TemporaryDirectoryInstaller/CheckReadiness" TemporaryDirectoryInstaller_InstallTemporaryDirectory_FullMethodName = "/buildbarn.tmp_installer.TemporaryDirectoryInstaller/InstallTemporaryDirectory" )
Variables ¶
var File_pkg_proto_tmp_installer_tmp_installer_proto protoreflect.FileDescriptor
var TemporaryDirectoryInstaller_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buildbarn.tmp_installer.TemporaryDirectoryInstaller", HandlerType: (*TemporaryDirectoryInstallerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CheckReadiness", Handler: _TemporaryDirectoryInstaller_CheckReadiness_Handler, }, { MethodName: "InstallTemporaryDirectory", Handler: _TemporaryDirectoryInstaller_InstallTemporaryDirectory_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/proto/tmp_installer/tmp_installer.proto", }
TemporaryDirectoryInstaller_ServiceDesc is the grpc.ServiceDesc for TemporaryDirectoryInstaller service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTemporaryDirectoryInstallerServer ¶
func RegisterTemporaryDirectoryInstallerServer(s grpc.ServiceRegistrar, srv TemporaryDirectoryInstallerServer)
Types ¶
type InstallTemporaryDirectoryRequest ¶
type InstallTemporaryDirectoryRequest struct { TemporaryDirectory string `protobuf:"bytes,1,opt,name=temporary_directory,json=temporaryDirectory,proto3" json:"temporary_directory,omitempty"` // contains filtered or unexported fields }
func (*InstallTemporaryDirectoryRequest) Descriptor
deprecated
func (*InstallTemporaryDirectoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstallTemporaryDirectoryRequest.ProtoReflect.Descriptor instead.
func (*InstallTemporaryDirectoryRequest) GetTemporaryDirectory ¶
func (x *InstallTemporaryDirectoryRequest) GetTemporaryDirectory() string
func (*InstallTemporaryDirectoryRequest) ProtoMessage ¶
func (*InstallTemporaryDirectoryRequest) ProtoMessage()
func (*InstallTemporaryDirectoryRequest) ProtoReflect ¶
func (x *InstallTemporaryDirectoryRequest) ProtoReflect() protoreflect.Message
func (*InstallTemporaryDirectoryRequest) Reset ¶
func (x *InstallTemporaryDirectoryRequest) Reset()
func (*InstallTemporaryDirectoryRequest) String ¶
func (x *InstallTemporaryDirectoryRequest) String() string
type TemporaryDirectoryInstallerClient ¶
type TemporaryDirectoryInstallerClient interface { CheckReadiness(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) InstallTemporaryDirectory(ctx context.Context, in *InstallTemporaryDirectoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
TemporaryDirectoryInstallerClient is the client API for TemporaryDirectoryInstaller 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 NewTemporaryDirectoryInstallerClient ¶
func NewTemporaryDirectoryInstallerClient(cc grpc.ClientConnInterface) TemporaryDirectoryInstallerClient
type TemporaryDirectoryInstallerServer ¶
type TemporaryDirectoryInstallerServer interface { CheckReadiness(context.Context, *emptypb.Empty) (*emptypb.Empty, error) InstallTemporaryDirectory(context.Context, *InstallTemporaryDirectoryRequest) (*emptypb.Empty, error) }
TemporaryDirectoryInstallerServer is the server API for TemporaryDirectoryInstaller service. All implementations should embed UnimplementedTemporaryDirectoryInstallerServer for forward compatibility
type UnimplementedTemporaryDirectoryInstallerServer ¶
type UnimplementedTemporaryDirectoryInstallerServer struct { }
UnimplementedTemporaryDirectoryInstallerServer should be embedded to have forward compatible implementations.
func (UnimplementedTemporaryDirectoryInstallerServer) CheckReadiness ¶
func (UnimplementedTemporaryDirectoryInstallerServer) InstallTemporaryDirectory ¶
func (UnimplementedTemporaryDirectoryInstallerServer) InstallTemporaryDirectory(context.Context, *InstallTemporaryDirectoryRequest) (*emptypb.Empty, error)
type UnsafeTemporaryDirectoryInstallerServer ¶
type UnsafeTemporaryDirectoryInstallerServer interface {
// contains filtered or unexported methods
}
UnsafeTemporaryDirectoryInstallerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TemporaryDirectoryInstallerServer will result in compilation errors.