Documentation
¶
Index ¶
- Variables
- func RegisterDebugModeServer(s grpc.ServiceRegistrar, srv DebugModeServer)
- func RegisterSupportArchiveServer(s grpc.ServiceRegistrar, srv SupportArchiveServer)
- type Archive
- func (*Archive) Descriptor() ([]byte, []int)deprecated
- func (x *Archive) GetCreatedDateTime() *timestamppb.Timestamp
- func (x *Archive) GetName() string
- func (x *Archive) GetStatus() SupportArchiveStatus
- func (*Archive) ProtoMessage()
- func (x *Archive) ProtoReflect() protoreflect.Message
- func (x *Archive) Reset()
- func (x *Archive) String() string
- type ContentTimeframe
- func (*ContentTimeframe) Descriptor() ([]byte, []int)deprecated
- func (x *ContentTimeframe) GetEndDateTime() *timestamppb.Timestamp
- func (x *ContentTimeframe) GetStartDateTime() *timestamppb.Timestamp
- func (*ContentTimeframe) ProtoMessage()
- func (x *ContentTimeframe) ProtoReflect() protoreflect.Message
- func (x *ContentTimeframe) Reset()
- func (x *ContentTimeframe) String() string
- type CreateSupportArchiveRequest
- func (*CreateSupportArchiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSupportArchiveRequest) GetContentTimeframe() *ContentTimeframe
- func (x *CreateSupportArchiveRequest) GetExcludedContents() *ExcludedContents
- func (*CreateSupportArchiveRequest) ProtoMessage()
- func (x *CreateSupportArchiveRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSupportArchiveRequest) Reset()
- func (x *CreateSupportArchiveRequest) String() string
- type CreateSupportArchiveResponse
- func (*CreateSupportArchiveResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateSupportArchiveResponse) ProtoMessage()
- func (x *CreateSupportArchiveResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSupportArchiveResponse) Reset()
- func (x *CreateSupportArchiveResponse) String() string
- type DebugModeClient
- type DebugModeServer
- type DebugModeStatusResponse
- func (*DebugModeStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DebugModeStatusResponse) GetDisableAtTimestamp() int64
- func (x *DebugModeStatusResponse) GetIsEnabled() bool
- func (*DebugModeStatusResponse) ProtoMessage()
- func (x *DebugModeStatusResponse) ProtoReflect() protoreflect.Message
- func (x *DebugModeStatusResponse) Reset()
- func (x *DebugModeStatusResponse) String() string
- type DeleteSupportArchiveRequest
- func (*DeleteSupportArchiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSupportArchiveRequest) GetName() string
- func (*DeleteSupportArchiveRequest) ProtoMessage()
- func (x *DeleteSupportArchiveRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSupportArchiveRequest) Reset()
- func (x *DeleteSupportArchiveRequest) String() string
- type DeleteSupportArchiveResponse
- func (*DeleteSupportArchiveResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteSupportArchiveResponse) ProtoMessage()
- func (x *DeleteSupportArchiveResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSupportArchiveResponse) Reset()
- func (x *DeleteSupportArchiveResponse) String() string
- type DownloadSupportArchiveRequest
- func (*DownloadSupportArchiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadSupportArchiveRequest) GetName() string
- func (*DownloadSupportArchiveRequest) ProtoMessage()
- func (x *DownloadSupportArchiveRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadSupportArchiveRequest) Reset()
- func (x *DownloadSupportArchiveRequest) String() string
- type ExcludedContents
- func (*ExcludedContents) Descriptor() ([]byte, []int)deprecated
- func (x *ExcludedContents) GetEvents() bool
- func (x *ExcludedContents) GetLogs() bool
- func (x *ExcludedContents) GetSensitiveData() bool
- func (x *ExcludedContents) GetSystemInfo() bool
- func (x *ExcludedContents) GetSystemState() bool
- func (x *ExcludedContents) GetVolumeInfo() bool
- func (*ExcludedContents) ProtoMessage()
- func (x *ExcludedContents) ProtoReflect() protoreflect.Message
- func (x *ExcludedContents) Reset()
- func (x *ExcludedContents) String() string
- type GetAllSupportArchivesRequest
- func (*GetAllSupportArchivesRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAllSupportArchivesRequest) ProtoMessage()
- func (x *GetAllSupportArchivesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllSupportArchivesRequest) Reset()
- func (x *GetAllSupportArchivesRequest) String() string
- type GetAllSupportArchivesResponse
- func (*GetAllSupportArchivesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllSupportArchivesResponse) GetSupportArchives() []*Archive
- func (*GetAllSupportArchivesResponse) ProtoMessage()
- func (x *GetAllSupportArchivesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllSupportArchivesResponse) Reset()
- func (x *GetAllSupportArchivesResponse) String() string
- type LegacySupportArchiveRequest
- func (*LegacySupportArchiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LegacySupportArchiveRequest) GetCollectAptLog() bool
- func (x *LegacySupportArchiveRequest) GetCollectBackupWatcherLog() bool
- func (x *LegacySupportArchiveRequest) GetCollectCesappLog() bool
- func (x *LegacySupportArchiveRequest) GetCollectCesappdLog() bool
- func (x *LegacySupportArchiveRequest) GetCollectDoguStatusInformation() bool
- func (x *LegacySupportArchiveRequest) GetCollectEnvironment() bool
- func (x *LegacySupportArchiveRequest) GetCollectEtcd() bool
- func (x *LegacySupportArchiveRequest) GetCollectLogsFromTheseDogus() []string
- func (x *LegacySupportArchiveRequest) GetCollectOsInformation() bool
- func (x *LegacySupportArchiveRequest) GetCollectProcessInformation() bool
- func (x *LegacySupportArchiveRequest) GetCollectSyslog() bool
- func (x *LegacySupportArchiveRequest) GetCollectVolumeInformation() bool
- func (x *LegacySupportArchiveRequest) GetExcludedEtcdKeys() []string
- func (x *LegacySupportArchiveRequest) GetFailFast() bool
- func (*LegacySupportArchiveRequest) ProtoMessage()
- func (x *LegacySupportArchiveRequest) ProtoReflect() protoreflect.Message
- func (x *LegacySupportArchiveRequest) Reset()
- func (x *LegacySupportArchiveRequest) String() string
- type SupportArchiveClient
- type SupportArchiveServer
- type SupportArchiveStatus
- func (SupportArchiveStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SupportArchiveStatus) Enum() *SupportArchiveStatus
- func (SupportArchiveStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SupportArchiveStatus) Number() protoreflect.EnumNumber
- func (x SupportArchiveStatus) String() string
- func (SupportArchiveStatus) Type() protoreflect.EnumType
- type SupportArchive_DownloadSupportArchiveClient
- type SupportArchive_DownloadSupportArchiveServer
- type SupportArchive_LegacyCreateClient
- type SupportArchive_LegacyCreateServer
- type ToggleDebugModeRequest
- func (*ToggleDebugModeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleDebugModeRequest) GetTimer() int32
- func (x *ToggleDebugModeRequest) GetWithMaintenanceMode() bool
- func (*ToggleDebugModeRequest) ProtoMessage()
- func (x *ToggleDebugModeRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleDebugModeRequest) Reset()
- func (x *ToggleDebugModeRequest) String() string
- type UnimplementedDebugModeServer
- func (UnimplementedDebugModeServer) Disable(context.Context, *ToggleDebugModeRequest) (*types.BasicResponse, error)
- func (UnimplementedDebugModeServer) Enable(context.Context, *ToggleDebugModeRequest) (*types.BasicResponse, error)
- func (UnimplementedDebugModeServer) Status(context.Context, *types.BasicRequest) (*DebugModeStatusResponse, error)
- type UnimplementedSupportArchiveServer
- func (UnimplementedSupportArchiveServer) AllSupportArchives(context.Context, *GetAllSupportArchivesRequest) (*GetAllSupportArchivesResponse, error)
- func (UnimplementedSupportArchiveServer) Create(context.Context, *CreateSupportArchiveRequest) (*CreateSupportArchiveResponse, error)
- func (UnimplementedSupportArchiveServer) DeleteSupportArchive(context.Context, *DeleteSupportArchiveRequest) (*DeleteSupportArchiveResponse, error)
- func (UnimplementedSupportArchiveServer) DownloadSupportArchive(*DownloadSupportArchiveRequest, SupportArchive_DownloadSupportArchiveServer) error
- func (UnimplementedSupportArchiveServer) LegacyCreate(*LegacySupportArchiveRequest, SupportArchive_LegacyCreateServer) error
- type UnsafeDebugModeServer
- type UnsafeSupportArchiveServer
Constants ¶
This section is empty.
Variables ¶
var ( SupportArchiveStatus_name = map[int32]string{ 0: "SUPPORT_ARCHIVE_STATUS_UNSPECIFIED", 1: "SUPPORT_ARCHIVE_STATUS_CREATED", 2: "SUPPORT_ARCHIVE_STATUS_IN_PROGRESS", 3: "SUPPORT_ARCHIVE_STATUS_COMPLETED", 4: "SUPPORT_ARCHIVE_STATUS_FAILED", } SupportArchiveStatus_value = map[string]int32{ "SUPPORT_ARCHIVE_STATUS_UNSPECIFIED": 0, "SUPPORT_ARCHIVE_STATUS_CREATED": 1, "SUPPORT_ARCHIVE_STATUS_IN_PROGRESS": 2, "SUPPORT_ARCHIVE_STATUS_COMPLETED": 3, "SUPPORT_ARCHIVE_STATUS_FAILED": 4, } )
Enum value maps for SupportArchiveStatus.
var DebugMode_ServiceDesc = grpc.ServiceDesc{ ServiceName: "maintenance.DebugMode", HandlerType: (*DebugModeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Enable", Handler: _DebugMode_Enable_Handler, }, { MethodName: "Disable", Handler: _DebugMode_Disable_Handler, }, { MethodName: "Status", Handler: _DebugMode_Status_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "debug_mode.proto", }
DebugMode_ServiceDesc is the grpc.ServiceDesc for DebugMode service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_debug_mode_proto protoreflect.FileDescriptor
var File_support_archive_proto protoreflect.FileDescriptor
var SupportArchive_ServiceDesc = grpc.ServiceDesc{ ServiceName: "maintenance.SupportArchive", HandlerType: (*SupportArchiveServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _SupportArchive_Create_Handler, }, { MethodName: "AllSupportArchives", Handler: _SupportArchive_AllSupportArchives_Handler, }, { MethodName: "DeleteSupportArchive", Handler: _SupportArchive_DeleteSupportArchive_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "LegacyCreate", Handler: _SupportArchive_LegacyCreate_Handler, ServerStreams: true, }, { StreamName: "DownloadSupportArchive", Handler: _SupportArchive_DownloadSupportArchive_Handler, ServerStreams: true, }, }, Metadata: "support_archive.proto", }
SupportArchive_ServiceDesc is the grpc.ServiceDesc for SupportArchive service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDebugModeServer ¶
func RegisterDebugModeServer(s grpc.ServiceRegistrar, srv DebugModeServer)
func RegisterSupportArchiveServer ¶
func RegisterSupportArchiveServer(s grpc.ServiceRegistrar, srv SupportArchiveServer)
Types ¶
type Archive ¶ added in v1.7.0
type Archive struct {
// name contains the name of the support archive.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// created_date_time contains the time when the support archive was started.
CreatedDateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_date_time,json=createdDateTime,proto3" json:"created_date_time,omitempty"`
// status contains the current status of the support archive.
Status SupportArchiveStatus `protobuf:"varint,3,opt,name=status,proto3,enum=maintenance.SupportArchiveStatus" json:"status,omitempty"`
// contains filtered or unexported fields
}
Archive contains information about a support archive.
func (*Archive) Descriptor
deprecated
added in
v1.7.0
func (*Archive) GetCreatedDateTime ¶ added in v1.7.0
func (x *Archive) GetCreatedDateTime() *timestamppb.Timestamp
func (*Archive) GetStatus ¶ added in v1.7.0
func (x *Archive) GetStatus() SupportArchiveStatus
func (*Archive) ProtoMessage ¶ added in v1.7.0
func (*Archive) ProtoMessage()
func (*Archive) ProtoReflect ¶ added in v1.7.0
func (x *Archive) ProtoReflect() protoreflect.Message
type ContentTimeframe ¶ added in v1.5.0
type ContentTimeframe struct {
// start_date_time contains the start time for content collection.
StartDateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_date_time,json=startDateTime,proto3,oneof" json:"start_date_time,omitempty"`
// end_date_time contains the end time for content collection.
EndDateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_date_time,json=endDateTime,proto3,oneof" json:"end_date_time,omitempty"`
// contains filtered or unexported fields
}
ContentTimeframe contains the timeframe for which content should be collected.
func (*ContentTimeframe) Descriptor
deprecated
added in
v1.5.0
func (*ContentTimeframe) Descriptor() ([]byte, []int)
Deprecated: Use ContentTimeframe.ProtoReflect.Descriptor instead.
func (*ContentTimeframe) GetEndDateTime ¶ added in v1.5.0
func (x *ContentTimeframe) GetEndDateTime() *timestamppb.Timestamp
func (*ContentTimeframe) GetStartDateTime ¶ added in v1.5.0
func (x *ContentTimeframe) GetStartDateTime() *timestamppb.Timestamp
func (*ContentTimeframe) ProtoMessage ¶ added in v1.5.0
func (*ContentTimeframe) ProtoMessage()
func (*ContentTimeframe) ProtoReflect ¶ added in v1.5.0
func (x *ContentTimeframe) ProtoReflect() protoreflect.Message
func (*ContentTimeframe) Reset ¶ added in v1.5.0
func (x *ContentTimeframe) Reset()
func (*ContentTimeframe) String ¶ added in v1.5.0
func (x *ContentTimeframe) String() string
type CreateSupportArchiveRequest ¶
type CreateSupportArchiveRequest struct {
// excluded_contents contains the contents which should be excluded from the archive.
ExcludedContents *ExcludedContents `protobuf:"bytes,1,opt,name=excluded_contents,json=excludedContents,proto3" json:"excluded_contents,omitempty"`
// content_timeframe contains the timeframe for which content should be collected.
ContentTimeframe *ContentTimeframe `protobuf:"bytes,2,opt,name=content_timeframe,json=contentTimeframe,proto3" json:"content_timeframe,omitempty"`
// contains filtered or unexported fields
}
CreateSupportArchiveRequest contains the data which are used to create a support archive.
func (*CreateSupportArchiveRequest) Descriptor
deprecated
func (*CreateSupportArchiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSupportArchiveRequest.ProtoReflect.Descriptor instead.
func (*CreateSupportArchiveRequest) GetContentTimeframe ¶ added in v1.7.0
func (x *CreateSupportArchiveRequest) GetContentTimeframe() *ContentTimeframe
func (*CreateSupportArchiveRequest) GetExcludedContents ¶ added in v1.7.0
func (x *CreateSupportArchiveRequest) GetExcludedContents() *ExcludedContents
func (*CreateSupportArchiveRequest) ProtoMessage ¶
func (*CreateSupportArchiveRequest) ProtoMessage()
func (*CreateSupportArchiveRequest) ProtoReflect ¶
func (x *CreateSupportArchiveRequest) ProtoReflect() protoreflect.Message
func (*CreateSupportArchiveRequest) Reset ¶
func (x *CreateSupportArchiveRequest) Reset()
func (*CreateSupportArchiveRequest) String ¶
func (x *CreateSupportArchiveRequest) String() string
type CreateSupportArchiveResponse ¶ added in v1.7.0
type CreateSupportArchiveResponse struct {
// contains filtered or unexported fields
}
CreateSupportArchiveResponse contains the result of creating a support archive.
func (*CreateSupportArchiveResponse) Descriptor
deprecated
added in
v1.7.0
func (*CreateSupportArchiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSupportArchiveResponse.ProtoReflect.Descriptor instead.
func (*CreateSupportArchiveResponse) ProtoMessage ¶ added in v1.7.0
func (*CreateSupportArchiveResponse) ProtoMessage()
func (*CreateSupportArchiveResponse) ProtoReflect ¶ added in v1.7.0
func (x *CreateSupportArchiveResponse) ProtoReflect() protoreflect.Message
func (*CreateSupportArchiveResponse) Reset ¶ added in v1.7.0
func (x *CreateSupportArchiveResponse) Reset()
func (*CreateSupportArchiveResponse) String ¶ added in v1.7.0
func (x *CreateSupportArchiveResponse) String() string
type DebugModeClient ¶
type DebugModeClient interface {
Enable(ctx context.Context, in *ToggleDebugModeRequest, opts ...grpc.CallOption) (*types.BasicResponse, error)
Disable(ctx context.Context, in *ToggleDebugModeRequest, opts ...grpc.CallOption) (*types.BasicResponse, error)
Status(ctx context.Context, in *types.BasicRequest, opts ...grpc.CallOption) (*DebugModeStatusResponse, error)
}
DebugModeClient is the client API for DebugMode 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 NewDebugModeClient ¶
func NewDebugModeClient(cc grpc.ClientConnInterface) DebugModeClient
type DebugModeServer ¶
type DebugModeServer interface {
Enable(context.Context, *ToggleDebugModeRequest) (*types.BasicResponse, error)
Disable(context.Context, *ToggleDebugModeRequest) (*types.BasicResponse, error)
Status(context.Context, *types.BasicRequest) (*DebugModeStatusResponse, error)
// contains filtered or unexported methods
}
DebugModeServer is the server API for DebugMode service. All implementations must embed UnimplementedDebugModeServer for forward compatibility
type DebugModeStatusResponse ¶
type DebugModeStatusResponse struct {
IsEnabled bool `protobuf:"varint,1,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
DisableAtTimestamp int64 `protobuf:"varint,2,opt,name=disable_at_timestamp,json=disableAtTimestamp,proto3" json:"disable_at_timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*DebugModeStatusResponse) Descriptor
deprecated
func (*DebugModeStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugModeStatusResponse.ProtoReflect.Descriptor instead.
func (*DebugModeStatusResponse) GetDisableAtTimestamp ¶
func (x *DebugModeStatusResponse) GetDisableAtTimestamp() int64
func (*DebugModeStatusResponse) GetIsEnabled ¶
func (x *DebugModeStatusResponse) GetIsEnabled() bool
func (*DebugModeStatusResponse) ProtoMessage ¶
func (*DebugModeStatusResponse) ProtoMessage()
func (*DebugModeStatusResponse) ProtoReflect ¶
func (x *DebugModeStatusResponse) ProtoReflect() protoreflect.Message
func (*DebugModeStatusResponse) Reset ¶
func (x *DebugModeStatusResponse) Reset()
func (*DebugModeStatusResponse) String ¶
func (x *DebugModeStatusResponse) String() string
type DeleteSupportArchiveRequest ¶ added in v1.7.0
type DeleteSupportArchiveRequest struct {
// name contains the name of the support archive to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DeleteSupportArchiveRequest contains the data which are used to delete a support archive.
func (*DeleteSupportArchiveRequest) Descriptor
deprecated
added in
v1.7.0
func (*DeleteSupportArchiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSupportArchiveRequest.ProtoReflect.Descriptor instead.
func (*DeleteSupportArchiveRequest) GetName ¶ added in v1.7.0
func (x *DeleteSupportArchiveRequest) GetName() string
func (*DeleteSupportArchiveRequest) ProtoMessage ¶ added in v1.7.0
func (*DeleteSupportArchiveRequest) ProtoMessage()
func (*DeleteSupportArchiveRequest) ProtoReflect ¶ added in v1.7.0
func (x *DeleteSupportArchiveRequest) ProtoReflect() protoreflect.Message
func (*DeleteSupportArchiveRequest) Reset ¶ added in v1.7.0
func (x *DeleteSupportArchiveRequest) Reset()
func (*DeleteSupportArchiveRequest) String ¶ added in v1.7.0
func (x *DeleteSupportArchiveRequest) String() string
type DeleteSupportArchiveResponse ¶ added in v1.7.0
type DeleteSupportArchiveResponse struct {
// contains filtered or unexported fields
}
DeleteSupportArchiveResponse contains the result of deleting a support archive.
func (*DeleteSupportArchiveResponse) Descriptor
deprecated
added in
v1.7.0
func (*DeleteSupportArchiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSupportArchiveResponse.ProtoReflect.Descriptor instead.
func (*DeleteSupportArchiveResponse) ProtoMessage ¶ added in v1.7.0
func (*DeleteSupportArchiveResponse) ProtoMessage()
func (*DeleteSupportArchiveResponse) ProtoReflect ¶ added in v1.7.0
func (x *DeleteSupportArchiveResponse) ProtoReflect() protoreflect.Message
func (*DeleteSupportArchiveResponse) Reset ¶ added in v1.7.0
func (x *DeleteSupportArchiveResponse) Reset()
func (*DeleteSupportArchiveResponse) String ¶ added in v1.7.0
func (x *DeleteSupportArchiveResponse) String() string
type DownloadSupportArchiveRequest ¶ added in v1.7.0
type DownloadSupportArchiveRequest struct {
// name contains the name of the support archive to download.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DownloadSupportArchiveRequest contains the data which are used to download a support archive.
func (*DownloadSupportArchiveRequest) Descriptor
deprecated
added in
v1.7.0
func (*DownloadSupportArchiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadSupportArchiveRequest.ProtoReflect.Descriptor instead.
func (*DownloadSupportArchiveRequest) GetName ¶ added in v1.7.0
func (x *DownloadSupportArchiveRequest) GetName() string
func (*DownloadSupportArchiveRequest) ProtoMessage ¶ added in v1.7.0
func (*DownloadSupportArchiveRequest) ProtoMessage()
func (*DownloadSupportArchiveRequest) ProtoReflect ¶ added in v1.7.0
func (x *DownloadSupportArchiveRequest) ProtoReflect() protoreflect.Message
func (*DownloadSupportArchiveRequest) Reset ¶ added in v1.7.0
func (x *DownloadSupportArchiveRequest) Reset()
func (*DownloadSupportArchiveRequest) String ¶ added in v1.7.0
func (x *DownloadSupportArchiveRequest) String() string
type ExcludedContents ¶ added in v1.5.0
type ExcludedContents struct {
// system_state indicates whether system state information should be excluded from the archive.
SystemState bool `protobuf:"varint,1,opt,name=system_state,json=systemState,proto3" json:"system_state,omitempty"`
// sensitive_data indicates whether sensitive data should be excluded from the archive.
SensitiveData bool `protobuf:"varint,2,opt,name=sensitive_data,json=sensitiveData,proto3" json:"sensitive_data,omitempty"`
// logs indicates whether logs should be excluded from the archive.
Logs bool `protobuf:"varint,3,opt,name=logs,proto3" json:"logs,omitempty"`
// events indicates whether events should be excluded from the archive.
Events bool `protobuf:"varint,4,opt,name=events,proto3" json:"events,omitempty"`
// volume_info indicates whether volume information should be excluded from the archive.
VolumeInfo bool `protobuf:"varint,5,opt,name=volume_info,json=volumeInfo,proto3" json:"volume_info,omitempty"`
// system_info indicates whether system information should be excluded from the archive.
SystemInfo bool `protobuf:"varint,6,opt,name=system_info,json=systemInfo,proto3" json:"system_info,omitempty"`
// contains filtered or unexported fields
}
ExcludedContents contains flags for content types that should be excluded from the support archive.
func (*ExcludedContents) Descriptor
deprecated
added in
v1.5.0
func (*ExcludedContents) Descriptor() ([]byte, []int)
Deprecated: Use ExcludedContents.ProtoReflect.Descriptor instead.
func (*ExcludedContents) GetEvents ¶ added in v1.5.0
func (x *ExcludedContents) GetEvents() bool
func (*ExcludedContents) GetLogs ¶ added in v1.5.0
func (x *ExcludedContents) GetLogs() bool
func (*ExcludedContents) GetSensitiveData ¶ added in v1.5.0
func (x *ExcludedContents) GetSensitiveData() bool
func (*ExcludedContents) GetSystemInfo ¶ added in v1.5.0
func (x *ExcludedContents) GetSystemInfo() bool
func (*ExcludedContents) GetSystemState ¶ added in v1.5.0
func (x *ExcludedContents) GetSystemState() bool
func (*ExcludedContents) GetVolumeInfo ¶ added in v1.5.0
func (x *ExcludedContents) GetVolumeInfo() bool
func (*ExcludedContents) ProtoMessage ¶ added in v1.5.0
func (*ExcludedContents) ProtoMessage()
func (*ExcludedContents) ProtoReflect ¶ added in v1.5.0
func (x *ExcludedContents) ProtoReflect() protoreflect.Message
func (*ExcludedContents) Reset ¶ added in v1.5.0
func (x *ExcludedContents) Reset()
func (*ExcludedContents) String ¶ added in v1.5.0
func (x *ExcludedContents) String() string
type GetAllSupportArchivesRequest ¶ added in v1.7.0
type GetAllSupportArchivesRequest struct {
// contains filtered or unexported fields
}
GetAllSupportArchivesRequest contains the data which are used to retrieve all support archives.
func (*GetAllSupportArchivesRequest) Descriptor
deprecated
added in
v1.7.0
func (*GetAllSupportArchivesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllSupportArchivesRequest.ProtoReflect.Descriptor instead.
func (*GetAllSupportArchivesRequest) ProtoMessage ¶ added in v1.7.0
func (*GetAllSupportArchivesRequest) ProtoMessage()
func (*GetAllSupportArchivesRequest) ProtoReflect ¶ added in v1.7.0
func (x *GetAllSupportArchivesRequest) ProtoReflect() protoreflect.Message
func (*GetAllSupportArchivesRequest) Reset ¶ added in v1.7.0
func (x *GetAllSupportArchivesRequest) Reset()
func (*GetAllSupportArchivesRequest) String ¶ added in v1.7.0
func (x *GetAllSupportArchivesRequest) String() string
type GetAllSupportArchivesResponse ¶ added in v1.7.0
type GetAllSupportArchivesResponse struct {
// support_archives contains a list of all support archives.
SupportArchives []*Archive `protobuf:"bytes,1,rep,name=support_archives,json=supportArchives,proto3" json:"support_archives,omitempty"`
// contains filtered or unexported fields
}
GetAllSupportArchivesResponse contains all support archives in the system.
func (*GetAllSupportArchivesResponse) Descriptor
deprecated
added in
v1.7.0
func (*GetAllSupportArchivesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllSupportArchivesResponse.ProtoReflect.Descriptor instead.
func (*GetAllSupportArchivesResponse) GetSupportArchives ¶ added in v1.7.0
func (x *GetAllSupportArchivesResponse) GetSupportArchives() []*Archive
func (*GetAllSupportArchivesResponse) ProtoMessage ¶ added in v1.7.0
func (*GetAllSupportArchivesResponse) ProtoMessage()
func (*GetAllSupportArchivesResponse) ProtoReflect ¶ added in v1.7.0
func (x *GetAllSupportArchivesResponse) ProtoReflect() protoreflect.Message
func (*GetAllSupportArchivesResponse) Reset ¶ added in v1.7.0
func (x *GetAllSupportArchivesResponse) Reset()
func (*GetAllSupportArchivesResponse) String ¶ added in v1.7.0
func (x *GetAllSupportArchivesResponse) String() string
type LegacySupportArchiveRequest ¶ added in v1.5.0
type LegacySupportArchiveRequest struct {
// CollectEtcd defines whether etcd keys/values should be contained in the final archive (true) or nor (false)
CollectEtcd bool `protobuf:"varint,1,opt,name=collect_etcd,json=collectEtcd,proto3" json:"collect_etcd,omitempty"`
// CollectOsInformation defines whether information about soft- and hardware should be contained
// in the final archive (true) or nor (false)
CollectOsInformation bool `protobuf:"varint,2,opt,name=collect_os_information,json=collectOsInformation,proto3" json:"collect_os_information,omitempty"`
// CollectEnvironment defines whether the environment variables should be contained
// in the final archive (true) or nor (false)
CollectEnvironment bool `protobuf:"varint,3,opt,name=collect_environment,json=collectEnvironment,proto3" json:"collect_environment,omitempty"`
// CollectDoguStatusInformation defines whether information about installed dogus should be contained
// in the final archive (true) or nor (false)
CollectDoguStatusInformation bool `` /* 150-byte string literal not displayed */
// CollectProcessInformation defines whether the Process and service status should be contained
// in the final archive (true) or nor (false)
CollectProcessInformation bool `` /* 139-byte string literal not displayed */
// CollectVolumeInformation defines whether the volume information should be contained
// in the final archive (true) or nor (false)
CollectVolumeInformation bool `` /* 136-byte string literal not displayed */
// ExcludedEtcdKeys is a list of etcd keys which should not be included in the final archive.
ExcludedEtcdKeys []string `protobuf:"bytes,7,rep,name=excluded_etcd_keys,json=excludedEtcdKeys,proto3" json:"excluded_etcd_keys,omitempty"`
// FailFast defines whether the archive collection should fail at the first error (true) or not (false).
FailFast bool `protobuf:"varint,8,opt,name=fail_fast,json=failFast,proto3" json:"fail_fast,omitempty"`
// CollectLogsFromTheseDogus must be a list of dogus. Only the logs of these dogus are collected
// all other dogu logs are skipped
// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
CollectLogsFromTheseDogus []string `` /* 142-byte string literal not displayed */
// CollectCesappLog defines whether the cesapp logfile should be collected (true) or not (false).
CollectCesappLog bool `protobuf:"varint,10,opt,name=collect_cesapp_log,json=collectCesappLog,proto3" json:"collect_cesapp_log,omitempty"`
// CollectCesappdLog defines whether the cesappd logfile should be collected (true) or not (false).
CollectCesappdLog bool `protobuf:"varint,11,opt,name=collect_cesappd_log,json=collectCesappdLog,proto3" json:"collect_cesappd_log,omitempty"`
// CollectSyslog defines whether the syslog logfile should be collected (true) or not (false).
CollectSyslog bool `protobuf:"varint,12,opt,name=collect_syslog,json=collectSyslog,proto3" json:"collect_syslog,omitempty"`
// CollectAptLog defines whether the apt logfiles should be collected (true) or not (false).
CollectAptLog bool `protobuf:"varint,13,opt,name=collect_apt_log,json=collectAptLog,proto3" json:"collect_apt_log,omitempty"`
// CollectBackupWatcherLog defines whether the backup-watcher logfile should be collected (true) or not (false).
CollectBackupWatcherLog bool `` /* 136-byte string literal not displayed */
// contains filtered or unexported fields
}
LegacySupportArchiveRequest contains the data which are used to create a support archive (deprecated, use CreateSupportArchiveRequest instead).
func (*LegacySupportArchiveRequest) Descriptor
deprecated
added in
v1.5.0
func (*LegacySupportArchiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use LegacySupportArchiveRequest.ProtoReflect.Descriptor instead.
func (*LegacySupportArchiveRequest) GetCollectAptLog ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectAptLog() bool
func (*LegacySupportArchiveRequest) GetCollectBackupWatcherLog ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectBackupWatcherLog() bool
func (*LegacySupportArchiveRequest) GetCollectCesappLog ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectCesappLog() bool
func (*LegacySupportArchiveRequest) GetCollectCesappdLog ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectCesappdLog() bool
func (*LegacySupportArchiveRequest) GetCollectDoguStatusInformation ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectDoguStatusInformation() bool
func (*LegacySupportArchiveRequest) GetCollectEnvironment ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectEnvironment() bool
func (*LegacySupportArchiveRequest) GetCollectEtcd ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectEtcd() bool
func (*LegacySupportArchiveRequest) GetCollectLogsFromTheseDogus ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectLogsFromTheseDogus() []string
func (*LegacySupportArchiveRequest) GetCollectOsInformation ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectOsInformation() bool
func (*LegacySupportArchiveRequest) GetCollectProcessInformation ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectProcessInformation() bool
func (*LegacySupportArchiveRequest) GetCollectSyslog ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectSyslog() bool
func (*LegacySupportArchiveRequest) GetCollectVolumeInformation ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetCollectVolumeInformation() bool
func (*LegacySupportArchiveRequest) GetExcludedEtcdKeys ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetExcludedEtcdKeys() []string
func (*LegacySupportArchiveRequest) GetFailFast ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) GetFailFast() bool
func (*LegacySupportArchiveRequest) ProtoMessage ¶ added in v1.5.0
func (*LegacySupportArchiveRequest) ProtoMessage()
func (*LegacySupportArchiveRequest) ProtoReflect ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) ProtoReflect() protoreflect.Message
func (*LegacySupportArchiveRequest) Reset ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) Reset()
func (*LegacySupportArchiveRequest) String ¶ added in v1.5.0
func (x *LegacySupportArchiveRequest) String() string
type SupportArchiveClient ¶
type SupportArchiveClient interface {
// Deprecated: Do not use.
// LegacyCreate creates a support archive and streams it back (deprecated, use Create instead).
LegacyCreate(ctx context.Context, in *LegacySupportArchiveRequest, opts ...grpc.CallOption) (SupportArchive_LegacyCreateClient, error)
// Create creates a support archive asynchronously.
Create(ctx context.Context, in *CreateSupportArchiveRequest, opts ...grpc.CallOption) (*CreateSupportArchiveResponse, error)
// AllSupportArchives retrieves all support archives in the system.
AllSupportArchives(ctx context.Context, in *GetAllSupportArchivesRequest, opts ...grpc.CallOption) (*GetAllSupportArchivesResponse, error)
// DeleteSupportArchive deletes a support archive.
DeleteSupportArchive(ctx context.Context, in *DeleteSupportArchiveRequest, opts ...grpc.CallOption) (*DeleteSupportArchiveResponse, error)
// DownloadSupportArchive downloads a support archive and streams it back.
DownloadSupportArchive(ctx context.Context, in *DownloadSupportArchiveRequest, opts ...grpc.CallOption) (SupportArchive_DownloadSupportArchiveClient, error)
}
SupportArchiveClient is the client API for SupportArchive 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 NewSupportArchiveClient ¶
func NewSupportArchiveClient(cc grpc.ClientConnInterface) SupportArchiveClient
type SupportArchiveServer ¶
type SupportArchiveServer interface {
// Deprecated: Do not use.
// LegacyCreate creates a support archive and streams it back (deprecated, use Create instead).
LegacyCreate(*LegacySupportArchiveRequest, SupportArchive_LegacyCreateServer) error
// Create creates a support archive asynchronously.
Create(context.Context, *CreateSupportArchiveRequest) (*CreateSupportArchiveResponse, error)
// AllSupportArchives retrieves all support archives in the system.
AllSupportArchives(context.Context, *GetAllSupportArchivesRequest) (*GetAllSupportArchivesResponse, error)
// DeleteSupportArchive deletes a support archive.
DeleteSupportArchive(context.Context, *DeleteSupportArchiveRequest) (*DeleteSupportArchiveResponse, error)
// DownloadSupportArchive downloads a support archive and streams it back.
DownloadSupportArchive(*DownloadSupportArchiveRequest, SupportArchive_DownloadSupportArchiveServer) error
// contains filtered or unexported methods
}
SupportArchiveServer is the server API for SupportArchive service. All implementations must embed UnimplementedSupportArchiveServer for forward compatibility
type SupportArchiveStatus ¶ added in v1.7.0
type SupportArchiveStatus int32
SupportArchiveStatus defines the available support archive statuses.
const ( // SUPPORT_ARCHIVE_STATUS_UNSPECIFIED indicates an unspecified status. SupportArchiveStatus_SUPPORT_ARCHIVE_STATUS_UNSPECIFIED SupportArchiveStatus = 0 // SUPPORT_ARCHIVE_STATUS_CREATED indicates that the support archive has been created. SupportArchiveStatus_SUPPORT_ARCHIVE_STATUS_CREATED SupportArchiveStatus = 1 // SUPPORT_ARCHIVE_STATUS_IN_PROGRESS indicates that the support archive creation is in progress. SupportArchiveStatus_SUPPORT_ARCHIVE_STATUS_IN_PROGRESS SupportArchiveStatus = 2 // SUPPORT_ARCHIVE_STATUS_COMPLETED indicates that the support archive creation has been completed. SupportArchiveStatus_SUPPORT_ARCHIVE_STATUS_COMPLETED SupportArchiveStatus = 3 // SUPPORT_ARCHIVE_STATUS_FAILED indicates that the support archive creation has failed. SupportArchiveStatus_SUPPORT_ARCHIVE_STATUS_FAILED SupportArchiveStatus = 4 )
func (SupportArchiveStatus) Descriptor ¶ added in v1.7.0
func (SupportArchiveStatus) Descriptor() protoreflect.EnumDescriptor
func (SupportArchiveStatus) Enum ¶ added in v1.7.0
func (x SupportArchiveStatus) Enum() *SupportArchiveStatus
func (SupportArchiveStatus) EnumDescriptor
deprecated
added in
v1.7.0
func (SupportArchiveStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SupportArchiveStatus.Descriptor instead.
func (SupportArchiveStatus) Number ¶ added in v1.7.0
func (x SupportArchiveStatus) Number() protoreflect.EnumNumber
func (SupportArchiveStatus) String ¶ added in v1.7.0
func (x SupportArchiveStatus) String() string
func (SupportArchiveStatus) Type ¶ added in v1.7.0
func (SupportArchiveStatus) Type() protoreflect.EnumType
type SupportArchive_DownloadSupportArchiveClient ¶ added in v1.7.0
type SupportArchive_DownloadSupportArchiveClient interface {
Recv() (*types.ChunkedDataResponse, error)
grpc.ClientStream
}
type SupportArchive_DownloadSupportArchiveServer ¶ added in v1.7.0
type SupportArchive_DownloadSupportArchiveServer interface {
Send(*types.ChunkedDataResponse) error
grpc.ServerStream
}
type SupportArchive_LegacyCreateClient ¶ added in v1.7.0
type SupportArchive_LegacyCreateClient interface {
Recv() (*types.ChunkedDataResponse, error)
grpc.ClientStream
}
type SupportArchive_LegacyCreateServer ¶ added in v1.7.0
type SupportArchive_LegacyCreateServer interface {
Send(*types.ChunkedDataResponse) error
grpc.ServerStream
}
type ToggleDebugModeRequest ¶
type ToggleDebugModeRequest struct {
WithMaintenanceMode bool `protobuf:"varint,1,opt,name=with_maintenance_mode,json=withMaintenanceMode,proto3" json:"with_maintenance_mode,omitempty"`
Timer int32 `protobuf:"varint,2,opt,name=timer,proto3" json:"timer,omitempty"`
// contains filtered or unexported fields
}
func (*ToggleDebugModeRequest) Descriptor
deprecated
func (*ToggleDebugModeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleDebugModeRequest.ProtoReflect.Descriptor instead.
func (*ToggleDebugModeRequest) GetTimer ¶
func (x *ToggleDebugModeRequest) GetTimer() int32
func (*ToggleDebugModeRequest) GetWithMaintenanceMode ¶
func (x *ToggleDebugModeRequest) GetWithMaintenanceMode() bool
func (*ToggleDebugModeRequest) ProtoMessage ¶
func (*ToggleDebugModeRequest) ProtoMessage()
func (*ToggleDebugModeRequest) ProtoReflect ¶
func (x *ToggleDebugModeRequest) ProtoReflect() protoreflect.Message
func (*ToggleDebugModeRequest) Reset ¶
func (x *ToggleDebugModeRequest) Reset()
func (*ToggleDebugModeRequest) String ¶
func (x *ToggleDebugModeRequest) String() string
type UnimplementedDebugModeServer ¶
type UnimplementedDebugModeServer struct {
}
UnimplementedDebugModeServer must be embedded to have forward compatible implementations.
func (UnimplementedDebugModeServer) Disable ¶
func (UnimplementedDebugModeServer) Disable(context.Context, *ToggleDebugModeRequest) (*types.BasicResponse, error)
func (UnimplementedDebugModeServer) Enable ¶
func (UnimplementedDebugModeServer) Enable(context.Context, *ToggleDebugModeRequest) (*types.BasicResponse, error)
func (UnimplementedDebugModeServer) Status ¶
func (UnimplementedDebugModeServer) Status(context.Context, *types.BasicRequest) (*DebugModeStatusResponse, error)
type UnimplementedSupportArchiveServer ¶
type UnimplementedSupportArchiveServer struct {
}
UnimplementedSupportArchiveServer must be embedded to have forward compatible implementations.
func (UnimplementedSupportArchiveServer) AllSupportArchives ¶ added in v1.7.0
func (UnimplementedSupportArchiveServer) AllSupportArchives(context.Context, *GetAllSupportArchivesRequest) (*GetAllSupportArchivesResponse, error)
func (UnimplementedSupportArchiveServer) DeleteSupportArchive ¶ added in v1.7.0
func (UnimplementedSupportArchiveServer) DeleteSupportArchive(context.Context, *DeleteSupportArchiveRequest) (*DeleteSupportArchiveResponse, error)
func (UnimplementedSupportArchiveServer) DownloadSupportArchive ¶ added in v1.7.0
func (UnimplementedSupportArchiveServer) DownloadSupportArchive(*DownloadSupportArchiveRequest, SupportArchive_DownloadSupportArchiveServer) error
func (UnimplementedSupportArchiveServer) LegacyCreate ¶ added in v1.7.0
func (UnimplementedSupportArchiveServer) LegacyCreate(*LegacySupportArchiveRequest, SupportArchive_LegacyCreateServer) error
type UnsafeDebugModeServer ¶
type UnsafeDebugModeServer interface {
// contains filtered or unexported methods
}
UnsafeDebugModeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DebugModeServer will result in compilation errors.
type UnsafeSupportArchiveServer ¶
type UnsafeSupportArchiveServer interface {
// contains filtered or unexported methods
}
UnsafeSupportArchiveServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SupportArchiveServer will result in compilation errors.