helpers/runner_wrapper/api/proto/wrapper.pb.go (586 lines of code) (raw):

// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 // protoc v5.28.2 // source: proto/wrapper.proto package proto import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type Status int32 const ( Status_unknown Status = 0 Status_running Status = 1 Status_in_shutdown Status = 2 Status_stopped Status = 3 ) // Enum value maps for Status. var ( Status_name = map[int32]string{ 0: "unknown", 1: "running", 2: "in_shutdown", 3: "stopped", } Status_value = map[string]int32{ "unknown": 0, "running": 1, "in_shutdown": 2, "stopped": 3, } ) func (x Status) Enum() *Status { p := new(Status) *p = x return p } func (x Status) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Status) Descriptor() protoreflect.EnumDescriptor { return file_proto_wrapper_proto_enumTypes[0].Descriptor() } func (Status) Type() protoreflect.EnumType { return &file_proto_wrapper_proto_enumTypes[0] } func (x Status) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Status.Descriptor instead. func (Status) EnumDescriptor() ([]byte, []int) { return file_proto_wrapper_proto_rawDescGZIP(), []int{0} } type CheckStatusRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *CheckStatusRequest) Reset() { *x = CheckStatusRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_wrapper_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CheckStatusRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckStatusRequest) ProtoMessage() {} func (x *CheckStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_wrapper_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CheckStatusRequest.ProtoReflect.Descriptor instead. func (*CheckStatusRequest) Descriptor() ([]byte, []int) { return file_proto_wrapper_proto_rawDescGZIP(), []int{0} } type CheckStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=gitlab_com.gitlab_runner.runner_wrapper.Status" json:"status,omitempty"` FailureReason string `protobuf:"bytes,2,opt,name=failureReason,proto3" json:"failureReason,omitempty"` } func (x *CheckStatusResponse) Reset() { *x = CheckStatusResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_wrapper_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CheckStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckStatusResponse) ProtoMessage() {} func (x *CheckStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_wrapper_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CheckStatusResponse.ProtoReflect.Descriptor instead. func (*CheckStatusResponse) Descriptor() ([]byte, []int) { return file_proto_wrapper_proto_rawDescGZIP(), []int{1} } func (x *CheckStatusResponse) GetStatus() Status { if x != nil { return x.Status } return Status_unknown } func (x *CheckStatusResponse) GetFailureReason() string { if x != nil { return x.FailureReason } return "" } type ShutdownCallback struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` Headers map[string]string `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *ShutdownCallback) Reset() { *x = ShutdownCallback{} if protoimpl.UnsafeEnabled { mi := &file_proto_wrapper_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ShutdownCallback) String() string { return protoimpl.X.MessageStringOf(x) } func (*ShutdownCallback) ProtoMessage() {} func (x *ShutdownCallback) ProtoReflect() protoreflect.Message { mi := &file_proto_wrapper_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ShutdownCallback.ProtoReflect.Descriptor instead. func (*ShutdownCallback) Descriptor() ([]byte, []int) { return file_proto_wrapper_proto_rawDescGZIP(), []int{2} } func (x *ShutdownCallback) GetUrl() string { if x != nil { return x.Url } return "" } func (x *ShutdownCallback) GetMethod() string { if x != nil { return x.Method } return "" } func (x *ShutdownCallback) GetHeaders() map[string]string { if x != nil { return x.Headers } return nil } type InitGracefulShutdownRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ShutdownCallback *ShutdownCallback `protobuf:"bytes,1,opt,name=shutdownCallback,proto3" json:"shutdownCallback,omitempty"` } func (x *InitGracefulShutdownRequest) Reset() { *x = InitGracefulShutdownRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_wrapper_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *InitGracefulShutdownRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*InitGracefulShutdownRequest) ProtoMessage() {} func (x *InitGracefulShutdownRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_wrapper_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use InitGracefulShutdownRequest.ProtoReflect.Descriptor instead. func (*InitGracefulShutdownRequest) Descriptor() ([]byte, []int) { return file_proto_wrapper_proto_rawDescGZIP(), []int{3} } func (x *InitGracefulShutdownRequest) GetShutdownCallback() *ShutdownCallback { if x != nil { return x.ShutdownCallback } return nil } type InitGracefulShutdownResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=gitlab_com.gitlab_runner.runner_wrapper.Status" json:"status,omitempty"` FailureReason string `protobuf:"bytes,2,opt,name=failureReason,proto3" json:"failureReason,omitempty"` } func (x *InitGracefulShutdownResponse) Reset() { *x = InitGracefulShutdownResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_wrapper_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *InitGracefulShutdownResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*InitGracefulShutdownResponse) ProtoMessage() {} func (x *InitGracefulShutdownResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_wrapper_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use InitGracefulShutdownResponse.ProtoReflect.Descriptor instead. func (*InitGracefulShutdownResponse) Descriptor() ([]byte, []int) { return file_proto_wrapper_proto_rawDescGZIP(), []int{4} } func (x *InitGracefulShutdownResponse) GetStatus() Status { if x != nil { return x.Status } return Status_unknown } func (x *InitGracefulShutdownResponse) GetFailureReason() string { if x != nil { return x.FailureReason } return "" } type InitForcefulShutdownRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *InitForcefulShutdownRequest) Reset() { *x = InitForcefulShutdownRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_wrapper_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *InitForcefulShutdownRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*InitForcefulShutdownRequest) ProtoMessage() {} func (x *InitForcefulShutdownRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_wrapper_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use InitForcefulShutdownRequest.ProtoReflect.Descriptor instead. func (*InitForcefulShutdownRequest) Descriptor() ([]byte, []int) { return file_proto_wrapper_proto_rawDescGZIP(), []int{5} } type InitForcefulShutdownResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=gitlab_com.gitlab_runner.runner_wrapper.Status" json:"status,omitempty"` FailureReason string `protobuf:"bytes,2,opt,name=failureReason,proto3" json:"failureReason,omitempty"` } func (x *InitForcefulShutdownResponse) Reset() { *x = InitForcefulShutdownResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_wrapper_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *InitForcefulShutdownResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*InitForcefulShutdownResponse) ProtoMessage() {} func (x *InitForcefulShutdownResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_wrapper_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use InitForcefulShutdownResponse.ProtoReflect.Descriptor instead. func (*InitForcefulShutdownResponse) Descriptor() ([]byte, []int) { return file_proto_wrapper_proto_rawDescGZIP(), []int{6} } func (x *InitForcefulShutdownResponse) GetStatus() Status { if x != nil { return x.Status } return Status_unknown } func (x *InitForcefulShutdownResponse) GetFailureReason() string { if x != nil { return x.FailureReason } return "" } var File_proto_wrapper_proto protoreflect.FileDescriptor var file_proto_wrapper_proto_rawDesc = []byte{ 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x84, 0x01, 0x0a, 0x13, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xda, 0x01, 0x0a, 0x10, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x60, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x84, 0x01, 0x0a, 0x1b, 0x49, 0x6e, 0x69, 0x74, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x65, 0x0a, 0x10, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x10, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x22, 0x8d, 0x01, 0x0a, 0x1c, 0x49, 0x6e, 0x69, 0x74, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x1d, 0x0a, 0x1b, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8d, 0x01, 0x0a, 0x1c, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2a, 0x40, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x69, 0x6e, 0x5f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x10, 0x03, 0x32, 0xe7, 0x03, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x88, 0x01, 0x0a, 0x0b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3b, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa3, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x69, 0x74, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x44, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa3, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x44, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_proto_wrapper_proto_rawDescOnce sync.Once file_proto_wrapper_proto_rawDescData = file_proto_wrapper_proto_rawDesc ) func file_proto_wrapper_proto_rawDescGZIP() []byte { file_proto_wrapper_proto_rawDescOnce.Do(func() { file_proto_wrapper_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_wrapper_proto_rawDescData) }) return file_proto_wrapper_proto_rawDescData } var file_proto_wrapper_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_proto_wrapper_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_proto_wrapper_proto_goTypes = []any{ (Status)(0), // 0: gitlab_com.gitlab_runner.runner_wrapper.Status (*CheckStatusRequest)(nil), // 1: gitlab_com.gitlab_runner.runner_wrapper.CheckStatusRequest (*CheckStatusResponse)(nil), // 2: gitlab_com.gitlab_runner.runner_wrapper.CheckStatusResponse (*ShutdownCallback)(nil), // 3: gitlab_com.gitlab_runner.runner_wrapper.ShutdownCallback (*InitGracefulShutdownRequest)(nil), // 4: gitlab_com.gitlab_runner.runner_wrapper.InitGracefulShutdownRequest (*InitGracefulShutdownResponse)(nil), // 5: gitlab_com.gitlab_runner.runner_wrapper.InitGracefulShutdownResponse (*InitForcefulShutdownRequest)(nil), // 6: gitlab_com.gitlab_runner.runner_wrapper.InitForcefulShutdownRequest (*InitForcefulShutdownResponse)(nil), // 7: gitlab_com.gitlab_runner.runner_wrapper.InitForcefulShutdownResponse nil, // 8: gitlab_com.gitlab_runner.runner_wrapper.ShutdownCallback.HeadersEntry } var file_proto_wrapper_proto_depIdxs = []int32{ 0, // 0: gitlab_com.gitlab_runner.runner_wrapper.CheckStatusResponse.status:type_name -> gitlab_com.gitlab_runner.runner_wrapper.Status 8, // 1: gitlab_com.gitlab_runner.runner_wrapper.ShutdownCallback.headers:type_name -> gitlab_com.gitlab_runner.runner_wrapper.ShutdownCallback.HeadersEntry 3, // 2: gitlab_com.gitlab_runner.runner_wrapper.InitGracefulShutdownRequest.shutdownCallback:type_name -> gitlab_com.gitlab_runner.runner_wrapper.ShutdownCallback 0, // 3: gitlab_com.gitlab_runner.runner_wrapper.InitGracefulShutdownResponse.status:type_name -> gitlab_com.gitlab_runner.runner_wrapper.Status 0, // 4: gitlab_com.gitlab_runner.runner_wrapper.InitForcefulShutdownResponse.status:type_name -> gitlab_com.gitlab_runner.runner_wrapper.Status 1, // 5: gitlab_com.gitlab_runner.runner_wrapper.ProcessWrapper.CheckStatus:input_type -> gitlab_com.gitlab_runner.runner_wrapper.CheckStatusRequest 4, // 6: gitlab_com.gitlab_runner.runner_wrapper.ProcessWrapper.InitGracefulShutdown:input_type -> gitlab_com.gitlab_runner.runner_wrapper.InitGracefulShutdownRequest 6, // 7: gitlab_com.gitlab_runner.runner_wrapper.ProcessWrapper.InitForcefulShutdown:input_type -> gitlab_com.gitlab_runner.runner_wrapper.InitForcefulShutdownRequest 2, // 8: gitlab_com.gitlab_runner.runner_wrapper.ProcessWrapper.CheckStatus:output_type -> gitlab_com.gitlab_runner.runner_wrapper.CheckStatusResponse 5, // 9: gitlab_com.gitlab_runner.runner_wrapper.ProcessWrapper.InitGracefulShutdown:output_type -> gitlab_com.gitlab_runner.runner_wrapper.InitGracefulShutdownResponse 7, // 10: gitlab_com.gitlab_runner.runner_wrapper.ProcessWrapper.InitForcefulShutdown:output_type -> gitlab_com.gitlab_runner.runner_wrapper.InitForcefulShutdownResponse 8, // [8:11] is the sub-list for method output_type 5, // [5:8] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name 5, // [5:5] is the sub-list for extension extendee 0, // [0:5] is the sub-list for field type_name } func init() { file_proto_wrapper_proto_init() } func file_proto_wrapper_proto_init() { if File_proto_wrapper_proto != nil { return } if !protoimpl.UnsafeEnabled { file_proto_wrapper_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*CheckStatusRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_wrapper_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*CheckStatusResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_wrapper_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ShutdownCallback); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_wrapper_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*InitGracefulShutdownRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_wrapper_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*InitGracefulShutdownResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_wrapper_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*InitForcefulShutdownRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_wrapper_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*InitForcefulShutdownResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_proto_wrapper_proto_rawDesc, NumEnums: 1, NumMessages: 8, NumExtensions: 0, NumServices: 1, }, GoTypes: file_proto_wrapper_proto_goTypes, DependencyIndexes: file_proto_wrapper_proto_depIdxs, EnumInfos: file_proto_wrapper_proto_enumTypes, MessageInfos: file_proto_wrapper_proto_msgTypes, }.Build() File_proto_wrapper_proto = out.File file_proto_wrapper_proto_rawDesc = nil file_proto_wrapper_proto_goTypes = nil file_proto_wrapper_proto_depIdxs = nil }