Versions in this module Expand all Collapse all v0 v0.1.1 Mar 7, 2025 v0.1.0 Feb 28, 2025 Changes in this version + const ProcessWrapper_CheckStatus_FullMethodName + const ProcessWrapper_InitForcefulShutdown_FullMethodName + const ProcessWrapper_InitGracefulShutdown_FullMethodName + var File_proto_wrapper_proto protoreflect.FileDescriptor + var ProcessWrapper_ServiceDesc = grpc.ServiceDesc + var Status_name = map[int32]string + var Status_value = map[string]int32 + func RegisterProcessWrapperServer(s grpc.ServiceRegistrar, srv ProcessWrapperServer) + type CheckStatusRequest struct + func (*CheckStatusRequest) Descriptor() ([]byte, []int) + func (*CheckStatusRequest) ProtoMessage() + func (x *CheckStatusRequest) ProtoReflect() protoreflect.Message + func (x *CheckStatusRequest) Reset() + func (x *CheckStatusRequest) String() string + type CheckStatusResponse struct + FailureReason string + Status Status + func (*CheckStatusResponse) Descriptor() ([]byte, []int) + func (*CheckStatusResponse) ProtoMessage() + func (x *CheckStatusResponse) GetFailureReason() string + func (x *CheckStatusResponse) GetStatus() Status + func (x *CheckStatusResponse) ProtoReflect() protoreflect.Message + func (x *CheckStatusResponse) Reset() + func (x *CheckStatusResponse) String() string + type InitForcefulShutdownRequest struct + func (*InitForcefulShutdownRequest) Descriptor() ([]byte, []int) + func (*InitForcefulShutdownRequest) ProtoMessage() + func (x *InitForcefulShutdownRequest) ProtoReflect() protoreflect.Message + func (x *InitForcefulShutdownRequest) Reset() + func (x *InitForcefulShutdownRequest) String() string + type InitForcefulShutdownResponse struct + FailureReason string + Status Status + func (*InitForcefulShutdownResponse) Descriptor() ([]byte, []int) + func (*InitForcefulShutdownResponse) ProtoMessage() + func (x *InitForcefulShutdownResponse) GetFailureReason() string + func (x *InitForcefulShutdownResponse) GetStatus() Status + func (x *InitForcefulShutdownResponse) ProtoReflect() protoreflect.Message + func (x *InitForcefulShutdownResponse) Reset() + func (x *InitForcefulShutdownResponse) String() string + type InitGracefulShutdownRequest struct + ShutdownCallback *ShutdownCallback + func (*InitGracefulShutdownRequest) Descriptor() ([]byte, []int) + func (*InitGracefulShutdownRequest) ProtoMessage() + func (x *InitGracefulShutdownRequest) GetShutdownCallback() *ShutdownCallback + func (x *InitGracefulShutdownRequest) ProtoReflect() protoreflect.Message + func (x *InitGracefulShutdownRequest) Reset() + func (x *InitGracefulShutdownRequest) String() string + type InitGracefulShutdownResponse struct + FailureReason string + Status Status + func (*InitGracefulShutdownResponse) Descriptor() ([]byte, []int) + func (*InitGracefulShutdownResponse) ProtoMessage() + func (x *InitGracefulShutdownResponse) GetFailureReason() string + func (x *InitGracefulShutdownResponse) GetStatus() Status + func (x *InitGracefulShutdownResponse) ProtoReflect() protoreflect.Message + func (x *InitGracefulShutdownResponse) Reset() + func (x *InitGracefulShutdownResponse) String() string + type ProcessWrapperClient interface + CheckStatus func(ctx context.Context, in *CheckStatusRequest, opts ...grpc.CallOption) (*CheckStatusResponse, error) + InitForcefulShutdown func(ctx context.Context, in *InitForcefulShutdownRequest, opts ...grpc.CallOption) (*InitForcefulShutdownResponse, error) + InitGracefulShutdown func(ctx context.Context, in *InitGracefulShutdownRequest, opts ...grpc.CallOption) (*InitGracefulShutdownResponse, error) + func NewProcessWrapperClient(cc grpc.ClientConnInterface) ProcessWrapperClient + type ProcessWrapperServer interface + CheckStatus func(context.Context, *CheckStatusRequest) (*CheckStatusResponse, error) + InitForcefulShutdown func(context.Context, *InitForcefulShutdownRequest) (*InitForcefulShutdownResponse, error) + InitGracefulShutdown func(context.Context, *InitGracefulShutdownRequest) (*InitGracefulShutdownResponse, error) + type ShutdownCallback struct + Headers map[string]string + Method string + Url string + func (*ShutdownCallback) Descriptor() ([]byte, []int) + func (*ShutdownCallback) ProtoMessage() + func (x *ShutdownCallback) GetHeaders() map[string]string + func (x *ShutdownCallback) GetMethod() string + func (x *ShutdownCallback) GetUrl() string + func (x *ShutdownCallback) ProtoReflect() protoreflect.Message + func (x *ShutdownCallback) Reset() + func (x *ShutdownCallback) String() string + type Status int32 + const Status_in_shutdown + const Status_running + const Status_stopped + const Status_unknown + func (Status) Descriptor() protoreflect.EnumDescriptor + func (Status) EnumDescriptor() ([]byte, []int) + func (Status) Type() protoreflect.EnumType + func (x Status) Enum() *Status + func (x Status) Number() protoreflect.EnumNumber + func (x Status) String() string + type UnimplementedProcessWrapperServer struct + func (UnimplementedProcessWrapperServer) CheckStatus(context.Context, *CheckStatusRequest) (*CheckStatusResponse, error) + func (UnimplementedProcessWrapperServer) InitForcefulShutdown(context.Context, *InitForcefulShutdownRequest) (*InitForcefulShutdownResponse, error) + func (UnimplementedProcessWrapperServer) InitGracefulShutdown(context.Context, *InitGracefulShutdownRequest) (*InitGracefulShutdownResponse, error) + type UnsafeProcessWrapperServer interface