Documentation ¶
Index ¶
- Variables
- func RegisterDebugdServer(s grpc.ServiceRegistrar, srv DebugdServer)
- type Chunk
- type DebugdClient
- type DebugdServer
- type Debugd_DownloadFilesClient
- type Debugd_DownloadFilesServer
- type Debugd_UploadFilesClient
- type Debugd_UploadFilesServer
- type DownloadFilesRequest
- type FileTransferHeader
- func (*FileTransferHeader) Descriptor() ([]byte, []int)deprecated
- func (x *FileTransferHeader) GetMode() uint32
- func (x *FileTransferHeader) GetOverrideServiceUnit() string
- func (x *FileTransferHeader) GetTargetPath() string
- func (*FileTransferHeader) ProtoMessage()
- func (x *FileTransferHeader) ProtoReflect() protoreflect.Message
- func (x *FileTransferHeader) Reset()
- func (x *FileTransferHeader) String() string
- type FileTransferMessage
- func (*FileTransferMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FileTransferMessage) GetChunk() *Chunk
- func (x *FileTransferMessage) GetHeader() *FileTransferHeader
- func (m *FileTransferMessage) GetKind() isFileTransferMessage_Kind
- func (*FileTransferMessage) ProtoMessage()
- func (x *FileTransferMessage) ProtoReflect() protoreflect.Message
- func (x *FileTransferMessage) Reset()
- func (x *FileTransferMessage) String() string
- type FileTransferMessage_Chunk
- type FileTransferMessage_Header
- type GetInfoRequest
- type GetInfoResponse
- type Info
- type ServiceUnit
- func (*ServiceUnit) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceUnit) GetContents() string
- func (x *ServiceUnit) GetName() string
- func (*ServiceUnit) ProtoMessage()
- func (x *ServiceUnit) ProtoReflect() protoreflect.Message
- func (x *ServiceUnit) Reset()
- func (x *ServiceUnit) String() string
- type SetInfoRequest
- type SetInfoResponse
- type SetInfoStatus
- func (SetInfoStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SetInfoStatus) Enum() *SetInfoStatus
- func (SetInfoStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetInfoStatus) Number() protoreflect.EnumNumber
- func (x SetInfoStatus) String() string
- func (SetInfoStatus) Type() protoreflect.EnumType
- type UnimplementedDebugdServer
- func (UnimplementedDebugdServer) DownloadFiles(*DownloadFilesRequest, Debugd_DownloadFilesServer) error
- func (UnimplementedDebugdServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
- func (UnimplementedDebugdServer) SetInfo(context.Context, *SetInfoRequest) (*SetInfoResponse, error)
- func (UnimplementedDebugdServer) UploadFiles(Debugd_UploadFilesServer) error
- func (UnimplementedDebugdServer) UploadSystemServiceUnits(context.Context, *UploadSystemdServiceUnitsRequest) (*UploadSystemdServiceUnitsResponse, error)
- type UnsafeDebugdServer
- type UploadFilesResponse
- func (*UploadFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadFilesResponse) GetStatus() UploadFilesStatus
- func (*UploadFilesResponse) ProtoMessage()
- func (x *UploadFilesResponse) ProtoReflect() protoreflect.Message
- func (x *UploadFilesResponse) Reset()
- func (x *UploadFilesResponse) String() string
- type UploadFilesStatus
- func (UploadFilesStatus) Descriptor() protoreflect.EnumDescriptor
- func (x UploadFilesStatus) Enum() *UploadFilesStatus
- func (UploadFilesStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x UploadFilesStatus) Number() protoreflect.EnumNumber
- func (x UploadFilesStatus) String() string
- func (UploadFilesStatus) Type() protoreflect.EnumType
- type UploadSystemdServiceUnitsRequest
- func (*UploadSystemdServiceUnitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadSystemdServiceUnitsRequest) GetUnits() []*ServiceUnit
- func (*UploadSystemdServiceUnitsRequest) ProtoMessage()
- func (x *UploadSystemdServiceUnitsRequest) ProtoReflect() protoreflect.Message
- func (x *UploadSystemdServiceUnitsRequest) Reset()
- func (x *UploadSystemdServiceUnitsRequest) String() string
- type UploadSystemdServiceUnitsResponse
- func (*UploadSystemdServiceUnitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadSystemdServiceUnitsResponse) GetStatus() UploadSystemdServiceUnitsStatus
- func (*UploadSystemdServiceUnitsResponse) ProtoMessage()
- func (x *UploadSystemdServiceUnitsResponse) ProtoReflect() protoreflect.Message
- func (x *UploadSystemdServiceUnitsResponse) Reset()
- func (x *UploadSystemdServiceUnitsResponse) String() string
- type UploadSystemdServiceUnitsStatus
- func (UploadSystemdServiceUnitsStatus) Descriptor() protoreflect.EnumDescriptor
- func (x UploadSystemdServiceUnitsStatus) Enum() *UploadSystemdServiceUnitsStatus
- func (UploadSystemdServiceUnitsStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x UploadSystemdServiceUnitsStatus) Number() protoreflect.EnumNumber
- func (x UploadSystemdServiceUnitsStatus) String() string
- func (UploadSystemdServiceUnitsStatus) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( SetInfoStatus_name = map[int32]string{ 0: "SET_INFO_SUCCESS", 1: "SET_INFO_ALREADY_SET", } SetInfoStatus_value = map[string]int32{ "SET_INFO_SUCCESS": 0, "SET_INFO_ALREADY_SET": 1, } )
Enum value maps for SetInfoStatus.
var ( UploadFilesStatus_name = map[int32]string{ 0: "UPLOAD_FILES_SUCCESS", 1: "UPLOAD_FILES_UPLOAD_FAILED", 2: "UPLOAD_FILES_ALREADY_STARTED", 3: "UPLOAD_FILES_ALREADY_FINISHED", 4: "UPLOAD_FILES_START_FAILED", } UploadFilesStatus_value = map[string]int32{ "UPLOAD_FILES_SUCCESS": 0, "UPLOAD_FILES_UPLOAD_FAILED": 1, "UPLOAD_FILES_ALREADY_STARTED": 2, "UPLOAD_FILES_ALREADY_FINISHED": 3, "UPLOAD_FILES_START_FAILED": 4, } )
Enum value maps for UploadFilesStatus.
var ( UploadSystemdServiceUnitsStatus_name = map[int32]string{ 0: "UPLOAD_SYSTEMD_SERVICE_UNITS_SUCCESS", 1: "UPLOAD_SYSTEMD_SERVICE_UNITS_FAILURE", } UploadSystemdServiceUnitsStatus_value = map[string]int32{ "UPLOAD_SYSTEMD_SERVICE_UNITS_SUCCESS": 0, "UPLOAD_SYSTEMD_SERVICE_UNITS_FAILURE": 1, } )
Enum value maps for UploadSystemdServiceUnitsStatus.
var Debugd_ServiceDesc = grpc.ServiceDesc{ ServiceName: "debugd.Debugd", HandlerType: (*DebugdServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetInfo", Handler: _Debugd_SetInfo_Handler, }, { MethodName: "GetInfo", Handler: _Debugd_GetInfo_Handler, }, { MethodName: "UploadSystemServiceUnits", Handler: _Debugd_UploadSystemServiceUnits_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "UploadFiles", Handler: _Debugd_UploadFiles_Handler, ClientStreams: true, }, { StreamName: "DownloadFiles", Handler: _Debugd_DownloadFiles_Handler, ServerStreams: true, }, }, Metadata: "debugd.proto", }
Debugd_ServiceDesc is the grpc.ServiceDesc for Debugd service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_debugd_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDebugdServer ¶
func RegisterDebugdServer(s grpc.ServiceRegistrar, srv DebugdServer)
Types ¶
type Chunk ¶
type Chunk struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` Last bool `protobuf:"varint,2,opt,name=last,proto3" json:"last,omitempty"` // contains filtered or unexported fields }
func (*Chunk) Descriptor
deprecated
func (*Chunk) GetContent ¶
func (*Chunk) ProtoMessage ¶
func (*Chunk) ProtoMessage()
func (*Chunk) ProtoReflect ¶
func (x *Chunk) ProtoReflect() protoreflect.Message
type DebugdClient ¶
type DebugdClient interface { SetInfo(ctx context.Context, in *SetInfoRequest, opts ...grpc.CallOption) (*SetInfoResponse, error) GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) UploadFiles(ctx context.Context, opts ...grpc.CallOption) (Debugd_UploadFilesClient, error) DownloadFiles(ctx context.Context, in *DownloadFilesRequest, opts ...grpc.CallOption) (Debugd_DownloadFilesClient, error) UploadSystemServiceUnits(ctx context.Context, in *UploadSystemdServiceUnitsRequest, opts ...grpc.CallOption) (*UploadSystemdServiceUnitsResponse, error) }
DebugdClient is the client API for Debugd 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 NewDebugdClient ¶
func NewDebugdClient(cc grpc.ClientConnInterface) DebugdClient
type DebugdServer ¶
type DebugdServer interface { SetInfo(context.Context, *SetInfoRequest) (*SetInfoResponse, error) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) UploadFiles(Debugd_UploadFilesServer) error DownloadFiles(*DownloadFilesRequest, Debugd_DownloadFilesServer) error UploadSystemServiceUnits(context.Context, *UploadSystemdServiceUnitsRequest) (*UploadSystemdServiceUnitsResponse, error) // contains filtered or unexported methods }
DebugdServer is the server API for Debugd service. All implementations must embed UnimplementedDebugdServer for forward compatibility
type Debugd_DownloadFilesClient ¶ added in v2.6.0
type Debugd_DownloadFilesClient interface { Recv() (*FileTransferMessage, error) grpc.ClientStream }
type Debugd_DownloadFilesServer ¶ added in v2.6.0
type Debugd_DownloadFilesServer interface { Send(*FileTransferMessage) error grpc.ServerStream }
type Debugd_UploadFilesClient ¶ added in v2.6.0
type Debugd_UploadFilesClient interface { Send(*FileTransferMessage) error CloseAndRecv() (*UploadFilesResponse, error) grpc.ClientStream }
type Debugd_UploadFilesServer ¶ added in v2.6.0
type Debugd_UploadFilesServer interface { SendAndClose(*UploadFilesResponse) error Recv() (*FileTransferMessage, error) grpc.ServerStream }
type DownloadFilesRequest ¶ added in v2.6.0
type DownloadFilesRequest struct {
// contains filtered or unexported fields
}
func (*DownloadFilesRequest) Descriptor
deprecated
added in
v2.6.0
func (*DownloadFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadFilesRequest.ProtoReflect.Descriptor instead.
func (*DownloadFilesRequest) ProtoMessage ¶ added in v2.6.0
func (*DownloadFilesRequest) ProtoMessage()
func (*DownloadFilesRequest) ProtoReflect ¶ added in v2.6.0
func (x *DownloadFilesRequest) ProtoReflect() protoreflect.Message
func (*DownloadFilesRequest) Reset ¶ added in v2.6.0
func (x *DownloadFilesRequest) Reset()
func (*DownloadFilesRequest) String ¶ added in v2.6.0
func (x *DownloadFilesRequest) String() string
type FileTransferHeader ¶ added in v2.6.0
type FileTransferHeader struct { TargetPath string `protobuf:"bytes,1,opt,name=targetPath,proto3" json:"targetPath,omitempty"` Mode uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` OverrideServiceUnit *string `protobuf:"bytes,4,opt,name=overrideServiceUnit,proto3,oneof" json:"overrideServiceUnit,omitempty"` // contains filtered or unexported fields }
func (*FileTransferHeader) Descriptor
deprecated
added in
v2.6.0
func (*FileTransferHeader) Descriptor() ([]byte, []int)
Deprecated: Use FileTransferHeader.ProtoReflect.Descriptor instead.
func (*FileTransferHeader) GetMode ¶ added in v2.6.0
func (x *FileTransferHeader) GetMode() uint32
func (*FileTransferHeader) GetOverrideServiceUnit ¶ added in v2.6.0
func (x *FileTransferHeader) GetOverrideServiceUnit() string
func (*FileTransferHeader) GetTargetPath ¶ added in v2.6.0
func (x *FileTransferHeader) GetTargetPath() string
func (*FileTransferHeader) ProtoMessage ¶ added in v2.6.0
func (*FileTransferHeader) ProtoMessage()
func (*FileTransferHeader) ProtoReflect ¶ added in v2.6.0
func (x *FileTransferHeader) ProtoReflect() protoreflect.Message
func (*FileTransferHeader) Reset ¶ added in v2.6.0
func (x *FileTransferHeader) Reset()
func (*FileTransferHeader) String ¶ added in v2.6.0
func (x *FileTransferHeader) String() string
type FileTransferMessage ¶ added in v2.6.0
type FileTransferMessage struct { // Types that are assignable to Kind: // // *FileTransferMessage_Header // *FileTransferMessage_Chunk Kind isFileTransferMessage_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*FileTransferMessage) Descriptor
deprecated
added in
v2.6.0
func (*FileTransferMessage) Descriptor() ([]byte, []int)
Deprecated: Use FileTransferMessage.ProtoReflect.Descriptor instead.
func (*FileTransferMessage) GetChunk ¶ added in v2.6.0
func (x *FileTransferMessage) GetChunk() *Chunk
func (*FileTransferMessage) GetHeader ¶ added in v2.6.0
func (x *FileTransferMessage) GetHeader() *FileTransferHeader
func (*FileTransferMessage) GetKind ¶ added in v2.6.0
func (m *FileTransferMessage) GetKind() isFileTransferMessage_Kind
func (*FileTransferMessage) ProtoMessage ¶ added in v2.6.0
func (*FileTransferMessage) ProtoMessage()
func (*FileTransferMessage) ProtoReflect ¶ added in v2.6.0
func (x *FileTransferMessage) ProtoReflect() protoreflect.Message
func (*FileTransferMessage) Reset ¶ added in v2.6.0
func (x *FileTransferMessage) Reset()
func (*FileTransferMessage) String ¶ added in v2.6.0
func (x *FileTransferMessage) String() string
type FileTransferMessage_Chunk ¶ added in v2.6.0
type FileTransferMessage_Chunk struct {
Chunk *Chunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"` // file content as chunks
}
type FileTransferMessage_Header ¶ added in v2.6.0
type FileTransferMessage_Header struct {
Header *FileTransferHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` // start of transfer
}
type GetInfoRequest ¶ added in v2.3.0
type GetInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetInfoRequest) Descriptor
deprecated
added in
v2.3.0
func (*GetInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
func (*GetInfoRequest) ProtoMessage ¶ added in v2.3.0
func (*GetInfoRequest) ProtoMessage()
func (*GetInfoRequest) ProtoReflect ¶ added in v2.3.0
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message
func (*GetInfoRequest) Reset ¶ added in v2.3.0
func (x *GetInfoRequest) Reset()
func (*GetInfoRequest) String ¶ added in v2.3.0
func (x *GetInfoRequest) String() string
type GetInfoResponse ¶ added in v2.3.0
type GetInfoResponse struct { Info []*Info `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*GetInfoResponse) Descriptor
deprecated
added in
v2.3.0
func (*GetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
func (*GetInfoResponse) GetInfo ¶ added in v2.3.0
func (x *GetInfoResponse) GetInfo() []*Info
func (*GetInfoResponse) ProtoMessage ¶ added in v2.3.0
func (*GetInfoResponse) ProtoMessage()
func (*GetInfoResponse) ProtoReflect ¶ added in v2.3.0
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
func (*GetInfoResponse) Reset ¶ added in v2.3.0
func (x *GetInfoResponse) Reset()
func (*GetInfoResponse) String ¶ added in v2.3.0
func (x *GetInfoResponse) String() string
type Info ¶ added in v2.3.0
type Info struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Info) Descriptor
deprecated
added in
v2.3.0
func (*Info) ProtoMessage ¶ added in v2.3.0
func (*Info) ProtoMessage()
func (*Info) ProtoReflect ¶ added in v2.3.0
func (x *Info) ProtoReflect() protoreflect.Message
type ServiceUnit ¶
type ServiceUnit struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Contents string `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"` // contains filtered or unexported fields }
func (*ServiceUnit) Descriptor
deprecated
func (*ServiceUnit) Descriptor() ([]byte, []int)
Deprecated: Use ServiceUnit.ProtoReflect.Descriptor instead.
func (*ServiceUnit) GetContents ¶
func (x *ServiceUnit) GetContents() string
func (*ServiceUnit) GetName ¶
func (x *ServiceUnit) GetName() string
func (*ServiceUnit) ProtoMessage ¶
func (*ServiceUnit) ProtoMessage()
func (*ServiceUnit) ProtoReflect ¶
func (x *ServiceUnit) ProtoReflect() protoreflect.Message
func (*ServiceUnit) Reset ¶
func (x *ServiceUnit) Reset()
func (*ServiceUnit) String ¶
func (x *ServiceUnit) String() string
type SetInfoRequest ¶ added in v2.3.0
type SetInfoRequest struct { Info []*Info `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*SetInfoRequest) Descriptor
deprecated
added in
v2.3.0
func (*SetInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetInfoRequest.ProtoReflect.Descriptor instead.
func (*SetInfoRequest) GetInfo ¶ added in v2.3.0
func (x *SetInfoRequest) GetInfo() []*Info
func (*SetInfoRequest) ProtoMessage ¶ added in v2.3.0
func (*SetInfoRequest) ProtoMessage()
func (*SetInfoRequest) ProtoReflect ¶ added in v2.3.0
func (x *SetInfoRequest) ProtoReflect() protoreflect.Message
func (*SetInfoRequest) Reset ¶ added in v2.3.0
func (x *SetInfoRequest) Reset()
func (*SetInfoRequest) String ¶ added in v2.3.0
func (x *SetInfoRequest) String() string
type SetInfoResponse ¶ added in v2.3.0
type SetInfoResponse struct { Status SetInfoStatus `protobuf:"varint,1,opt,name=status,proto3,enum=debugd.SetInfoStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SetInfoResponse) Descriptor
deprecated
added in
v2.3.0
func (*SetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetInfoResponse.ProtoReflect.Descriptor instead.
func (*SetInfoResponse) GetStatus ¶ added in v2.6.0
func (x *SetInfoResponse) GetStatus() SetInfoStatus
func (*SetInfoResponse) ProtoMessage ¶ added in v2.3.0
func (*SetInfoResponse) ProtoMessage()
func (*SetInfoResponse) ProtoReflect ¶ added in v2.3.0
func (x *SetInfoResponse) ProtoReflect() protoreflect.Message
func (*SetInfoResponse) Reset ¶ added in v2.3.0
func (x *SetInfoResponse) Reset()
func (*SetInfoResponse) String ¶ added in v2.3.0
func (x *SetInfoResponse) String() string
type SetInfoStatus ¶ added in v2.6.0
type SetInfoStatus int32
const ( SetInfoStatus_SET_INFO_SUCCESS SetInfoStatus = 0 SetInfoStatus_SET_INFO_ALREADY_SET SetInfoStatus = 1 )
func (SetInfoStatus) Descriptor ¶ added in v2.6.0
func (SetInfoStatus) Descriptor() protoreflect.EnumDescriptor
func (SetInfoStatus) Enum ¶ added in v2.6.0
func (x SetInfoStatus) Enum() *SetInfoStatus
func (SetInfoStatus) EnumDescriptor
deprecated
added in
v2.6.0
func (SetInfoStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetInfoStatus.Descriptor instead.
func (SetInfoStatus) Number ¶ added in v2.6.0
func (x SetInfoStatus) Number() protoreflect.EnumNumber
func (SetInfoStatus) String ¶ added in v2.6.0
func (x SetInfoStatus) String() string
func (SetInfoStatus) Type ¶ added in v2.6.0
func (SetInfoStatus) Type() protoreflect.EnumType
type UnimplementedDebugdServer ¶
type UnimplementedDebugdServer struct { }
UnimplementedDebugdServer must be embedded to have forward compatible implementations.
func (UnimplementedDebugdServer) DownloadFiles ¶ added in v2.6.0
func (UnimplementedDebugdServer) DownloadFiles(*DownloadFilesRequest, Debugd_DownloadFilesServer) error
func (UnimplementedDebugdServer) GetInfo ¶ added in v2.3.0
func (UnimplementedDebugdServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
func (UnimplementedDebugdServer) SetInfo ¶ added in v2.3.0
func (UnimplementedDebugdServer) SetInfo(context.Context, *SetInfoRequest) (*SetInfoResponse, error)
func (UnimplementedDebugdServer) UploadFiles ¶ added in v2.6.0
func (UnimplementedDebugdServer) UploadFiles(Debugd_UploadFilesServer) error
func (UnimplementedDebugdServer) UploadSystemServiceUnits ¶
func (UnimplementedDebugdServer) UploadSystemServiceUnits(context.Context, *UploadSystemdServiceUnitsRequest) (*UploadSystemdServiceUnitsResponse, error)
type UnsafeDebugdServer ¶
type UnsafeDebugdServer interface {
// contains filtered or unexported methods
}
UnsafeDebugdServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DebugdServer will result in compilation errors.
type UploadFilesResponse ¶ added in v2.6.0
type UploadFilesResponse struct { Status UploadFilesStatus `protobuf:"varint,1,opt,name=status,proto3,enum=debugd.UploadFilesStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UploadFilesResponse) Descriptor
deprecated
added in
v2.6.0
func (*UploadFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadFilesResponse.ProtoReflect.Descriptor instead.
func (*UploadFilesResponse) GetStatus ¶ added in v2.6.0
func (x *UploadFilesResponse) GetStatus() UploadFilesStatus
func (*UploadFilesResponse) ProtoMessage ¶ added in v2.6.0
func (*UploadFilesResponse) ProtoMessage()
func (*UploadFilesResponse) ProtoReflect ¶ added in v2.6.0
func (x *UploadFilesResponse) ProtoReflect() protoreflect.Message
func (*UploadFilesResponse) Reset ¶ added in v2.6.0
func (x *UploadFilesResponse) Reset()
func (*UploadFilesResponse) String ¶ added in v2.6.0
func (x *UploadFilesResponse) String() string
type UploadFilesStatus ¶ added in v2.6.0
type UploadFilesStatus int32
const ( UploadFilesStatus_UPLOAD_FILES_SUCCESS UploadFilesStatus = 0 UploadFilesStatus_UPLOAD_FILES_UPLOAD_FAILED UploadFilesStatus = 1 UploadFilesStatus_UPLOAD_FILES_ALREADY_STARTED UploadFilesStatus = 2 UploadFilesStatus_UPLOAD_FILES_ALREADY_FINISHED UploadFilesStatus = 3 UploadFilesStatus_UPLOAD_FILES_START_FAILED UploadFilesStatus = 4 )
func (UploadFilesStatus) Descriptor ¶ added in v2.6.0
func (UploadFilesStatus) Descriptor() protoreflect.EnumDescriptor
func (UploadFilesStatus) Enum ¶ added in v2.6.0
func (x UploadFilesStatus) Enum() *UploadFilesStatus
func (UploadFilesStatus) EnumDescriptor
deprecated
added in
v2.6.0
func (UploadFilesStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use UploadFilesStatus.Descriptor instead.
func (UploadFilesStatus) Number ¶ added in v2.6.0
func (x UploadFilesStatus) Number() protoreflect.EnumNumber
func (UploadFilesStatus) String ¶ added in v2.6.0
func (x UploadFilesStatus) String() string
func (UploadFilesStatus) Type ¶ added in v2.6.0
func (UploadFilesStatus) Type() protoreflect.EnumType
type UploadSystemdServiceUnitsRequest ¶
type UploadSystemdServiceUnitsRequest struct { Units []*ServiceUnit `protobuf:"bytes,1,rep,name=units,proto3" json:"units,omitempty"` // contains filtered or unexported fields }
func (*UploadSystemdServiceUnitsRequest) Descriptor
deprecated
func (*UploadSystemdServiceUnitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadSystemdServiceUnitsRequest.ProtoReflect.Descriptor instead.
func (*UploadSystemdServiceUnitsRequest) GetUnits ¶
func (x *UploadSystemdServiceUnitsRequest) GetUnits() []*ServiceUnit
func (*UploadSystemdServiceUnitsRequest) ProtoMessage ¶
func (*UploadSystemdServiceUnitsRequest) ProtoMessage()
func (*UploadSystemdServiceUnitsRequest) ProtoReflect ¶
func (x *UploadSystemdServiceUnitsRequest) ProtoReflect() protoreflect.Message
func (*UploadSystemdServiceUnitsRequest) Reset ¶
func (x *UploadSystemdServiceUnitsRequest) Reset()
func (*UploadSystemdServiceUnitsRequest) String ¶
func (x *UploadSystemdServiceUnitsRequest) String() string
type UploadSystemdServiceUnitsResponse ¶
type UploadSystemdServiceUnitsResponse struct { Status UploadSystemdServiceUnitsStatus `protobuf:"varint,1,opt,name=status,proto3,enum=debugd.UploadSystemdServiceUnitsStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UploadSystemdServiceUnitsResponse) Descriptor
deprecated
func (*UploadSystemdServiceUnitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadSystemdServiceUnitsResponse.ProtoReflect.Descriptor instead.
func (*UploadSystemdServiceUnitsResponse) GetStatus ¶
func (x *UploadSystemdServiceUnitsResponse) GetStatus() UploadSystemdServiceUnitsStatus
func (*UploadSystemdServiceUnitsResponse) ProtoMessage ¶
func (*UploadSystemdServiceUnitsResponse) ProtoMessage()
func (*UploadSystemdServiceUnitsResponse) ProtoReflect ¶
func (x *UploadSystemdServiceUnitsResponse) ProtoReflect() protoreflect.Message
func (*UploadSystemdServiceUnitsResponse) Reset ¶
func (x *UploadSystemdServiceUnitsResponse) Reset()
func (*UploadSystemdServiceUnitsResponse) String ¶
func (x *UploadSystemdServiceUnitsResponse) String() string
type UploadSystemdServiceUnitsStatus ¶
type UploadSystemdServiceUnitsStatus int32
const ( UploadSystemdServiceUnitsStatus_UPLOAD_SYSTEMD_SERVICE_UNITS_SUCCESS UploadSystemdServiceUnitsStatus = 0 UploadSystemdServiceUnitsStatus_UPLOAD_SYSTEMD_SERVICE_UNITS_FAILURE UploadSystemdServiceUnitsStatus = 1 )
func (UploadSystemdServiceUnitsStatus) Descriptor ¶
func (UploadSystemdServiceUnitsStatus) Descriptor() protoreflect.EnumDescriptor
func (UploadSystemdServiceUnitsStatus) Enum ¶
func (x UploadSystemdServiceUnitsStatus) Enum() *UploadSystemdServiceUnitsStatus
func (UploadSystemdServiceUnitsStatus) EnumDescriptor
deprecated
func (UploadSystemdServiceUnitsStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use UploadSystemdServiceUnitsStatus.Descriptor instead.
func (UploadSystemdServiceUnitsStatus) Number ¶
func (x UploadSystemdServiceUnitsStatus) Number() protoreflect.EnumNumber
func (UploadSystemdServiceUnitsStatus) String ¶
func (x UploadSystemdServiceUnitsStatus) String() string
func (UploadSystemdServiceUnitsStatus) Type ¶
func (UploadSystemdServiceUnitsStatus) Type() protoreflect.EnumType