maintenance

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2025 License: AGPL-3.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
var File_debug_mode_proto protoreflect.FileDescriptor
View Source
var File_support_archive_proto protoreflect.FileDescriptor
View Source
var SupportArchive_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "maintenance.SupportArchive",
	HandlerType: (*SupportArchiveServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Create",
			Handler:       _SupportArchive_Create_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 CommonSupportArchiveRequest added in v1.5.0

type CommonSupportArchiveRequest struct {
	ExcludedContents *ExcludedContents `protobuf:"bytes,1,opt,name=excluded_contents,json=excludedContents,proto3" json:"excluded_contents,omitempty"`
	ContentTimeframe *ContentTimeframe `protobuf:"bytes,2,opt,name=content_timeframe,json=contentTimeframe,proto3" json:"content_timeframe,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonSupportArchiveRequest) Descriptor deprecated added in v1.5.0

func (*CommonSupportArchiveRequest) Descriptor() ([]byte, []int)

Deprecated: Use CommonSupportArchiveRequest.ProtoReflect.Descriptor instead.

func (*CommonSupportArchiveRequest) GetContentTimeframe added in v1.5.0

func (x *CommonSupportArchiveRequest) GetContentTimeframe() *ContentTimeframe

func (*CommonSupportArchiveRequest) GetExcludedContents added in v1.5.0

func (x *CommonSupportArchiveRequest) GetExcludedContents() *ExcludedContents

func (*CommonSupportArchiveRequest) ProtoMessage added in v1.5.0

func (*CommonSupportArchiveRequest) ProtoMessage()

func (*CommonSupportArchiveRequest) ProtoReflect added in v1.5.0

func (*CommonSupportArchiveRequest) Reset added in v1.5.0

func (x *CommonSupportArchiveRequest) Reset()

func (*CommonSupportArchiveRequest) String added in v1.5.0

func (x *CommonSupportArchiveRequest) String() string

type ContentTimeframe added in v1.5.0

type ContentTimeframe struct {
	StartDateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_date_time,json=startDateTime,proto3,oneof" json:"start_date_time,omitempty"`
	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
}

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 {

	// Types that are assignable to Environment:
	//
	//	*CreateSupportArchiveRequest_Legacy
	//	*CreateSupportArchiveRequest_Common
	Environment isCreateSupportArchiveRequest_Environment `protobuf_oneof:"environment"`
	// contains filtered or unexported fields
}

func (*CreateSupportArchiveRequest) Descriptor deprecated

func (*CreateSupportArchiveRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSupportArchiveRequest.ProtoReflect.Descriptor instead.

func (*CreateSupportArchiveRequest) GetCommon added in v1.5.0

func (*CreateSupportArchiveRequest) GetEnvironment added in v1.5.0

func (m *CreateSupportArchiveRequest) GetEnvironment() isCreateSupportArchiveRequest_Environment

func (*CreateSupportArchiveRequest) GetLegacy deprecated added in v1.5.0

Deprecated: Do not use.

func (*CreateSupportArchiveRequest) ProtoMessage

func (*CreateSupportArchiveRequest) ProtoMessage()

func (*CreateSupportArchiveRequest) ProtoReflect

func (*CreateSupportArchiveRequest) Reset

func (x *CreateSupportArchiveRequest) Reset()

func (*CreateSupportArchiveRequest) String

func (x *CreateSupportArchiveRequest) String() string

type CreateSupportArchiveRequest_Common added in v1.5.0

type CreateSupportArchiveRequest_Common struct {
	Common *CommonSupportArchiveRequest `protobuf:"bytes,2,opt,name=common,proto3,oneof"`
}

type CreateSupportArchiveRequest_Legacy added in v1.5.0

type CreateSupportArchiveRequest_Legacy struct {
	// Deprecated: Do not use.
	Legacy *LegacySupportArchiveRequest `protobuf:"bytes,1,opt,name=legacy,proto3,oneof"`
}

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 ExcludedContents added in v1.5.0

type ExcludedContents struct {
	SystemState   bool `protobuf:"varint,1,opt,name=system_state,json=systemState,proto3" json:"system_state,omitempty"`
	SensitiveData bool `protobuf:"varint,2,opt,name=sensitive_data,json=sensitiveData,proto3" json:"sensitive_data,omitempty"`
	Logs          bool `protobuf:"varint,3,opt,name=logs,proto3" json:"logs,omitempty"`
	Events        bool `protobuf:"varint,4,opt,name=events,proto3" json:"events,omitempty"`
	VolumeInfo    bool `protobuf:"varint,5,opt,name=volume_info,json=volumeInfo,proto3" json:"volume_info,omitempty"`
	SystemInfo    bool `protobuf:"varint,6,opt,name=system_info,json=systemInfo,proto3" json:"system_info,omitempty"`
	// contains filtered or unexported fields
}

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 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
}

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 (*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 {
	Create(ctx context.Context, in *CreateSupportArchiveRequest, opts ...grpc.CallOption) (SupportArchive_CreateClient, 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.

type SupportArchiveServer

type SupportArchiveServer interface {
	Create(*CreateSupportArchiveRequest, SupportArchive_CreateServer) error
	// contains filtered or unexported methods
}

SupportArchiveServer is the server API for SupportArchive service. All implementations must embed UnimplementedSupportArchiveServer for forward compatibility

type SupportArchive_CreateClient

type SupportArchive_CreateClient interface {
	Recv() (*types.ChunkedDataResponse, error)
	grpc.ClientStream
}

type SupportArchive_CreateServer

type SupportArchive_CreateServer 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) Enable

func (UnimplementedDebugModeServer) Status

type UnimplementedSupportArchiveServer

type UnimplementedSupportArchiveServer struct {
}

UnimplementedSupportArchiveServer must be embedded to have forward compatible implementations.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL