v1

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Authentication_Login_FullMethodName        = "/v1.Authentication/Login"
	Authentication_HashPassword_FullMethodName = "/v1.Authentication/HashPassword"
)
View Source
const (
	Backrest_GetConfig_FullMethodName           = "/v1.Backrest/GetConfig"
	Backrest_SetConfig_FullMethodName           = "/v1.Backrest/SetConfig"
	Backrest_AddRepo_FullMethodName             = "/v1.Backrest/AddRepo"
	Backrest_GetOperationEvents_FullMethodName  = "/v1.Backrest/GetOperationEvents"
	Backrest_GetOperations_FullMethodName       = "/v1.Backrest/GetOperations"
	Backrest_ListSnapshots_FullMethodName       = "/v1.Backrest/ListSnapshots"
	Backrest_ListSnapshotFiles_FullMethodName   = "/v1.Backrest/ListSnapshotFiles"
	Backrest_Backup_FullMethodName              = "/v1.Backrest/Backup"
	Backrest_DoRepoTask_FullMethodName          = "/v1.Backrest/DoRepoTask"
	Backrest_Forget_FullMethodName              = "/v1.Backrest/Forget"
	Backrest_Restore_FullMethodName             = "/v1.Backrest/Restore"
	Backrest_Cancel_FullMethodName              = "/v1.Backrest/Cancel"
	Backrest_GetLogs_FullMethodName             = "/v1.Backrest/GetLogs"
	Backrest_RunCommand_FullMethodName          = "/v1.Backrest/RunCommand"
	Backrest_GetDownloadURL_FullMethodName      = "/v1.Backrest/GetDownloadURL"
	Backrest_ClearHistory_FullMethodName        = "/v1.Backrest/ClearHistory"
	Backrest_PathAutocomplete_FullMethodName    = "/v1.Backrest/PathAutocomplete"
	Backrest_GetSummaryDashboard_FullMethodName = "/v1.Backrest/GetSummaryDashboard"
)
View Source
const (
	Hub_GetInstances_FullMethodName = "/v1.Hub/GetInstances"
)

Variables

View Source
var (
	CommandPrefix_IONiceLevel_name = map[int32]string{
		0: "IO_DEFAULT",
		1: "IO_BEST_EFFORT_LOW",
		2: "IO_BEST_EFFORT_HIGH",
		3: "IO_IDLE",
	}
	CommandPrefix_IONiceLevel_value = map[string]int32{
		"IO_DEFAULT":          0,
		"IO_BEST_EFFORT_LOW":  1,
		"IO_BEST_EFFORT_HIGH": 2,
		"IO_IDLE":             3,
	}
)

Enum value maps for CommandPrefix_IONiceLevel.

View Source
var (
	CommandPrefix_CPUNiceLevel_name = map[int32]string{
		0: "CPU_DEFAULT",
		1: "CPU_HIGH",
		2: "CPU_LOW",
	}
	CommandPrefix_CPUNiceLevel_value = map[string]int32{
		"CPU_DEFAULT": 0,
		"CPU_HIGH":    1,
		"CPU_LOW":     2,
	}
)

Enum value maps for CommandPrefix_CPUNiceLevel.

View Source
var (
	Schedule_Clock_name = map[int32]string{
		0: "CLOCK_DEFAULT",
		1: "CLOCK_LOCAL",
		2: "CLOCK_UTC",
		3: "CLOCK_LAST_RUN_TIME",
	}
	Schedule_Clock_value = map[string]int32{
		"CLOCK_DEFAULT":       0,
		"CLOCK_LOCAL":         1,
		"CLOCK_UTC":           2,
		"CLOCK_LAST_RUN_TIME": 3,
	}
)

Enum value maps for Schedule_Clock.

View Source
var (
	Hook_Condition_name = map[int32]string{
		0:   "CONDITION_UNKNOWN",
		1:   "CONDITION_ANY_ERROR",
		2:   "CONDITION_SNAPSHOT_START",
		3:   "CONDITION_SNAPSHOT_END",
		4:   "CONDITION_SNAPSHOT_ERROR",
		5:   "CONDITION_SNAPSHOT_WARNING",
		6:   "CONDITION_SNAPSHOT_SUCCESS",
		7:   "CONDITION_SNAPSHOT_SKIPPED",
		100: "CONDITION_PRUNE_START",
		101: "CONDITION_PRUNE_ERROR",
		102: "CONDITION_PRUNE_SUCCESS",
		200: "CONDITION_CHECK_START",
		201: "CONDITION_CHECK_ERROR",
		202: "CONDITION_CHECK_SUCCESS",
	}
	Hook_Condition_value = map[string]int32{
		"CONDITION_UNKNOWN":          0,
		"CONDITION_ANY_ERROR":        1,
		"CONDITION_SNAPSHOT_START":   2,
		"CONDITION_SNAPSHOT_END":     3,
		"CONDITION_SNAPSHOT_ERROR":   4,
		"CONDITION_SNAPSHOT_WARNING": 5,
		"CONDITION_SNAPSHOT_SUCCESS": 6,
		"CONDITION_SNAPSHOT_SKIPPED": 7,
		"CONDITION_PRUNE_START":      100,
		"CONDITION_PRUNE_ERROR":      101,
		"CONDITION_PRUNE_SUCCESS":    102,
		"CONDITION_CHECK_START":      200,
		"CONDITION_CHECK_ERROR":      201,
		"CONDITION_CHECK_SUCCESS":    202,
	}
)

Enum value maps for Hook_Condition.

View Source
var (
	Hook_OnError_name = map[int32]string{
		0:   "ON_ERROR_IGNORE",
		1:   "ON_ERROR_CANCEL",
		2:   "ON_ERROR_FATAL",
		100: "ON_ERROR_RETRY_1MINUTE",
		101: "ON_ERROR_RETRY_10MINUTES",
		103: "ON_ERROR_RETRY_EXPONENTIAL_BACKOFF",
	}
	Hook_OnError_value = map[string]int32{
		"ON_ERROR_IGNORE":                    0,
		"ON_ERROR_CANCEL":                    1,
		"ON_ERROR_FATAL":                     2,
		"ON_ERROR_RETRY_1MINUTE":             100,
		"ON_ERROR_RETRY_10MINUTES":           101,
		"ON_ERROR_RETRY_EXPONENTIAL_BACKOFF": 103,
	}
)

Enum value maps for Hook_OnError.

View Source
var (
	Hook_Webhook_Method_name = map[int32]string{
		0: "UNKNOWN",
		1: "GET",
		2: "POST",
	}
	Hook_Webhook_Method_value = map[string]int32{
		"UNKNOWN": 0,
		"GET":     1,
		"POST":    2,
	}
)

Enum value maps for Hook_Webhook_Method.

View Source
var (
	OperationEventType_name = map[int32]string{
		0: "EVENT_UNKNOWN",
		1: "EVENT_CREATED",
		2: "EVENT_UPDATED",
		3: "EVENT_DELETED",
	}
	OperationEventType_value = map[string]int32{
		"EVENT_UNKNOWN": 0,
		"EVENT_CREATED": 1,
		"EVENT_UPDATED": 2,
		"EVENT_DELETED": 3,
	}
)

Enum value maps for OperationEventType.

View Source
var (
	OperationStatus_name = map[int32]string{
		0: "STATUS_UNKNOWN",
		1: "STATUS_PENDING",
		2: "STATUS_INPROGRESS",
		3: "STATUS_SUCCESS",
		7: "STATUS_WARNING",
		4: "STATUS_ERROR",
		5: "STATUS_SYSTEM_CANCELLED",
		6: "STATUS_USER_CANCELLED",
	}
	OperationStatus_value = map[string]int32{
		"STATUS_UNKNOWN":          0,
		"STATUS_PENDING":          1,
		"STATUS_INPROGRESS":       2,
		"STATUS_SUCCESS":          3,
		"STATUS_WARNING":          7,
		"STATUS_ERROR":            4,
		"STATUS_SYSTEM_CANCELLED": 5,
		"STATUS_USER_CANCELLED":   6,
	}
)

Enum value maps for OperationStatus.

View Source
var (
	DoRepoTaskRequest_Task_name = map[int32]string{
		0: "TASK_NONE",
		1: "TASK_INDEX_SNAPSHOTS",
		2: "TASK_PRUNE",
		3: "TASK_CHECK",
		4: "TASK_STATS",
		5: "TASK_UNLOCK",
	}
	DoRepoTaskRequest_Task_value = map[string]int32{
		"TASK_NONE":            0,
		"TASK_INDEX_SNAPSHOTS": 1,
		"TASK_PRUNE":           2,
		"TASK_CHECK":           3,
		"TASK_STATS":           4,
		"TASK_UNLOCK":          5,
	}
)

Enum value maps for DoRepoTaskRequest_Task.

View Source
var Authentication_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.Authentication",
	HandlerType: (*AuthenticationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _Authentication_Login_Handler,
		},
		{
			MethodName: "HashPassword",
			Handler:    _Authentication_HashPassword_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/authentication.proto",
}

Authentication_ServiceDesc is the grpc.ServiceDesc for Authentication 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 Backrest_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.Backrest",
	HandlerType: (*BackrestServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConfig",
			Handler:    _Backrest_GetConfig_Handler,
		},
		{
			MethodName: "SetConfig",
			Handler:    _Backrest_SetConfig_Handler,
		},
		{
			MethodName: "AddRepo",
			Handler:    _Backrest_AddRepo_Handler,
		},
		{
			MethodName: "GetOperations",
			Handler:    _Backrest_GetOperations_Handler,
		},
		{
			MethodName: "ListSnapshots",
			Handler:    _Backrest_ListSnapshots_Handler,
		},
		{
			MethodName: "ListSnapshotFiles",
			Handler:    _Backrest_ListSnapshotFiles_Handler,
		},
		{
			MethodName: "Backup",
			Handler:    _Backrest_Backup_Handler,
		},
		{
			MethodName: "DoRepoTask",
			Handler:    _Backrest_DoRepoTask_Handler,
		},
		{
			MethodName: "Forget",
			Handler:    _Backrest_Forget_Handler,
		},
		{
			MethodName: "Restore",
			Handler:    _Backrest_Restore_Handler,
		},
		{
			MethodName: "Cancel",
			Handler:    _Backrest_Cancel_Handler,
		},
		{
			MethodName: "RunCommand",
			Handler:    _Backrest_RunCommand_Handler,
		},
		{
			MethodName: "GetDownloadURL",
			Handler:    _Backrest_GetDownloadURL_Handler,
		},
		{
			MethodName: "ClearHistory",
			Handler:    _Backrest_ClearHistory_Handler,
		},
		{
			MethodName: "PathAutocomplete",
			Handler:    _Backrest_PathAutocomplete_Handler,
		},
		{
			MethodName: "GetSummaryDashboard",
			Handler:    _Backrest_GetSummaryDashboard_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetOperationEvents",
			Handler:       _Backrest_GetOperationEvents_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetLogs",
			Handler:       _Backrest_GetLogs_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "v1/service.proto",
}

Backrest_ServiceDesc is the grpc.ServiceDesc for Backrest 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_v1_authentication_proto protoreflect.FileDescriptor
View Source
var File_v1_config_proto protoreflect.FileDescriptor
View Source
var File_v1_hub_proto protoreflect.FileDescriptor
View Source
var File_v1_operations_proto protoreflect.FileDescriptor
View Source
var File_v1_restic_proto protoreflect.FileDescriptor
View Source
var File_v1_service_proto protoreflect.FileDescriptor
View Source
var Hub_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.Hub",
	HandlerType: (*HubServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetInstances",
			Handler:    _Hub_GetInstances_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/hub.proto",
}

Hub_ServiceDesc is the grpc.ServiceDesc for Hub service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAuthenticationServer added in v0.11.0

func RegisterAuthenticationServer(s grpc.ServiceRegistrar, srv AuthenticationServer)

func RegisterBackrestServer

func RegisterBackrestServer(s grpc.ServiceRegistrar, srv BackrestServer)

func RegisterHubServer added in v1.0.0

func RegisterHubServer(s grpc.ServiceRegistrar, srv HubServer)

Types

type Auth added in v0.11.0

type Auth struct {
	Disabled bool    `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // disable authentication.
	Users    []*User `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`        // users to allow access to the UI.
	// contains filtered or unexported fields
}

func (*Auth) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetDisabled added in v0.16.0

func (x *Auth) GetDisabled() bool

func (*Auth) GetUsers added in v0.11.0

func (x *Auth) GetUsers() []*User

func (*Auth) ProtoMessage added in v0.11.0

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect added in v0.11.0

func (x *Auth) ProtoReflect() protoreflect.Message

func (*Auth) Reset added in v0.11.0

func (x *Auth) Reset()

func (*Auth) String added in v0.11.0

func (x *Auth) String() string

type AuthenticationClient added in v0.11.0

type AuthenticationClient interface {
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	HashPassword(ctx context.Context, in *types.StringValue, opts ...grpc.CallOption) (*types.StringValue, error)
}

AuthenticationClient is the client API for Authentication 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 NewAuthenticationClient added in v0.11.0

func NewAuthenticationClient(cc grpc.ClientConnInterface) AuthenticationClient

type AuthenticationServer added in v0.11.0

type AuthenticationServer interface {
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	HashPassword(context.Context, *types.StringValue) (*types.StringValue, error)
	// contains filtered or unexported methods
}

AuthenticationServer is the server API for Authentication service. All implementations must embed UnimplementedAuthenticationServer for forward compatibility

type BackrestClient

type BackrestClient interface {
	GetConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config, error)
	SetConfig(ctx context.Context, in *Config, opts ...grpc.CallOption) (*Config, error)
	AddRepo(ctx context.Context, in *Repo, opts ...grpc.CallOption) (*Config, error)
	GetOperationEvents(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (Backrest_GetOperationEventsClient, error)
	GetOperations(ctx context.Context, in *GetOperationsRequest, opts ...grpc.CallOption) (*OperationList, error)
	ListSnapshots(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ResticSnapshotList, error)
	ListSnapshotFiles(ctx context.Context, in *ListSnapshotFilesRequest, opts ...grpc.CallOption) (*ListSnapshotFilesResponse, error)
	// Backup schedules a backup operation. It accepts a plan id and returns empty if the task is enqueued.
	Backup(ctx context.Context, in *types.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DoRepoTask schedules a repo task. It accepts a repo id and a task type and returns empty if the task is enqueued.
	DoRepoTask(ctx context.Context, in *DoRepoTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Forget schedules a forget operation. It accepts a plan id and returns empty if the task is enqueued.
	Forget(ctx context.Context, in *ForgetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Restore schedules a restore operation.
	Restore(ctx context.Context, in *RestoreSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Cancel attempts to cancel a task with the given operation ID. Not guaranteed to succeed.
	Cancel(ctx context.Context, in *types.Int64Value, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetLogs returns the keyed large data for the given operation.
	GetLogs(ctx context.Context, in *LogDataRequest, opts ...grpc.CallOption) (Backrest_GetLogsClient, error)
	// RunCommand executes a generic restic command on the repository.
	RunCommand(ctx context.Context, in *RunCommandRequest, opts ...grpc.CallOption) (*types.Int64Value, error)
	// GetDownloadURL returns a signed download URL given a forget operation ID.
	GetDownloadURL(ctx context.Context, in *types.Int64Value, opts ...grpc.CallOption) (*types.StringValue, error)
	// Clears the history of operations
	ClearHistory(ctx context.Context, in *ClearHistoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// PathAutocomplete provides path autocompletion options for a given filesystem path.
	PathAutocomplete(ctx context.Context, in *types.StringValue, opts ...grpc.CallOption) (*types.StringList, error)
	// GetSummaryDashboard returns data for the dashboard view.
	GetSummaryDashboard(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SummaryDashboardResponse, error)
}

BackrestClient is the client API for Backrest 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 NewBackrestClient

func NewBackrestClient(cc grpc.ClientConnInterface) BackrestClient

type BackrestServer

type BackrestServer interface {
	GetConfig(context.Context, *emptypb.Empty) (*Config, error)
	SetConfig(context.Context, *Config) (*Config, error)
	AddRepo(context.Context, *Repo) (*Config, error)
	GetOperationEvents(*emptypb.Empty, Backrest_GetOperationEventsServer) error
	GetOperations(context.Context, *GetOperationsRequest) (*OperationList, error)
	ListSnapshots(context.Context, *ListSnapshotsRequest) (*ResticSnapshotList, error)
	ListSnapshotFiles(context.Context, *ListSnapshotFilesRequest) (*ListSnapshotFilesResponse, error)
	// Backup schedules a backup operation. It accepts a plan id and returns empty if the task is enqueued.
	Backup(context.Context, *types.StringValue) (*emptypb.Empty, error)
	// DoRepoTask schedules a repo task. It accepts a repo id and a task type and returns empty if the task is enqueued.
	DoRepoTask(context.Context, *DoRepoTaskRequest) (*emptypb.Empty, error)
	// Forget schedules a forget operation. It accepts a plan id and returns empty if the task is enqueued.
	Forget(context.Context, *ForgetRequest) (*emptypb.Empty, error)
	// Restore schedules a restore operation.
	Restore(context.Context, *RestoreSnapshotRequest) (*emptypb.Empty, error)
	// Cancel attempts to cancel a task with the given operation ID. Not guaranteed to succeed.
	Cancel(context.Context, *types.Int64Value) (*emptypb.Empty, error)
	// GetLogs returns the keyed large data for the given operation.
	GetLogs(*LogDataRequest, Backrest_GetLogsServer) error
	// RunCommand executes a generic restic command on the repository.
	RunCommand(context.Context, *RunCommandRequest) (*types.Int64Value, error)
	// GetDownloadURL returns a signed download URL given a forget operation ID.
	GetDownloadURL(context.Context, *types.Int64Value) (*types.StringValue, error)
	// Clears the history of operations
	ClearHistory(context.Context, *ClearHistoryRequest) (*emptypb.Empty, error)
	// PathAutocomplete provides path autocompletion options for a given filesystem path.
	PathAutocomplete(context.Context, *types.StringValue) (*types.StringList, error)
	// GetSummaryDashboard returns data for the dashboard view.
	GetSummaryDashboard(context.Context, *emptypb.Empty) (*SummaryDashboardResponse, error)
	// contains filtered or unexported methods
}

BackrestServer is the server API for Backrest service. All implementations must embed UnimplementedBackrestServer for forward compatibility

type Backrest_GetLogsClient added in v1.5.0

type Backrest_GetLogsClient interface {
	Recv() (*types.BytesValue, error)
	grpc.ClientStream
}

type Backrest_GetLogsServer added in v1.5.0

type Backrest_GetLogsServer interface {
	Send(*types.BytesValue) error
	grpc.ServerStream
}

type Backrest_GetOperationEventsClient

type Backrest_GetOperationEventsClient interface {
	Recv() (*OperationEvent, error)
	grpc.ClientStream
}

type Backrest_GetOperationEventsServer

type Backrest_GetOperationEventsServer interface {
	Send(*OperationEvent) error
	grpc.ServerStream
}

type BackupProgressEntry

type BackupProgressEntry struct {

	// Types that are assignable to Entry:
	//
	//	*BackupProgressEntry_Status
	//	*BackupProgressEntry_Summary
	Entry isBackupProgressEntry_Entry `protobuf_oneof:"entry"`
	// contains filtered or unexported fields
}

BackupProgressEntriy represents a single entry in the backup progress stream.

func (*BackupProgressEntry) Descriptor deprecated

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

Deprecated: Use BackupProgressEntry.ProtoReflect.Descriptor instead.

func (*BackupProgressEntry) GetEntry

func (m *BackupProgressEntry) GetEntry() isBackupProgressEntry_Entry

func (*BackupProgressEntry) GetStatus

func (*BackupProgressEntry) GetSummary

func (x *BackupProgressEntry) GetSummary() *BackupProgressSummary

func (*BackupProgressEntry) ProtoMessage

func (*BackupProgressEntry) ProtoMessage()

func (*BackupProgressEntry) ProtoReflect

func (x *BackupProgressEntry) ProtoReflect() protoreflect.Message

func (*BackupProgressEntry) Reset

func (x *BackupProgressEntry) Reset()

func (*BackupProgressEntry) String

func (x *BackupProgressEntry) String() string

type BackupProgressEntry_Status

type BackupProgressEntry_Status struct {
	Status *BackupProgressStatusEntry `protobuf:"bytes,1,opt,name=status,proto3,oneof"`
}

type BackupProgressEntry_Summary

type BackupProgressEntry_Summary struct {
	Summary *BackupProgressSummary `protobuf:"bytes,2,opt,name=summary,proto3,oneof"`
}

type BackupProgressError added in v0.13.0

type BackupProgressError struct {

	// See https://restic.readthedocs.io/en/stable/075_scripting.html#error
	Item    string `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	During  string `protobuf:"bytes,2,opt,name=during,proto3" json:"during,omitempty"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupProgressError) Descriptor deprecated added in v0.13.0

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

Deprecated: Use BackupProgressError.ProtoReflect.Descriptor instead.

func (*BackupProgressError) GetDuring added in v0.13.0

func (x *BackupProgressError) GetDuring() string

func (*BackupProgressError) GetItem added in v0.13.0

func (x *BackupProgressError) GetItem() string

func (*BackupProgressError) GetMessage added in v0.13.0

func (x *BackupProgressError) GetMessage() string

func (*BackupProgressError) ProtoMessage added in v0.13.0

func (*BackupProgressError) ProtoMessage()

func (*BackupProgressError) ProtoReflect added in v0.13.0

func (x *BackupProgressError) ProtoReflect() protoreflect.Message

func (*BackupProgressError) Reset added in v0.13.0

func (x *BackupProgressError) Reset()

func (*BackupProgressError) String added in v0.13.0

func (x *BackupProgressError) String() string

type BackupProgressStatusEntry

type BackupProgressStatusEntry struct {

	// See https://restic.readthedocs.io/en/stable/075_scripting.html#id1
	PercentDone float64  `protobuf:"fixed64,1,opt,name=percent_done,json=percentDone,proto3" json:"percent_done,omitempty"` // 0.0 - 1.0
	TotalFiles  int64    `protobuf:"varint,2,opt,name=total_files,json=totalFiles,proto3" json:"total_files,omitempty"`
	TotalBytes  int64    `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	FilesDone   int64    `protobuf:"varint,4,opt,name=files_done,json=filesDone,proto3" json:"files_done,omitempty"`
	BytesDone   int64    `protobuf:"varint,5,opt,name=bytes_done,json=bytesDone,proto3" json:"bytes_done,omitempty"`
	CurrentFile []string `protobuf:"bytes,6,rep,name=current_file,json=currentFile,proto3" json:"current_file,omitempty"`
	// contains filtered or unexported fields
}

BackupProgressStatusEntry represents a single status entry in the backup progress stream.

func (*BackupProgressStatusEntry) Descriptor deprecated

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

Deprecated: Use BackupProgressStatusEntry.ProtoReflect.Descriptor instead.

func (*BackupProgressStatusEntry) GetBytesDone

func (x *BackupProgressStatusEntry) GetBytesDone() int64

func (*BackupProgressStatusEntry) GetCurrentFile

func (x *BackupProgressStatusEntry) GetCurrentFile() []string

func (*BackupProgressStatusEntry) GetFilesDone

func (x *BackupProgressStatusEntry) GetFilesDone() int64

func (*BackupProgressStatusEntry) GetPercentDone

func (x *BackupProgressStatusEntry) GetPercentDone() float64

func (*BackupProgressStatusEntry) GetTotalBytes

func (x *BackupProgressStatusEntry) GetTotalBytes() int64

func (*BackupProgressStatusEntry) GetTotalFiles

func (x *BackupProgressStatusEntry) GetTotalFiles() int64

func (*BackupProgressStatusEntry) ProtoMessage

func (*BackupProgressStatusEntry) ProtoMessage()

func (*BackupProgressStatusEntry) ProtoReflect

func (*BackupProgressStatusEntry) Reset

func (x *BackupProgressStatusEntry) Reset()

func (*BackupProgressStatusEntry) String

func (x *BackupProgressStatusEntry) String() string

type BackupProgressSummary

type BackupProgressSummary struct {

	// See https://restic.readthedocs.io/en/stable/075_scripting.html#summary
	FilesNew            int64   `protobuf:"varint,1,opt,name=files_new,json=filesNew,proto3" json:"files_new,omitempty"`
	FilesChanged        int64   `protobuf:"varint,2,opt,name=files_changed,json=filesChanged,proto3" json:"files_changed,omitempty"`
	FilesUnmodified     int64   `protobuf:"varint,3,opt,name=files_unmodified,json=filesUnmodified,proto3" json:"files_unmodified,omitempty"`
	DirsNew             int64   `protobuf:"varint,4,opt,name=dirs_new,json=dirsNew,proto3" json:"dirs_new,omitempty"`
	DirsChanged         int64   `protobuf:"varint,5,opt,name=dirs_changed,json=dirsChanged,proto3" json:"dirs_changed,omitempty"`
	DirsUnmodified      int64   `protobuf:"varint,6,opt,name=dirs_unmodified,json=dirsUnmodified,proto3" json:"dirs_unmodified,omitempty"`
	DataBlobs           int64   `protobuf:"varint,7,opt,name=data_blobs,json=dataBlobs,proto3" json:"data_blobs,omitempty"`
	TreeBlobs           int64   `protobuf:"varint,8,opt,name=tree_blobs,json=treeBlobs,proto3" json:"tree_blobs,omitempty"`
	DataAdded           int64   `protobuf:"varint,9,opt,name=data_added,json=dataAdded,proto3" json:"data_added,omitempty"`
	TotalFilesProcessed int64   `protobuf:"varint,10,opt,name=total_files_processed,json=totalFilesProcessed,proto3" json:"total_files_processed,omitempty"`
	TotalBytesProcessed int64   `protobuf:"varint,11,opt,name=total_bytes_processed,json=totalBytesProcessed,proto3" json:"total_bytes_processed,omitempty"`
	TotalDuration       float64 `protobuf:"fixed64,12,opt,name=total_duration,json=totalDuration,proto3" json:"total_duration,omitempty"`
	SnapshotId          string  `protobuf:"bytes,13,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	// contains filtered or unexported fields
}

BackupProgressSummary represents a the summary event emitted at the end of a backup stream.

func (*BackupProgressSummary) Descriptor deprecated

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

Deprecated: Use BackupProgressSummary.ProtoReflect.Descriptor instead.

func (*BackupProgressSummary) GetDataAdded

func (x *BackupProgressSummary) GetDataAdded() int64

func (*BackupProgressSummary) GetDataBlobs

func (x *BackupProgressSummary) GetDataBlobs() int64

func (*BackupProgressSummary) GetDirsChanged

func (x *BackupProgressSummary) GetDirsChanged() int64

func (*BackupProgressSummary) GetDirsNew

func (x *BackupProgressSummary) GetDirsNew() int64

func (*BackupProgressSummary) GetDirsUnmodified

func (x *BackupProgressSummary) GetDirsUnmodified() int64

func (*BackupProgressSummary) GetFilesChanged

func (x *BackupProgressSummary) GetFilesChanged() int64

func (*BackupProgressSummary) GetFilesNew

func (x *BackupProgressSummary) GetFilesNew() int64

func (*BackupProgressSummary) GetFilesUnmodified

func (x *BackupProgressSummary) GetFilesUnmodified() int64

func (*BackupProgressSummary) GetSnapshotId

func (x *BackupProgressSummary) GetSnapshotId() string

func (*BackupProgressSummary) GetTotalBytesProcessed

func (x *BackupProgressSummary) GetTotalBytesProcessed() int64

func (*BackupProgressSummary) GetTotalDuration

func (x *BackupProgressSummary) GetTotalDuration() float64

func (*BackupProgressSummary) GetTotalFilesProcessed

func (x *BackupProgressSummary) GetTotalFilesProcessed() int64

func (*BackupProgressSummary) GetTreeBlobs

func (x *BackupProgressSummary) GetTreeBlobs() int64

func (*BackupProgressSummary) ProtoMessage

func (*BackupProgressSummary) ProtoMessage()

func (*BackupProgressSummary) ProtoReflect

func (x *BackupProgressSummary) ProtoReflect() protoreflect.Message

func (*BackupProgressSummary) Reset

func (x *BackupProgressSummary) Reset()

func (*BackupProgressSummary) String

func (x *BackupProgressSummary) String() string

type CheckPolicy added in v1.0.0

type CheckPolicy struct {
	Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// Types that are assignable to Mode:
	//
	//	*CheckPolicy_StructureOnly
	//	*CheckPolicy_ReadDataSubsetPercent
	Mode isCheckPolicy_Mode `protobuf_oneof:"mode"`
	// contains filtered or unexported fields
}

func (*CheckPolicy) Descriptor deprecated added in v1.0.0

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

Deprecated: Use CheckPolicy.ProtoReflect.Descriptor instead.

func (*CheckPolicy) GetMode added in v1.1.0

func (m *CheckPolicy) GetMode() isCheckPolicy_Mode

func (*CheckPolicy) GetReadDataSubsetPercent added in v1.1.0

func (x *CheckPolicy) GetReadDataSubsetPercent() float64

func (*CheckPolicy) GetSchedule added in v1.0.0

func (x *CheckPolicy) GetSchedule() *Schedule

func (*CheckPolicy) GetStructureOnly added in v1.1.0

func (x *CheckPolicy) GetStructureOnly() bool

func (*CheckPolicy) ProtoMessage added in v1.0.0

func (*CheckPolicy) ProtoMessage()

func (*CheckPolicy) ProtoReflect added in v1.0.0

func (x *CheckPolicy) ProtoReflect() protoreflect.Message

func (*CheckPolicy) Reset added in v1.0.0

func (x *CheckPolicy) Reset()

func (*CheckPolicy) String added in v1.0.0

func (x *CheckPolicy) String() string

type CheckPolicy_ReadDataSubsetPercent added in v1.1.0

type CheckPolicy_ReadDataSubsetPercent struct {
	ReadDataSubsetPercent float64 `protobuf:"fixed64,101,opt,name=read_data_subset_percent,json=readDataSubsetPercent,proto3,oneof"` // check a percentage of pack data.
}

type CheckPolicy_StructureOnly added in v1.1.0

type CheckPolicy_StructureOnly struct {
	StructureOnly bool `protobuf:"varint,100,opt,name=structure_only,json=structureOnly,proto3,oneof"` // only check the structure of the repo. No pack data is read.
}

type ClearHistoryRequest

type ClearHistoryRequest struct {
	Selector   *OpSelector `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	OnlyFailed bool        `protobuf:"varint,2,opt,name=only_failed,json=onlyFailed,proto3" json:"only_failed,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearHistoryRequest) Descriptor deprecated

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

Deprecated: Use ClearHistoryRequest.ProtoReflect.Descriptor instead.

func (*ClearHistoryRequest) GetOnlyFailed

func (x *ClearHistoryRequest) GetOnlyFailed() bool

func (*ClearHistoryRequest) GetSelector added in v1.0.0

func (x *ClearHistoryRequest) GetSelector() *OpSelector

func (*ClearHistoryRequest) ProtoMessage

func (*ClearHistoryRequest) ProtoMessage()

func (*ClearHistoryRequest) ProtoReflect

func (x *ClearHistoryRequest) ProtoReflect() protoreflect.Message

func (*ClearHistoryRequest) Reset

func (x *ClearHistoryRequest) Reset()

func (*ClearHistoryRequest) String

func (x *ClearHistoryRequest) String() string

type CommandPrefix added in v1.1.0

type CommandPrefix struct {
	IoNice  CommandPrefix_IONiceLevel  `protobuf:"varint,1,opt,name=io_nice,json=ioNice,proto3,enum=v1.CommandPrefix_IONiceLevel" json:"io_nice,omitempty"`     // ionice level to set.
	CpuNice CommandPrefix_CPUNiceLevel `protobuf:"varint,2,opt,name=cpu_nice,json=cpuNice,proto3,enum=v1.CommandPrefix_CPUNiceLevel" json:"cpu_nice,omitempty"` // nice level to set.
	// contains filtered or unexported fields
}

func (*CommandPrefix) Descriptor deprecated added in v1.1.0

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

Deprecated: Use CommandPrefix.ProtoReflect.Descriptor instead.

func (*CommandPrefix) GetCpuNice added in v1.1.0

func (x *CommandPrefix) GetCpuNice() CommandPrefix_CPUNiceLevel

func (*CommandPrefix) GetIoNice added in v1.1.0

func (*CommandPrefix) ProtoMessage added in v1.1.0

func (*CommandPrefix) ProtoMessage()

func (*CommandPrefix) ProtoReflect added in v1.1.0

func (x *CommandPrefix) ProtoReflect() protoreflect.Message

func (*CommandPrefix) Reset added in v1.1.0

func (x *CommandPrefix) Reset()

func (*CommandPrefix) String added in v1.1.0

func (x *CommandPrefix) String() string

type CommandPrefix_CPUNiceLevel added in v1.1.0

type CommandPrefix_CPUNiceLevel int32
const (
	CommandPrefix_CPU_DEFAULT CommandPrefix_CPUNiceLevel = 0
	CommandPrefix_CPU_HIGH    CommandPrefix_CPUNiceLevel = 1
	CommandPrefix_CPU_LOW     CommandPrefix_CPUNiceLevel = 2
)

func (CommandPrefix_CPUNiceLevel) Descriptor added in v1.1.0

func (CommandPrefix_CPUNiceLevel) Enum added in v1.1.0

func (CommandPrefix_CPUNiceLevel) EnumDescriptor deprecated added in v1.1.0

func (CommandPrefix_CPUNiceLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use CommandPrefix_CPUNiceLevel.Descriptor instead.

func (CommandPrefix_CPUNiceLevel) Number added in v1.1.0

func (CommandPrefix_CPUNiceLevel) String added in v1.1.0

func (CommandPrefix_CPUNiceLevel) Type added in v1.1.0

type CommandPrefix_IONiceLevel added in v1.1.0

type CommandPrefix_IONiceLevel int32
const (
	CommandPrefix_IO_DEFAULT          CommandPrefix_IONiceLevel = 0
	CommandPrefix_IO_BEST_EFFORT_LOW  CommandPrefix_IONiceLevel = 1
	CommandPrefix_IO_BEST_EFFORT_HIGH CommandPrefix_IONiceLevel = 2
	CommandPrefix_IO_IDLE             CommandPrefix_IONiceLevel = 3
)

func (CommandPrefix_IONiceLevel) Descriptor added in v1.1.0

func (CommandPrefix_IONiceLevel) Enum added in v1.1.0

func (CommandPrefix_IONiceLevel) EnumDescriptor deprecated added in v1.1.0

func (CommandPrefix_IONiceLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use CommandPrefix_IONiceLevel.Descriptor instead.

func (CommandPrefix_IONiceLevel) Number added in v1.1.0

func (CommandPrefix_IONiceLevel) String added in v1.1.0

func (x CommandPrefix_IONiceLevel) String() string

func (CommandPrefix_IONiceLevel) Type added in v1.1.0

type Config

type Config struct {

	// modification number, used for read-modify-write consistency in the UI. Incremented on every write.
	Modno   int32 `protobuf:"varint,1,opt,name=modno,proto3" json:"modno,omitempty"`
	Version int32 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"` // version of the config file format. Used to determine when to run migrations.
	// The instance name for the Backrest installation.
	// This identifies backups created by this instance and is displayed in the UI.
	Instance string  `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	Repos    []*Repo `protobuf:"bytes,3,rep,name=repos,proto3" json:"repos,omitempty"`
	Plans    []*Plan `protobuf:"bytes,4,rep,name=plans,proto3" json:"plans,omitempty"`
	Auth     *Auth   `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

Config is the top level config object for restic UI.

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetAuth added in v0.11.0

func (x *Config) GetAuth() *Auth

func (*Config) GetInstance added in v1.0.0

func (x *Config) GetInstance() string

func (*Config) GetModno

func (x *Config) GetModno() int32

func (*Config) GetPlans

func (x *Config) GetPlans() []*Plan

func (*Config) GetRepos

func (x *Config) GetRepos() []*Repo

func (*Config) GetVersion added in v0.13.0

func (x *Config) GetVersion() int32

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type DoRepoTaskRequest added in v1.1.0

type DoRepoTaskRequest struct {
	RepoId string                 `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	Task   DoRepoTaskRequest_Task `protobuf:"varint,2,opt,name=task,proto3,enum=v1.DoRepoTaskRequest_Task" json:"task,omitempty"`
	// contains filtered or unexported fields
}

func (*DoRepoTaskRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use DoRepoTaskRequest.ProtoReflect.Descriptor instead.

func (*DoRepoTaskRequest) GetRepoId added in v1.1.0

func (x *DoRepoTaskRequest) GetRepoId() string

func (*DoRepoTaskRequest) GetTask added in v1.1.0

func (*DoRepoTaskRequest) ProtoMessage added in v1.1.0

func (*DoRepoTaskRequest) ProtoMessage()

func (*DoRepoTaskRequest) ProtoReflect added in v1.1.0

func (x *DoRepoTaskRequest) ProtoReflect() protoreflect.Message

func (*DoRepoTaskRequest) Reset added in v1.1.0

func (x *DoRepoTaskRequest) Reset()

func (*DoRepoTaskRequest) String added in v1.1.0

func (x *DoRepoTaskRequest) String() string

type DoRepoTaskRequest_Task added in v1.1.0

type DoRepoTaskRequest_Task int32
const (
	DoRepoTaskRequest_TASK_NONE            DoRepoTaskRequest_Task = 0
	DoRepoTaskRequest_TASK_INDEX_SNAPSHOTS DoRepoTaskRequest_Task = 1
	DoRepoTaskRequest_TASK_PRUNE           DoRepoTaskRequest_Task = 2
	DoRepoTaskRequest_TASK_CHECK           DoRepoTaskRequest_Task = 3
	DoRepoTaskRequest_TASK_STATS           DoRepoTaskRequest_Task = 4
	DoRepoTaskRequest_TASK_UNLOCK          DoRepoTaskRequest_Task = 5
)

func (DoRepoTaskRequest_Task) Descriptor added in v1.1.0

func (DoRepoTaskRequest_Task) Enum added in v1.1.0

func (DoRepoTaskRequest_Task) EnumDescriptor deprecated added in v1.1.0

func (DoRepoTaskRequest_Task) EnumDescriptor() ([]byte, []int)

Deprecated: Use DoRepoTaskRequest_Task.Descriptor instead.

func (DoRepoTaskRequest_Task) Number added in v1.1.0

func (DoRepoTaskRequest_Task) String added in v1.1.0

func (x DoRepoTaskRequest_Task) String() string

func (DoRepoTaskRequest_Task) Type added in v1.1.0

type ForgetRequest added in v0.12.0

type ForgetRequest struct {
	RepoId     string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	PlanId     string `protobuf:"bytes,2,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	SnapshotId string `protobuf:"bytes,3,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ForgetRequest) Descriptor deprecated added in v0.12.0

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

Deprecated: Use ForgetRequest.ProtoReflect.Descriptor instead.

func (*ForgetRequest) GetPlanId added in v0.12.0

func (x *ForgetRequest) GetPlanId() string

func (*ForgetRequest) GetRepoId added in v0.12.0

func (x *ForgetRequest) GetRepoId() string

func (*ForgetRequest) GetSnapshotId added in v0.12.0

func (x *ForgetRequest) GetSnapshotId() string

func (*ForgetRequest) ProtoMessage added in v0.12.0

func (*ForgetRequest) ProtoMessage()

func (*ForgetRequest) ProtoReflect added in v0.12.0

func (x *ForgetRequest) ProtoReflect() protoreflect.Message

func (*ForgetRequest) Reset added in v0.12.0

func (x *ForgetRequest) Reset()

func (*ForgetRequest) String added in v0.12.0

func (x *ForgetRequest) String() string

type GetInstancesResponse added in v1.0.0

type GetInstancesResponse struct {
	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInstancesResponse) Descriptor deprecated added in v1.0.0

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

Deprecated: Use GetInstancesResponse.ProtoReflect.Descriptor instead.

func (*GetInstancesResponse) GetInstances added in v1.0.0

func (x *GetInstancesResponse) GetInstances() []*Instance

func (*GetInstancesResponse) ProtoMessage added in v1.0.0

func (*GetInstancesResponse) ProtoMessage()

func (*GetInstancesResponse) ProtoReflect added in v1.0.0

func (x *GetInstancesResponse) ProtoReflect() protoreflect.Message

func (*GetInstancesResponse) Reset added in v1.0.0

func (x *GetInstancesResponse) Reset()

func (*GetInstancesResponse) String added in v1.0.0

func (x *GetInstancesResponse) String() string

type GetOperationsRequest

type GetOperationsRequest struct {
	Selector *OpSelector `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	LastN    int64       `protobuf:"varint,2,opt,name=last_n,json=lastN,proto3" json:"last_n,omitempty"` // limit to the last n operations
	// contains filtered or unexported fields
}

func (*GetOperationsRequest) Descriptor deprecated

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

Deprecated: Use GetOperationsRequest.ProtoReflect.Descriptor instead.

func (*GetOperationsRequest) GetLastN

func (x *GetOperationsRequest) GetLastN() int64

func (*GetOperationsRequest) GetSelector added in v1.0.0

func (x *GetOperationsRequest) GetSelector() *OpSelector

func (*GetOperationsRequest) ProtoMessage

func (*GetOperationsRequest) ProtoMessage()

func (*GetOperationsRequest) ProtoReflect

func (x *GetOperationsRequest) ProtoReflect() protoreflect.Message

func (*GetOperationsRequest) Reset

func (x *GetOperationsRequest) Reset()

func (*GetOperationsRequest) String

func (x *GetOperationsRequest) String() string

type Hook added in v0.11.0

type Hook struct {
	Conditions []Hook_Condition `protobuf:"varint,1,rep,packed,name=conditions,proto3,enum=v1.Hook_Condition" json:"conditions,omitempty"`
	OnError    Hook_OnError     `protobuf:"varint,2,opt,name=on_error,json=onError,proto3,enum=v1.Hook_OnError" json:"on_error,omitempty"`
	// Types that are assignable to Action:
	//
	//	*Hook_ActionCommand
	//	*Hook_ActionWebhook
	//	*Hook_ActionDiscord
	//	*Hook_ActionGotify
	//	*Hook_ActionSlack
	//	*Hook_ActionShoutrrr
	//	*Hook_ActionHealthchecks
	Action isHook_Action `protobuf_oneof:"action"`
	// contains filtered or unexported fields
}

func (*Hook) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Hook.ProtoReflect.Descriptor instead.

func (*Hook) GetAction added in v0.11.0

func (m *Hook) GetAction() isHook_Action

func (*Hook) GetActionCommand added in v0.11.0

func (x *Hook) GetActionCommand() *Hook_Command

func (*Hook) GetActionDiscord added in v0.11.0

func (x *Hook) GetActionDiscord() *Hook_Discord

func (*Hook) GetActionGotify added in v0.11.0

func (x *Hook) GetActionGotify() *Hook_Gotify

func (*Hook) GetActionHealthchecks added in v1.6.0

func (x *Hook) GetActionHealthchecks() *Hook_Healthchecks

func (*Hook) GetActionShoutrrr added in v0.16.0

func (x *Hook) GetActionShoutrrr() *Hook_Shoutrrr

func (*Hook) GetActionSlack added in v0.12.0

func (x *Hook) GetActionSlack() *Hook_Slack

func (*Hook) GetActionWebhook added in v0.11.0

func (x *Hook) GetActionWebhook() *Hook_Webhook

func (*Hook) GetConditions added in v0.11.0

func (x *Hook) GetConditions() []Hook_Condition

func (*Hook) GetOnError added in v0.17.0

func (x *Hook) GetOnError() Hook_OnError

func (*Hook) ProtoMessage added in v0.11.0

func (*Hook) ProtoMessage()

func (*Hook) ProtoReflect added in v0.11.0

func (x *Hook) ProtoReflect() protoreflect.Message

func (*Hook) Reset added in v0.11.0

func (x *Hook) Reset()

func (*Hook) String added in v0.11.0

func (x *Hook) String() string

type Hook_ActionCommand added in v0.11.0

type Hook_ActionCommand struct {
	ActionCommand *Hook_Command `protobuf:"bytes,100,opt,name=action_command,json=actionCommand,proto3,oneof"`
}

type Hook_ActionDiscord added in v0.11.0

type Hook_ActionDiscord struct {
	ActionDiscord *Hook_Discord `protobuf:"bytes,102,opt,name=action_discord,json=actionDiscord,proto3,oneof"`
}

type Hook_ActionGotify added in v0.11.0

type Hook_ActionGotify struct {
	ActionGotify *Hook_Gotify `protobuf:"bytes,103,opt,name=action_gotify,json=actionGotify,proto3,oneof"`
}

type Hook_ActionHealthchecks added in v1.6.0

type Hook_ActionHealthchecks struct {
	ActionHealthchecks *Hook_Healthchecks `protobuf:"bytes,106,opt,name=action_healthchecks,json=actionHealthchecks,proto3,oneof"`
}

type Hook_ActionShoutrrr added in v0.16.0

type Hook_ActionShoutrrr struct {
	ActionShoutrrr *Hook_Shoutrrr `protobuf:"bytes,105,opt,name=action_shoutrrr,json=actionShoutrrr,proto3,oneof"`
}

type Hook_ActionSlack added in v0.12.0

type Hook_ActionSlack struct {
	ActionSlack *Hook_Slack `protobuf:"bytes,104,opt,name=action_slack,json=actionSlack,proto3,oneof"`
}

type Hook_ActionWebhook added in v0.11.0

type Hook_ActionWebhook struct {
	ActionWebhook *Hook_Webhook `protobuf:"bytes,101,opt,name=action_webhook,json=actionWebhook,proto3,oneof"`
}

type Hook_Command added in v0.11.0

type Hook_Command struct {
	Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*Hook_Command) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Hook_Command.ProtoReflect.Descriptor instead.

func (*Hook_Command) GetCommand added in v0.11.0

func (x *Hook_Command) GetCommand() string

func (*Hook_Command) ProtoMessage added in v0.11.0

func (*Hook_Command) ProtoMessage()

func (*Hook_Command) ProtoReflect added in v0.11.0

func (x *Hook_Command) ProtoReflect() protoreflect.Message

func (*Hook_Command) Reset added in v0.11.0

func (x *Hook_Command) Reset()

func (*Hook_Command) String added in v0.11.0

func (x *Hook_Command) String() string

type Hook_Condition added in v0.11.0

type Hook_Condition int32
const (
	Hook_CONDITION_UNKNOWN          Hook_Condition = 0
	Hook_CONDITION_ANY_ERROR        Hook_Condition = 1 // error running any operation.
	Hook_CONDITION_SNAPSHOT_START   Hook_Condition = 2 // backup started.
	Hook_CONDITION_SNAPSHOT_END     Hook_Condition = 3 // backup completed (success or fail).
	Hook_CONDITION_SNAPSHOT_ERROR   Hook_Condition = 4 // snapshot failed.
	Hook_CONDITION_SNAPSHOT_WARNING Hook_Condition = 5 // snapshot completed with warnings.
	Hook_CONDITION_SNAPSHOT_SUCCESS Hook_Condition = 6 // snapshot succeeded.
	Hook_CONDITION_SNAPSHOT_SKIPPED Hook_Condition = 7 // snapshot was skipped e.g. due to no changes.
	// prune conditions
	Hook_CONDITION_PRUNE_START   Hook_Condition = 100 // prune started.
	Hook_CONDITION_PRUNE_ERROR   Hook_Condition = 101 // prune failed.
	Hook_CONDITION_PRUNE_SUCCESS Hook_Condition = 102 // prune succeeded.
	// check conditions
	Hook_CONDITION_CHECK_START   Hook_Condition = 200 // check started.
	Hook_CONDITION_CHECK_ERROR   Hook_Condition = 201 // check failed.
	Hook_CONDITION_CHECK_SUCCESS Hook_Condition = 202 // check succeeded.
)

func (Hook_Condition) Descriptor added in v0.11.0

func (Hook_Condition) Enum added in v0.11.0

func (x Hook_Condition) Enum() *Hook_Condition

func (Hook_Condition) EnumDescriptor deprecated added in v0.11.0

func (Hook_Condition) EnumDescriptor() ([]byte, []int)

Deprecated: Use Hook_Condition.Descriptor instead.

func (Hook_Condition) Number added in v0.11.0

func (Hook_Condition) String added in v0.11.0

func (x Hook_Condition) String() string

func (Hook_Condition) Type added in v0.11.0

type Hook_Discord added in v0.11.0

type Hook_Discord struct {
	WebhookUrl string `protobuf:"bytes,1,opt,name=webhook_url,json=webhookUrl,proto3" json:"webhook_url,omitempty"`
	Template   string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` // template for the webhook payload.
	// contains filtered or unexported fields
}

func (*Hook_Discord) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Hook_Discord.ProtoReflect.Descriptor instead.

func (*Hook_Discord) GetTemplate added in v0.11.0

func (x *Hook_Discord) GetTemplate() string

func (*Hook_Discord) GetWebhookUrl added in v0.11.0

func (x *Hook_Discord) GetWebhookUrl() string

func (*Hook_Discord) ProtoMessage added in v0.11.0

func (*Hook_Discord) ProtoMessage()

func (*Hook_Discord) ProtoReflect added in v0.11.0

func (x *Hook_Discord) ProtoReflect() protoreflect.Message

func (*Hook_Discord) Reset added in v0.11.0

func (x *Hook_Discord) Reset()

func (*Hook_Discord) String added in v0.11.0

func (x *Hook_Discord) String() string

type Hook_Gotify added in v0.11.0

type Hook_Gotify struct {
	BaseUrl       string `protobuf:"bytes,1,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	Token         string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Template      string `protobuf:"bytes,100,opt,name=template,proto3" json:"template,omitempty"`                                // template for the webhook payload.
	TitleTemplate string `protobuf:"bytes,101,opt,name=title_template,json=titleTemplate,proto3" json:"title_template,omitempty"` // template for the webhook title.
	// contains filtered or unexported fields
}

func (*Hook_Gotify) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Hook_Gotify.ProtoReflect.Descriptor instead.

func (*Hook_Gotify) GetBaseUrl added in v0.11.0

func (x *Hook_Gotify) GetBaseUrl() string

func (*Hook_Gotify) GetTemplate added in v0.11.0

func (x *Hook_Gotify) GetTemplate() string

func (*Hook_Gotify) GetTitleTemplate added in v0.11.0

func (x *Hook_Gotify) GetTitleTemplate() string

func (*Hook_Gotify) GetToken added in v0.11.0

func (x *Hook_Gotify) GetToken() string

func (*Hook_Gotify) ProtoMessage added in v0.11.0

func (*Hook_Gotify) ProtoMessage()

func (*Hook_Gotify) ProtoReflect added in v0.11.0

func (x *Hook_Gotify) ProtoReflect() protoreflect.Message

func (*Hook_Gotify) Reset added in v0.11.0

func (x *Hook_Gotify) Reset()

func (*Hook_Gotify) String added in v0.11.0

func (x *Hook_Gotify) String() string

type Hook_Healthchecks added in v1.6.0

type Hook_Healthchecks struct {
	WebhookUrl string `protobuf:"bytes,1,opt,name=webhook_url,json=webhookUrl,proto3" json:"webhook_url,omitempty"`
	Template   string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

func (*Hook_Healthchecks) Descriptor deprecated added in v1.6.0

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

Deprecated: Use Hook_Healthchecks.ProtoReflect.Descriptor instead.

func (*Hook_Healthchecks) GetTemplate added in v1.6.0

func (x *Hook_Healthchecks) GetTemplate() string

func (*Hook_Healthchecks) GetWebhookUrl added in v1.6.0

func (x *Hook_Healthchecks) GetWebhookUrl() string

func (*Hook_Healthchecks) ProtoMessage added in v1.6.0

func (*Hook_Healthchecks) ProtoMessage()

func (*Hook_Healthchecks) ProtoReflect added in v1.6.0

func (x *Hook_Healthchecks) ProtoReflect() protoreflect.Message

func (*Hook_Healthchecks) Reset added in v1.6.0

func (x *Hook_Healthchecks) Reset()

func (*Hook_Healthchecks) String added in v1.6.0

func (x *Hook_Healthchecks) String() string

type Hook_OnError added in v0.17.0

type Hook_OnError int32
const (
	Hook_ON_ERROR_IGNORE                    Hook_OnError = 0
	Hook_ON_ERROR_CANCEL                    Hook_OnError = 1   // cancels the operation and skips subsequent hooks
	Hook_ON_ERROR_FATAL                     Hook_OnError = 2   // fails the operation and subsequent hooks.
	Hook_ON_ERROR_RETRY_1MINUTE             Hook_OnError = 100 // retry the operation every minute
	Hook_ON_ERROR_RETRY_10MINUTES           Hook_OnError = 101 // retry the operation every 10 minutes
	Hook_ON_ERROR_RETRY_EXPONENTIAL_BACKOFF Hook_OnError = 103 // retry the operation with exponential backoff up to 1h max.
)

func (Hook_OnError) Descriptor added in v0.17.0

func (Hook_OnError) Enum added in v0.17.0

func (x Hook_OnError) Enum() *Hook_OnError

func (Hook_OnError) EnumDescriptor deprecated added in v0.17.0

func (Hook_OnError) EnumDescriptor() ([]byte, []int)

Deprecated: Use Hook_OnError.Descriptor instead.

func (Hook_OnError) Number added in v0.17.0

func (Hook_OnError) String added in v0.17.0

func (x Hook_OnError) String() string

func (Hook_OnError) Type added in v0.17.0

type Hook_Shoutrrr added in v0.16.0

type Hook_Shoutrrr struct {
	ShoutrrrUrl string `protobuf:"bytes,1,opt,name=shoutrrr_url,json=shoutrrrUrl,proto3" json:"shoutrrr_url,omitempty"`
	Template    string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

func (*Hook_Shoutrrr) Descriptor deprecated added in v0.16.0

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

Deprecated: Use Hook_Shoutrrr.ProtoReflect.Descriptor instead.

func (*Hook_Shoutrrr) GetShoutrrrUrl added in v0.16.0

func (x *Hook_Shoutrrr) GetShoutrrrUrl() string

func (*Hook_Shoutrrr) GetTemplate added in v0.16.0

func (x *Hook_Shoutrrr) GetTemplate() string

func (*Hook_Shoutrrr) ProtoMessage added in v0.16.0

func (*Hook_Shoutrrr) ProtoMessage()

func (*Hook_Shoutrrr) ProtoReflect added in v0.16.0

func (x *Hook_Shoutrrr) ProtoReflect() protoreflect.Message

func (*Hook_Shoutrrr) Reset added in v0.16.0

func (x *Hook_Shoutrrr) Reset()

func (*Hook_Shoutrrr) String added in v0.16.0

func (x *Hook_Shoutrrr) String() string

type Hook_Slack added in v0.12.0

type Hook_Slack struct {
	WebhookUrl string `protobuf:"bytes,1,opt,name=webhook_url,json=webhookUrl,proto3" json:"webhook_url,omitempty"`
	Template   string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` // template for the webhook payload.
	// contains filtered or unexported fields
}

func (*Hook_Slack) Descriptor deprecated added in v0.12.0

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

Deprecated: Use Hook_Slack.ProtoReflect.Descriptor instead.

func (*Hook_Slack) GetTemplate added in v0.12.0

func (x *Hook_Slack) GetTemplate() string

func (*Hook_Slack) GetWebhookUrl added in v0.12.0

func (x *Hook_Slack) GetWebhookUrl() string

func (*Hook_Slack) ProtoMessage added in v0.12.0

func (*Hook_Slack) ProtoMessage()

func (*Hook_Slack) ProtoReflect added in v0.12.0

func (x *Hook_Slack) ProtoReflect() protoreflect.Message

func (*Hook_Slack) Reset added in v0.12.0

func (x *Hook_Slack) Reset()

func (*Hook_Slack) String added in v0.12.0

func (x *Hook_Slack) String() string

type Hook_Webhook added in v0.11.0

type Hook_Webhook struct {
	WebhookUrl string              `protobuf:"bytes,1,opt,name=webhook_url,json=webhookUrl,proto3" json:"webhook_url,omitempty"`
	Method     Hook_Webhook_Method `protobuf:"varint,2,opt,name=method,proto3,enum=v1.Hook_Webhook_Method" json:"method,omitempty"`
	Template   string              `protobuf:"bytes,100,opt,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

func (*Hook_Webhook) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Hook_Webhook.ProtoReflect.Descriptor instead.

func (*Hook_Webhook) GetMethod added in v0.17.0

func (x *Hook_Webhook) GetMethod() Hook_Webhook_Method

func (*Hook_Webhook) GetTemplate added in v0.17.0

func (x *Hook_Webhook) GetTemplate() string

func (*Hook_Webhook) GetWebhookUrl added in v0.11.0

func (x *Hook_Webhook) GetWebhookUrl() string

func (*Hook_Webhook) ProtoMessage added in v0.11.0

func (*Hook_Webhook) ProtoMessage()

func (*Hook_Webhook) ProtoReflect added in v0.11.0

func (x *Hook_Webhook) ProtoReflect() protoreflect.Message

func (*Hook_Webhook) Reset added in v0.11.0

func (x *Hook_Webhook) Reset()

func (*Hook_Webhook) String added in v0.11.0

func (x *Hook_Webhook) String() string

type Hook_Webhook_Method added in v0.17.0

type Hook_Webhook_Method int32
const (
	Hook_Webhook_UNKNOWN Hook_Webhook_Method = 0
	Hook_Webhook_GET     Hook_Webhook_Method = 1
	Hook_Webhook_POST    Hook_Webhook_Method = 2
)

func (Hook_Webhook_Method) Descriptor added in v0.17.0

func (Hook_Webhook_Method) Enum added in v0.17.0

func (Hook_Webhook_Method) EnumDescriptor deprecated added in v0.17.0

func (Hook_Webhook_Method) EnumDescriptor() ([]byte, []int)

Deprecated: Use Hook_Webhook_Method.Descriptor instead.

func (Hook_Webhook_Method) Number added in v0.17.0

func (Hook_Webhook_Method) String added in v0.17.0

func (x Hook_Webhook_Method) String() string

func (Hook_Webhook_Method) Type added in v0.17.0

type HubClient added in v1.0.0

type HubClient interface {
	// GetInstances returns a list of all instances
	GetInstances(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetInstancesResponse, error)
}

HubClient is the client API for Hub 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 NewHubClient added in v1.0.0

func NewHubClient(cc grpc.ClientConnInterface) HubClient

type HubConfig added in v1.0.0

type HubConfig struct {
	Instances []*HubConfig_InstanceInfo `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

func (*HubConfig) Descriptor deprecated added in v1.0.0

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

Deprecated: Use HubConfig.ProtoReflect.Descriptor instead.

func (*HubConfig) GetInstances added in v1.0.0

func (x *HubConfig) GetInstances() []*HubConfig_InstanceInfo

func (*HubConfig) ProtoMessage added in v1.0.0

func (*HubConfig) ProtoMessage()

func (*HubConfig) ProtoReflect added in v1.0.0

func (x *HubConfig) ProtoReflect() protoreflect.Message

func (*HubConfig) Reset added in v1.0.0

func (x *HubConfig) Reset()

func (*HubConfig) String added in v1.0.0

func (x *HubConfig) String() string

type HubConfig_InstanceInfo added in v1.0.0

type HubConfig_InstanceInfo struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // secret used to authenticate with the hub.
	// contains filtered or unexported fields
}

func (*HubConfig_InstanceInfo) Descriptor deprecated added in v1.0.0

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

Deprecated: Use HubConfig_InstanceInfo.ProtoReflect.Descriptor instead.

func (*HubConfig_InstanceInfo) GetId added in v1.0.0

func (x *HubConfig_InstanceInfo) GetId() string

func (*HubConfig_InstanceInfo) GetSecret added in v1.0.0

func (x *HubConfig_InstanceInfo) GetSecret() string

func (*HubConfig_InstanceInfo) ProtoMessage added in v1.0.0

func (*HubConfig_InstanceInfo) ProtoMessage()

func (*HubConfig_InstanceInfo) ProtoReflect added in v1.0.0

func (x *HubConfig_InstanceInfo) ProtoReflect() protoreflect.Message

func (*HubConfig_InstanceInfo) Reset added in v1.0.0

func (x *HubConfig_InstanceInfo) Reset()

func (*HubConfig_InstanceInfo) String added in v1.0.0

func (x *HubConfig_InstanceInfo) String() string

type HubServer added in v1.0.0

type HubServer interface {
	// GetInstances returns a list of all instances
	GetInstances(context.Context, *emptypb.Empty) (*GetInstancesResponse, error)
	// contains filtered or unexported methods
}

HubServer is the server API for Hub service. All implementations must embed UnimplementedHubServer for forward compatibility

type Instance added in v1.0.0

type Instance struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Instance) Descriptor deprecated added in v1.0.0

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetId added in v1.0.0

func (x *Instance) GetId() string

func (*Instance) ProtoMessage added in v1.0.0

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect added in v1.0.0

func (x *Instance) ProtoReflect() protoreflect.Message

func (*Instance) Reset added in v1.0.0

func (x *Instance) Reset()

func (*Instance) String added in v1.0.0

func (x *Instance) String() string

type ListSnapshotFilesRequest

type ListSnapshotFilesRequest struct {
	RepoId     string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	SnapshotId string `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	Path       string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSnapshotFilesRequest) Descriptor deprecated

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

Deprecated: Use ListSnapshotFilesRequest.ProtoReflect.Descriptor instead.

func (*ListSnapshotFilesRequest) GetPath

func (x *ListSnapshotFilesRequest) GetPath() string

func (*ListSnapshotFilesRequest) GetRepoId

func (x *ListSnapshotFilesRequest) GetRepoId() string

func (*ListSnapshotFilesRequest) GetSnapshotId

func (x *ListSnapshotFilesRequest) GetSnapshotId() string

func (*ListSnapshotFilesRequest) ProtoMessage

func (*ListSnapshotFilesRequest) ProtoMessage()

func (*ListSnapshotFilesRequest) ProtoReflect

func (x *ListSnapshotFilesRequest) ProtoReflect() protoreflect.Message

func (*ListSnapshotFilesRequest) Reset

func (x *ListSnapshotFilesRequest) Reset()

func (*ListSnapshotFilesRequest) String

func (x *ListSnapshotFilesRequest) String() string

type ListSnapshotFilesResponse

type ListSnapshotFilesResponse struct {
	Path    string     `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Entries []*LsEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSnapshotFilesResponse) Descriptor deprecated

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

Deprecated: Use ListSnapshotFilesResponse.ProtoReflect.Descriptor instead.

func (*ListSnapshotFilesResponse) GetEntries

func (x *ListSnapshotFilesResponse) GetEntries() []*LsEntry

func (*ListSnapshotFilesResponse) GetPath

func (x *ListSnapshotFilesResponse) GetPath() string

func (*ListSnapshotFilesResponse) ProtoMessage

func (*ListSnapshotFilesResponse) ProtoMessage()

func (*ListSnapshotFilesResponse) ProtoReflect

func (*ListSnapshotFilesResponse) Reset

func (x *ListSnapshotFilesResponse) Reset()

func (*ListSnapshotFilesResponse) String

func (x *ListSnapshotFilesResponse) String() string

type ListSnapshotsRequest

type ListSnapshotsRequest struct {
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	PlanId string `protobuf:"bytes,2,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSnapshotsRequest) Descriptor deprecated

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

Deprecated: Use ListSnapshotsRequest.ProtoReflect.Descriptor instead.

func (*ListSnapshotsRequest) GetPlanId

func (x *ListSnapshotsRequest) GetPlanId() string

func (*ListSnapshotsRequest) GetRepoId

func (x *ListSnapshotsRequest) GetRepoId() string

func (*ListSnapshotsRequest) ProtoMessage

func (*ListSnapshotsRequest) ProtoMessage()

func (*ListSnapshotsRequest) ProtoReflect

func (x *ListSnapshotsRequest) ProtoReflect() protoreflect.Message

func (*ListSnapshotsRequest) Reset

func (x *ListSnapshotsRequest) Reset()

func (*ListSnapshotsRequest) String

func (x *ListSnapshotsRequest) String() string

type LogDataRequest added in v0.11.0

type LogDataRequest struct {
	Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*LogDataRequest) Descriptor deprecated added in v0.11.0

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

Deprecated: Use LogDataRequest.ProtoReflect.Descriptor instead.

func (*LogDataRequest) GetRef added in v0.11.0

func (x *LogDataRequest) GetRef() string

func (*LogDataRequest) ProtoMessage added in v0.11.0

func (*LogDataRequest) ProtoMessage()

func (*LogDataRequest) ProtoReflect added in v0.11.0

func (x *LogDataRequest) ProtoReflect() protoreflect.Message

func (*LogDataRequest) Reset added in v0.11.0

func (x *LogDataRequest) Reset()

func (*LogDataRequest) String added in v0.11.0

func (x *LogDataRequest) String() string

type LoginRequest added in v0.11.0

type LoginRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated added in v0.11.0

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetPassword added in v0.11.0

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetUsername added in v0.11.0

func (x *LoginRequest) GetUsername() string

func (*LoginRequest) ProtoMessage added in v0.11.0

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect added in v0.11.0

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset added in v0.11.0

func (x *LoginRequest) Reset()

func (*LoginRequest) String added in v0.11.0

func (x *LoginRequest) String() string

type LoginResponse added in v0.11.0

type LoginResponse struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // JWT token
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated added in v0.11.0

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetToken added in v0.11.0

func (x *LoginResponse) GetToken() string

func (*LoginResponse) ProtoMessage added in v0.11.0

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect added in v0.11.0

func (x *LoginResponse) ProtoReflect() protoreflect.Message

func (*LoginResponse) Reset added in v0.11.0

func (x *LoginResponse) Reset()

func (*LoginResponse) String added in v0.11.0

func (x *LoginResponse) String() string

type LsEntry

type LsEntry struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type  string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Path  string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Uid   int64  `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid   int64  `protobuf:"varint,5,opt,name=gid,proto3" json:"gid,omitempty"`
	Size  int64  `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	Mode  int64  `protobuf:"varint,7,opt,name=mode,proto3" json:"mode,omitempty"`
	Mtime string `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"`
	Atime string `protobuf:"bytes,9,opt,name=atime,proto3" json:"atime,omitempty"`
	Ctime string `protobuf:"bytes,10,opt,name=ctime,proto3" json:"ctime,omitempty"`
	// contains filtered or unexported fields
}

func (*LsEntry) Descriptor deprecated

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

Deprecated: Use LsEntry.ProtoReflect.Descriptor instead.

func (*LsEntry) GetAtime

func (x *LsEntry) GetAtime() string

func (*LsEntry) GetCtime

func (x *LsEntry) GetCtime() string

func (*LsEntry) GetGid

func (x *LsEntry) GetGid() int64

func (*LsEntry) GetMode

func (x *LsEntry) GetMode() int64

func (*LsEntry) GetMtime

func (x *LsEntry) GetMtime() string

func (*LsEntry) GetName

func (x *LsEntry) GetName() string

func (*LsEntry) GetPath

func (x *LsEntry) GetPath() string

func (*LsEntry) GetSize

func (x *LsEntry) GetSize() int64

func (*LsEntry) GetType

func (x *LsEntry) GetType() string

func (*LsEntry) GetUid

func (x *LsEntry) GetUid() int64

func (*LsEntry) ProtoMessage

func (*LsEntry) ProtoMessage()

func (*LsEntry) ProtoReflect

func (x *LsEntry) ProtoReflect() protoreflect.Message

func (*LsEntry) Reset

func (x *LsEntry) Reset()

func (*LsEntry) String

func (x *LsEntry) String() string

type OpSelector added in v1.0.0

type OpSelector struct {
	Ids        []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	RepoId     string  `protobuf:"bytes,2,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	PlanId     string  `protobuf:"bytes,3,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	SnapshotId string  `protobuf:"bytes,4,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	FlowId     int64   `protobuf:"varint,5,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
	// contains filtered or unexported fields
}

OpSelector is a message that can be used to select operations e.g. by query.

func (*OpSelector) Descriptor deprecated added in v1.0.0

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

Deprecated: Use OpSelector.ProtoReflect.Descriptor instead.

func (*OpSelector) GetFlowId added in v1.0.0

func (x *OpSelector) GetFlowId() int64

func (*OpSelector) GetIds added in v1.0.0

func (x *OpSelector) GetIds() []int64

func (*OpSelector) GetPlanId added in v1.0.0

func (x *OpSelector) GetPlanId() string

func (*OpSelector) GetRepoId added in v1.0.0

func (x *OpSelector) GetRepoId() string

func (*OpSelector) GetSnapshotId added in v1.0.0

func (x *OpSelector) GetSnapshotId() string

func (*OpSelector) ProtoMessage added in v1.0.0

func (*OpSelector) ProtoMessage()

func (*OpSelector) ProtoReflect added in v1.0.0

func (x *OpSelector) ProtoReflect() protoreflect.Message

func (*OpSelector) Reset added in v1.0.0

func (x *OpSelector) Reset()

func (*OpSelector) String added in v1.0.0

func (x *OpSelector) String() string

type Operation

type Operation struct {

	// required, primary ID of the operation. ID is sequential based on creation time of the operation.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// flow id groups operations together, e.g. by an execution of a plan.
	FlowId     int64  `protobuf:"varint,10,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"` // optional, flow id if associated with a flow
	RepoId     string `protobuf:"bytes,2,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	PlanId     string `protobuf:"bytes,3,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	InstanceId string `protobuf:"bytes,11,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// optional snapshot id if associated with a snapshot.
	SnapshotId string          `protobuf:"bytes,8,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	Status     OperationStatus `protobuf:"varint,4,opt,name=status,proto3,enum=v1.OperationStatus" json:"status,omitempty"`
	// required, unix time in milliseconds of the operation's creation (ID is derived from this)
	UnixTimeStartMs int64 `protobuf:"varint,5,opt,name=unix_time_start_ms,json=unixTimeStartMs,proto3" json:"unix_time_start_ms,omitempty"`
	// ptional, unix time in milliseconds of the operation's completion
	UnixTimeEndMs int64 `protobuf:"varint,6,opt,name=unix_time_end_ms,json=unixTimeEndMs,proto3" json:"unix_time_end_ms,omitempty"`
	// optional, human readable context message, typically an error message.
	DisplayMessage string `protobuf:"bytes,7,opt,name=display_message,json=displayMessage,proto3" json:"display_message,omitempty"`
	// logref can point to arbitrary logs associated with the operation.
	Logref string `protobuf:"bytes,9,opt,name=logref,proto3" json:"logref,omitempty"`
	// Types that are assignable to Op:
	//
	//	*Operation_OperationBackup
	//	*Operation_OperationIndexSnapshot
	//	*Operation_OperationForget
	//	*Operation_OperationPrune
	//	*Operation_OperationRestore
	//	*Operation_OperationStats
	//	*Operation_OperationRunHook
	//	*Operation_OperationCheck
	//	*Operation_OperationRunCommand
	Op isOperation_Op `protobuf_oneof:"op"`
	// contains filtered or unexported fields
}

func (*Operation) Descriptor deprecated

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetDisplayMessage

func (x *Operation) GetDisplayMessage() string

func (*Operation) GetFlowId added in v1.0.0

func (x *Operation) GetFlowId() int64

func (*Operation) GetId

func (x *Operation) GetId() int64

func (*Operation) GetInstanceId added in v1.0.0

func (x *Operation) GetInstanceId() string

func (*Operation) GetLogref added in v0.16.0

func (x *Operation) GetLogref() string

func (*Operation) GetOp

func (m *Operation) GetOp() isOperation_Op

func (*Operation) GetOperationBackup

func (x *Operation) GetOperationBackup() *OperationBackup

func (*Operation) GetOperationCheck added in v1.1.0

func (x *Operation) GetOperationCheck() *OperationCheck

func (*Operation) GetOperationForget

func (x *Operation) GetOperationForget() *OperationForget

func (*Operation) GetOperationIndexSnapshot

func (x *Operation) GetOperationIndexSnapshot() *OperationIndexSnapshot

func (*Operation) GetOperationPrune

func (x *Operation) GetOperationPrune() *OperationPrune

func (*Operation) GetOperationRestore

func (x *Operation) GetOperationRestore() *OperationRestore

func (*Operation) GetOperationRunCommand added in v1.6.0

func (x *Operation) GetOperationRunCommand() *OperationRunCommand

func (*Operation) GetOperationRunHook added in v0.11.0

func (x *Operation) GetOperationRunHook() *OperationRunHook

func (*Operation) GetOperationStats added in v0.8.0

func (x *Operation) GetOperationStats() *OperationStats

func (*Operation) GetPlanId

func (x *Operation) GetPlanId() string

func (*Operation) GetRepoId

func (x *Operation) GetRepoId() string

func (*Operation) GetSnapshotId

func (x *Operation) GetSnapshotId() string

func (*Operation) GetStatus

func (x *Operation) GetStatus() OperationStatus

func (*Operation) GetUnixTimeEndMs

func (x *Operation) GetUnixTimeEndMs() int64

func (*Operation) GetUnixTimeStartMs

func (x *Operation) GetUnixTimeStartMs() int64

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

func (x *Operation) ProtoReflect() protoreflect.Message

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type OperationBackup

type OperationBackup struct {
	LastStatus *BackupProgressEntry   `protobuf:"bytes,3,opt,name=last_status,json=lastStatus,proto3" json:"last_status,omitempty"`
	Errors     []*BackupProgressError `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationBackup) Descriptor deprecated

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

Deprecated: Use OperationBackup.ProtoReflect.Descriptor instead.

func (*OperationBackup) GetErrors added in v0.13.0

func (x *OperationBackup) GetErrors() []*BackupProgressError

func (*OperationBackup) GetLastStatus

func (x *OperationBackup) GetLastStatus() *BackupProgressEntry

func (*OperationBackup) ProtoMessage

func (*OperationBackup) ProtoMessage()

func (*OperationBackup) ProtoReflect

func (x *OperationBackup) ProtoReflect() protoreflect.Message

func (*OperationBackup) Reset

func (x *OperationBackup) Reset()

func (*OperationBackup) String

func (x *OperationBackup) String() string

type OperationCheck added in v1.1.0

type OperationCheck struct {

	// Deprecated: Marked as deprecated in v1/operations.proto.
	Output       string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`                                 // output of the check operation.
	OutputLogref string `protobuf:"bytes,2,opt,name=output_logref,json=outputLogref,proto3" json:"output_logref,omitempty"` // logref of the check output.
	// contains filtered or unexported fields
}

OperationCheck tracks a check operation.

func (*OperationCheck) Descriptor deprecated added in v1.1.0

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

Deprecated: Use OperationCheck.ProtoReflect.Descriptor instead.

func (*OperationCheck) GetOutput deprecated added in v1.1.0

func (x *OperationCheck) GetOutput() string

Deprecated: Marked as deprecated in v1/operations.proto.

func (*OperationCheck) GetOutputLogref added in v1.5.0

func (x *OperationCheck) GetOutputLogref() string

func (*OperationCheck) ProtoMessage added in v1.1.0

func (*OperationCheck) ProtoMessage()

func (*OperationCheck) ProtoReflect added in v1.1.0

func (x *OperationCheck) ProtoReflect() protoreflect.Message

func (*OperationCheck) Reset added in v1.1.0

func (x *OperationCheck) Reset()

func (*OperationCheck) String added in v1.1.0

func (x *OperationCheck) String() string

type OperationEvent

type OperationEvent struct {

	// Types that are assignable to Event:
	//
	//	*OperationEvent_KeepAlive
	//	*OperationEvent_CreatedOperations
	//	*OperationEvent_UpdatedOperations
	//	*OperationEvent_DeletedOperations
	Event isOperationEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

OperationEvent is used in the wireformat to stream operation changes to clients

func (*OperationEvent) Descriptor deprecated

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

Deprecated: Use OperationEvent.ProtoReflect.Descriptor instead.

func (*OperationEvent) GetCreatedOperations added in v1.5.0

func (x *OperationEvent) GetCreatedOperations() *OperationList

func (*OperationEvent) GetDeletedOperations added in v1.5.0

func (x *OperationEvent) GetDeletedOperations() *types.Int64List

func (*OperationEvent) GetEvent added in v1.5.0

func (m *OperationEvent) GetEvent() isOperationEvent_Event

func (*OperationEvent) GetKeepAlive added in v1.5.0

func (x *OperationEvent) GetKeepAlive() *types.Empty

func (*OperationEvent) GetUpdatedOperations added in v1.5.0

func (x *OperationEvent) GetUpdatedOperations() *OperationList

func (*OperationEvent) ProtoMessage

func (*OperationEvent) ProtoMessage()

func (*OperationEvent) ProtoReflect

func (x *OperationEvent) ProtoReflect() protoreflect.Message

func (*OperationEvent) Reset

func (x *OperationEvent) Reset()

func (*OperationEvent) String

func (x *OperationEvent) String() string

type OperationEventType

type OperationEventType int32

OperationEventType indicates whether the operation was created or updated

const (
	OperationEventType_EVENT_UNKNOWN OperationEventType = 0
	OperationEventType_EVENT_CREATED OperationEventType = 1
	OperationEventType_EVENT_UPDATED OperationEventType = 2
	OperationEventType_EVENT_DELETED OperationEventType = 3
)

func (OperationEventType) Descriptor

func (OperationEventType) Enum

func (OperationEventType) EnumDescriptor deprecated

func (OperationEventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperationEventType.Descriptor instead.

func (OperationEventType) Number

func (OperationEventType) String

func (x OperationEventType) String() string

func (OperationEventType) Type

type OperationEvent_CreatedOperations added in v1.5.0

type OperationEvent_CreatedOperations struct {
	CreatedOperations *OperationList `protobuf:"bytes,2,opt,name=created_operations,json=createdOperations,proto3,oneof"`
}

type OperationEvent_DeletedOperations added in v1.5.0

type OperationEvent_DeletedOperations struct {
	DeletedOperations *types.Int64List `protobuf:"bytes,4,opt,name=deleted_operations,json=deletedOperations,proto3,oneof"`
}

type OperationEvent_KeepAlive added in v1.5.0

type OperationEvent_KeepAlive struct {
	KeepAlive *types.Empty `protobuf:"bytes,1,opt,name=keep_alive,json=keepAlive,proto3,oneof"`
}

type OperationEvent_UpdatedOperations added in v1.5.0

type OperationEvent_UpdatedOperations struct {
	UpdatedOperations *OperationList `protobuf:"bytes,3,opt,name=updated_operations,json=updatedOperations,proto3,oneof"`
}

type OperationForget

type OperationForget struct {
	Forget []*ResticSnapshot `protobuf:"bytes,1,rep,name=forget,proto3" json:"forget,omitempty"`
	Policy *RetentionPolicy  `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

OperationForget tracks a forget operation.

func (*OperationForget) Descriptor deprecated

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

Deprecated: Use OperationForget.ProtoReflect.Descriptor instead.

func (*OperationForget) GetForget

func (x *OperationForget) GetForget() []*ResticSnapshot

func (*OperationForget) GetPolicy

func (x *OperationForget) GetPolicy() *RetentionPolicy

func (*OperationForget) ProtoMessage

func (*OperationForget) ProtoMessage()

func (*OperationForget) ProtoReflect

func (x *OperationForget) ProtoReflect() protoreflect.Message

func (*OperationForget) Reset

func (x *OperationForget) Reset()

func (*OperationForget) String

func (x *OperationForget) String() string

type OperationIndexSnapshot

type OperationIndexSnapshot struct {
	Snapshot *ResticSnapshot `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"` // the snapshot that was indexed.
	Forgot   bool            `protobuf:"varint,3,opt,name=forgot,proto3" json:"forgot,omitempty"`    // tracks whether this snapshot is forgotten yet.
	// contains filtered or unexported fields
}

OperationIndexSnapshot tracks that a snapshot was detected by backrest.

func (*OperationIndexSnapshot) Descriptor deprecated

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

Deprecated: Use OperationIndexSnapshot.ProtoReflect.Descriptor instead.

func (*OperationIndexSnapshot) GetForgot

func (x *OperationIndexSnapshot) GetForgot() bool

func (*OperationIndexSnapshot) GetSnapshot

func (x *OperationIndexSnapshot) GetSnapshot() *ResticSnapshot

func (*OperationIndexSnapshot) ProtoMessage

func (*OperationIndexSnapshot) ProtoMessage()

func (*OperationIndexSnapshot) ProtoReflect

func (x *OperationIndexSnapshot) ProtoReflect() protoreflect.Message

func (*OperationIndexSnapshot) Reset

func (x *OperationIndexSnapshot) Reset()

func (*OperationIndexSnapshot) String

func (x *OperationIndexSnapshot) String() string

type OperationList

type OperationList struct {
	Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationList) Descriptor deprecated

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

Deprecated: Use OperationList.ProtoReflect.Descriptor instead.

func (*OperationList) GetOperations

func (x *OperationList) GetOperations() []*Operation

func (*OperationList) ProtoMessage

func (*OperationList) ProtoMessage()

func (*OperationList) ProtoReflect

func (x *OperationList) ProtoReflect() protoreflect.Message

func (*OperationList) Reset

func (x *OperationList) Reset()

func (*OperationList) String

func (x *OperationList) String() string

type OperationPrune

type OperationPrune struct {

	// Deprecated: Marked as deprecated in v1/operations.proto.
	Output       string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`                                 // output of the prune.
	OutputLogref string `protobuf:"bytes,2,opt,name=output_logref,json=outputLogref,proto3" json:"output_logref,omitempty"` // logref of the prune output.
	// contains filtered or unexported fields
}

OperationPrune tracks a prune operation.

func (*OperationPrune) Descriptor deprecated

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

Deprecated: Use OperationPrune.ProtoReflect.Descriptor instead.

func (*OperationPrune) GetOutput deprecated

func (x *OperationPrune) GetOutput() string

Deprecated: Marked as deprecated in v1/operations.proto.

func (*OperationPrune) GetOutputLogref added in v1.5.0

func (x *OperationPrune) GetOutputLogref() string

func (*OperationPrune) ProtoMessage

func (*OperationPrune) ProtoMessage()

func (*OperationPrune) ProtoReflect

func (x *OperationPrune) ProtoReflect() protoreflect.Message

func (*OperationPrune) Reset

func (x *OperationPrune) Reset()

func (*OperationPrune) String

func (x *OperationPrune) String() string

type OperationRestore

type OperationRestore struct {
	Path       string                `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`                               // path in the snapshot to restore.
	Target     string                `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`                           // location to restore it to.
	LastStatus *RestoreProgressEntry `protobuf:"bytes,3,opt,name=last_status,json=lastStatus,proto3" json:"last_status,omitempty"` // status of the restore.
	// contains filtered or unexported fields
}

OperationRestore tracks a restore operation.

func (*OperationRestore) Descriptor deprecated

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

Deprecated: Use OperationRestore.ProtoReflect.Descriptor instead.

func (*OperationRestore) GetLastStatus added in v1.3.0

func (x *OperationRestore) GetLastStatus() *RestoreProgressEntry

func (*OperationRestore) GetPath

func (x *OperationRestore) GetPath() string

func (*OperationRestore) GetTarget

func (x *OperationRestore) GetTarget() string

func (*OperationRestore) ProtoMessage

func (*OperationRestore) ProtoMessage()

func (*OperationRestore) ProtoReflect

func (x *OperationRestore) ProtoReflect() protoreflect.Message

func (*OperationRestore) Reset

func (x *OperationRestore) Reset()

func (*OperationRestore) String

func (x *OperationRestore) String() string

type OperationRunCommand added in v1.6.0

type OperationRunCommand struct {
	Command         string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	OutputLogref    string `protobuf:"bytes,2,opt,name=output_logref,json=outputLogref,proto3" json:"output_logref,omitempty"`
	OutputSizeBytes int64  `protobuf:"varint,3,opt,name=output_size_bytes,json=outputSizeBytes,proto3" json:"output_size_bytes,omitempty"` // not necessarily authoritative, tracked as an optimization to allow clients to avoid fetching very large outputs.
	// contains filtered or unexported fields
}

OperationRunCommand tracks a long running command. Commands are grouped into a flow ID for each session.

func (*OperationRunCommand) Descriptor deprecated added in v1.6.0

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

Deprecated: Use OperationRunCommand.ProtoReflect.Descriptor instead.

func (*OperationRunCommand) GetCommand added in v1.6.0

func (x *OperationRunCommand) GetCommand() string

func (*OperationRunCommand) GetOutputLogref added in v1.6.0

func (x *OperationRunCommand) GetOutputLogref() string

func (*OperationRunCommand) GetOutputSizeBytes added in v1.6.0

func (x *OperationRunCommand) GetOutputSizeBytes() int64

func (*OperationRunCommand) ProtoMessage added in v1.6.0

func (*OperationRunCommand) ProtoMessage()

func (*OperationRunCommand) ProtoReflect added in v1.6.0

func (x *OperationRunCommand) ProtoReflect() protoreflect.Message

func (*OperationRunCommand) Reset added in v1.6.0

func (x *OperationRunCommand) Reset()

func (*OperationRunCommand) String added in v1.6.0

func (x *OperationRunCommand) String() string

type OperationRunHook added in v0.11.0

type OperationRunHook struct {
	ParentOp     int64          `protobuf:"varint,4,opt,name=parent_op,json=parentOp,proto3" json:"parent_op,omitempty"`            // ID of the operation that ran the hook.
	Name         string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                     // description of the hook that was run. typically repo/hook_idx or plan/hook_idx.
	OutputLogref string         `protobuf:"bytes,2,opt,name=output_logref,json=outputLogref,proto3" json:"output_logref,omitempty"` // logref of the hook's output. DEPRECATED.
	Condition    Hook_Condition `protobuf:"varint,3,opt,name=condition,proto3,enum=v1.Hook_Condition" json:"condition,omitempty"`   // triggering condition of the hook.
	// contains filtered or unexported fields
}

OperationRunHook tracks a hook that was run.

func (*OperationRunHook) Descriptor deprecated added in v0.11.0

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

Deprecated: Use OperationRunHook.ProtoReflect.Descriptor instead.

func (*OperationRunHook) GetCondition added in v1.0.0

func (x *OperationRunHook) GetCondition() Hook_Condition

func (*OperationRunHook) GetName added in v0.11.0

func (x *OperationRunHook) GetName() string

func (*OperationRunHook) GetOutputLogref added in v0.11.0

func (x *OperationRunHook) GetOutputLogref() string

func (*OperationRunHook) GetParentOp added in v1.3.0

func (x *OperationRunHook) GetParentOp() int64

func (*OperationRunHook) ProtoMessage added in v0.11.0

func (*OperationRunHook) ProtoMessage()

func (*OperationRunHook) ProtoReflect added in v0.11.0

func (x *OperationRunHook) ProtoReflect() protoreflect.Message

func (*OperationRunHook) Reset added in v0.11.0

func (x *OperationRunHook) Reset()

func (*OperationRunHook) String added in v0.11.0

func (x *OperationRunHook) String() string

type OperationStats added in v0.8.0

type OperationStats struct {
	Stats *RepoStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

OperationStats tracks a stats operation.

func (*OperationStats) Descriptor deprecated added in v0.8.0

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

Deprecated: Use OperationStats.ProtoReflect.Descriptor instead.

func (*OperationStats) GetStats added in v0.8.0

func (x *OperationStats) GetStats() *RepoStats

func (*OperationStats) ProtoMessage added in v0.8.0

func (*OperationStats) ProtoMessage()

func (*OperationStats) ProtoReflect added in v0.8.0

func (x *OperationStats) ProtoReflect() protoreflect.Message

func (*OperationStats) Reset added in v0.8.0

func (x *OperationStats) Reset()

func (*OperationStats) String added in v0.8.0

func (x *OperationStats) String() string

type OperationStatus

type OperationStatus int32
const (
	OperationStatus_STATUS_UNKNOWN          OperationStatus = 0 // used to indicate that the status is unknown.
	OperationStatus_STATUS_PENDING          OperationStatus = 1 // used to indicate that the operation is pending.
	OperationStatus_STATUS_INPROGRESS       OperationStatus = 2 // used to indicate that the operation is in progress.
	OperationStatus_STATUS_SUCCESS          OperationStatus = 3 // used to indicate that the operation completed successfully.
	OperationStatus_STATUS_WARNING          OperationStatus = 7 // used to indicate that the operation completed with warnings.
	OperationStatus_STATUS_ERROR            OperationStatus = 4 // used to indicate that the operation failed.
	OperationStatus_STATUS_SYSTEM_CANCELLED OperationStatus = 5 // indicates operation cancelled by the system.
	OperationStatus_STATUS_USER_CANCELLED   OperationStatus = 6 // indicates operation cancelled by the user.
)

func (OperationStatus) Descriptor

func (OperationStatus) Enum

func (x OperationStatus) Enum() *OperationStatus

func (OperationStatus) EnumDescriptor deprecated

func (OperationStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperationStatus.Descriptor instead.

func (OperationStatus) Number

func (OperationStatus) String

func (x OperationStatus) String() string

func (OperationStatus) Type

type Operation_OperationBackup

type Operation_OperationBackup struct {
	OperationBackup *OperationBackup `protobuf:"bytes,100,opt,name=operation_backup,json=operationBackup,proto3,oneof"`
}

type Operation_OperationCheck added in v1.1.0

type Operation_OperationCheck struct {
	OperationCheck *OperationCheck `protobuf:"bytes,107,opt,name=operation_check,json=operationCheck,proto3,oneof"`
}

type Operation_OperationForget

type Operation_OperationForget struct {
	OperationForget *OperationForget `protobuf:"bytes,102,opt,name=operation_forget,json=operationForget,proto3,oneof"`
}

type Operation_OperationIndexSnapshot

type Operation_OperationIndexSnapshot struct {
	OperationIndexSnapshot *OperationIndexSnapshot `protobuf:"bytes,101,opt,name=operation_index_snapshot,json=operationIndexSnapshot,proto3,oneof"`
}

type Operation_OperationPrune

type Operation_OperationPrune struct {
	OperationPrune *OperationPrune `protobuf:"bytes,103,opt,name=operation_prune,json=operationPrune,proto3,oneof"`
}

type Operation_OperationRestore

type Operation_OperationRestore struct {
	OperationRestore *OperationRestore `protobuf:"bytes,104,opt,name=operation_restore,json=operationRestore,proto3,oneof"`
}

type Operation_OperationRunCommand added in v1.6.0

type Operation_OperationRunCommand struct {
	OperationRunCommand *OperationRunCommand `protobuf:"bytes,108,opt,name=operation_run_command,json=operationRunCommand,proto3,oneof"`
}

type Operation_OperationRunHook added in v0.11.0

type Operation_OperationRunHook struct {
	OperationRunHook *OperationRunHook `protobuf:"bytes,106,opt,name=operation_run_hook,json=operationRunHook,proto3,oneof"`
}

type Operation_OperationStats added in v0.8.0

type Operation_OperationStats struct {
	OperationStats *OperationStats `protobuf:"bytes,105,opt,name=operation_stats,json=operationStats,proto3,oneof"`
}

type Plan

type Plan struct {
	Id              string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                      // unique but human readable ID for this plan.
	Repo            string           `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`                                                  // ID of the repo to use.
	Paths           []string         `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"`                                                // paths to include in the backup.
	Excludes        []string         `protobuf:"bytes,5,rep,name=excludes,proto3" json:"excludes,omitempty"`                                          // glob patterns to exclude.
	Iexcludes       []string         `protobuf:"bytes,9,rep,name=iexcludes,proto3" json:"iexcludes,omitempty"`                                        // case insensitive glob patterns to exclude.
	Schedule        *Schedule        `protobuf:"bytes,12,opt,name=schedule,proto3" json:"schedule,omitempty"`                                         // schedule for the backup.
	Retention       *RetentionPolicy `protobuf:"bytes,7,opt,name=retention,proto3" json:"retention,omitempty"`                                        // retention policy for snapshots.
	Hooks           []*Hook          `protobuf:"bytes,8,rep,name=hooks,proto3" json:"hooks,omitempty"`                                                // hooks to run on events for this plan.
	BackupFlags     []string         `protobuf:"bytes,10,rep,name=backup_flags,proto3" json:"backup_flags,omitempty"`                                 // extra flags to set when running a backup command.
	SkipIfUnchanged bool             `protobuf:"varint,13,opt,name=skip_if_unchanged,json=skipIfUnchanged,proto3" json:"skip_if_unchanged,omitempty"` // skip the backup if no changes are detected.
	// contains filtered or unexported fields
}

func (*Plan) Descriptor deprecated

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

Deprecated: Use Plan.ProtoReflect.Descriptor instead.

func (*Plan) GetBackupFlags added in v0.14.0

func (x *Plan) GetBackupFlags() []string

func (*Plan) GetExcludes

func (x *Plan) GetExcludes() []string

func (*Plan) GetHooks added in v0.11.0

func (x *Plan) GetHooks() []*Hook

func (*Plan) GetId

func (x *Plan) GetId() string

func (*Plan) GetIexcludes added in v0.13.0

func (x *Plan) GetIexcludes() []string

func (*Plan) GetPaths

func (x *Plan) GetPaths() []string

func (*Plan) GetRepo

func (x *Plan) GetRepo() string

func (*Plan) GetRetention

func (x *Plan) GetRetention() *RetentionPolicy

func (*Plan) GetSchedule added in v1.0.0

func (x *Plan) GetSchedule() *Schedule

func (*Plan) GetSkipIfUnchanged added in v1.6.0

func (x *Plan) GetSkipIfUnchanged() bool

func (*Plan) ProtoMessage

func (*Plan) ProtoMessage()

func (*Plan) ProtoReflect

func (x *Plan) ProtoReflect() protoreflect.Message

func (*Plan) Reset

func (x *Plan) Reset()

func (*Plan) String

func (x *Plan) String() string

type PrunePolicy

type PrunePolicy struct {
	Schedule         *Schedule `protobuf:"bytes,2,opt,name=schedule,proto3" json:"schedule,omitempty"`
	MaxUnusedBytes   int64     `protobuf:"varint,3,opt,name=max_unused_bytes,json=maxUnusedBytes,proto3" json:"max_unused_bytes,omitempty"`        // max unused bytes before running prune.
	MaxUnusedPercent float64   `protobuf:"fixed64,4,opt,name=max_unused_percent,json=maxUnusedPercent,proto3" json:"max_unused_percent,omitempty"` // max unused percent before running prune.
	// contains filtered or unexported fields
}

func (*PrunePolicy) Descriptor deprecated

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

Deprecated: Use PrunePolicy.ProtoReflect.Descriptor instead.

func (*PrunePolicy) GetMaxUnusedBytes

func (x *PrunePolicy) GetMaxUnusedBytes() int64

func (*PrunePolicy) GetMaxUnusedPercent

func (x *PrunePolicy) GetMaxUnusedPercent() float64

func (*PrunePolicy) GetSchedule added in v1.0.0

func (x *PrunePolicy) GetSchedule() *Schedule

func (*PrunePolicy) ProtoMessage

func (*PrunePolicy) ProtoMessage()

func (*PrunePolicy) ProtoReflect

func (x *PrunePolicy) ProtoReflect() protoreflect.Message

func (*PrunePolicy) Reset

func (x *PrunePolicy) Reset()

func (*PrunePolicy) String

func (x *PrunePolicy) String() string

type Repo

type Repo struct {
	Id            string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                             // unique but human readable ID for this repo.
	Uri           string         `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`                                           // restic repo URI
	Password      string         `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`                                 // plaintext password
	Env           []string       `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`                                           // extra environment variables to set for restic.
	Flags         []string       `protobuf:"bytes,5,rep,name=flags,proto3" json:"flags,omitempty"`                                       // extra flags set on the restic command.
	PrunePolicy   *PrunePolicy   `protobuf:"bytes,6,opt,name=prune_policy,json=prunePolicy,proto3" json:"prune_policy,omitempty"`        // policy for when to run prune.
	CheckPolicy   *CheckPolicy   `protobuf:"bytes,9,opt,name=check_policy,json=checkPolicy,proto3" json:"check_policy,omitempty"`        // policy for when to run check.
	Hooks         []*Hook        `protobuf:"bytes,7,rep,name=hooks,proto3" json:"hooks,omitempty"`                                       // hooks to run on events for this repo.
	AutoUnlock    bool           `protobuf:"varint,8,opt,name=auto_unlock,json=autoUnlock,proto3" json:"auto_unlock,omitempty"`          // automatically unlock the repo when needed.
	CommandPrefix *CommandPrefix `protobuf:"bytes,10,opt,name=command_prefix,json=commandPrefix,proto3" json:"command_prefix,omitempty"` // modifiers for the restic commands
	// contains filtered or unexported fields
}

func (*Repo) Descriptor deprecated

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

Deprecated: Use Repo.ProtoReflect.Descriptor instead.

func (*Repo) GetAutoUnlock added in v0.13.0

func (x *Repo) GetAutoUnlock() bool

func (*Repo) GetCheckPolicy added in v1.0.0

func (x *Repo) GetCheckPolicy() *CheckPolicy

func (*Repo) GetCommandPrefix added in v1.1.0

func (x *Repo) GetCommandPrefix() *CommandPrefix

func (*Repo) GetEnv

func (x *Repo) GetEnv() []string

func (*Repo) GetFlags

func (x *Repo) GetFlags() []string

func (*Repo) GetHooks added in v0.11.0

func (x *Repo) GetHooks() []*Hook

func (*Repo) GetId

func (x *Repo) GetId() string

func (*Repo) GetPassword

func (x *Repo) GetPassword() string

func (*Repo) GetPrunePolicy

func (x *Repo) GetPrunePolicy() *PrunePolicy

func (*Repo) GetUri

func (x *Repo) GetUri() string

func (*Repo) ProtoMessage

func (*Repo) ProtoMessage()

func (*Repo) ProtoReflect

func (x *Repo) ProtoReflect() protoreflect.Message

func (*Repo) Reset

func (x *Repo) Reset()

func (*Repo) String

func (x *Repo) String() string

type RepoStats added in v0.8.0

type RepoStats struct {
	TotalSize             int64   `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	TotalUncompressedSize int64   `` /* 127-byte string literal not displayed */
	CompressionRatio      float64 `protobuf:"fixed64,3,opt,name=compression_ratio,json=compressionRatio,proto3" json:"compression_ratio,omitempty"`
	TotalBlobCount        int64   `protobuf:"varint,5,opt,name=total_blob_count,json=totalBlobCount,proto3" json:"total_blob_count,omitempty"`
	SnapshotCount         int64   `protobuf:"varint,6,opt,name=snapshot_count,json=snapshotCount,proto3" json:"snapshot_count,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoStats) Descriptor deprecated added in v0.8.0

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

Deprecated: Use RepoStats.ProtoReflect.Descriptor instead.

func (*RepoStats) GetCompressionRatio added in v0.8.0

func (x *RepoStats) GetCompressionRatio() float64

func (*RepoStats) GetSnapshotCount added in v0.8.0

func (x *RepoStats) GetSnapshotCount() int64

func (*RepoStats) GetTotalBlobCount added in v0.8.0

func (x *RepoStats) GetTotalBlobCount() int64

func (*RepoStats) GetTotalSize added in v0.8.0

func (x *RepoStats) GetTotalSize() int64

func (*RepoStats) GetTotalUncompressedSize added in v0.8.0

func (x *RepoStats) GetTotalUncompressedSize() int64

func (*RepoStats) ProtoMessage added in v0.8.0

func (*RepoStats) ProtoMessage()

func (*RepoStats) ProtoReflect added in v0.8.0

func (x *RepoStats) ProtoReflect() protoreflect.Message

func (*RepoStats) Reset added in v0.8.0

func (x *RepoStats) Reset()

func (*RepoStats) String added in v0.8.0

func (x *RepoStats) String() string

type ResticSnapshot

type ResticSnapshot struct {
	Id         string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UnixTimeMs int64            `protobuf:"varint,2,opt,name=unix_time_ms,json=unixTimeMs,proto3" json:"unix_time_ms,omitempty"`
	Hostname   string           `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Username   string           `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Tree       string           `protobuf:"bytes,5,opt,name=tree,proto3" json:"tree,omitempty"`     // tree hash
	Parent     string           `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"` // parent snapshot's id
	Paths      []string         `protobuf:"bytes,7,rep,name=paths,proto3" json:"paths,omitempty"`
	Tags       []string         `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	Summary    *SnapshotSummary `protobuf:"bytes,9,opt,name=summary,proto3" json:"summary,omitempty"` // added in 0.17.0 restic outputs the summary in the snapshot
	// contains filtered or unexported fields
}

ResticSnapshot represents a restic snapshot.

func (*ResticSnapshot) Descriptor deprecated

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

Deprecated: Use ResticSnapshot.ProtoReflect.Descriptor instead.

func (*ResticSnapshot) GetHostname

func (x *ResticSnapshot) GetHostname() string

func (*ResticSnapshot) GetId

func (x *ResticSnapshot) GetId() string

func (*ResticSnapshot) GetParent

func (x *ResticSnapshot) GetParent() string

func (*ResticSnapshot) GetPaths

func (x *ResticSnapshot) GetPaths() []string

func (*ResticSnapshot) GetSummary added in v1.4.0

func (x *ResticSnapshot) GetSummary() *SnapshotSummary

func (*ResticSnapshot) GetTags

func (x *ResticSnapshot) GetTags() []string

func (*ResticSnapshot) GetTree

func (x *ResticSnapshot) GetTree() string

func (*ResticSnapshot) GetUnixTimeMs

func (x *ResticSnapshot) GetUnixTimeMs() int64

func (*ResticSnapshot) GetUsername

func (x *ResticSnapshot) GetUsername() string

func (*ResticSnapshot) ProtoMessage

func (*ResticSnapshot) ProtoMessage()

func (*ResticSnapshot) ProtoReflect

func (x *ResticSnapshot) ProtoReflect() protoreflect.Message

func (*ResticSnapshot) Reset

func (x *ResticSnapshot) Reset()

func (*ResticSnapshot) String

func (x *ResticSnapshot) String() string

type ResticSnapshotList

type ResticSnapshotList struct {
	Snapshots []*ResticSnapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
	// contains filtered or unexported fields
}

ResticSnapshotList represents a list of restic snapshots.

func (*ResticSnapshotList) Descriptor deprecated

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

Deprecated: Use ResticSnapshotList.ProtoReflect.Descriptor instead.

func (*ResticSnapshotList) GetSnapshots

func (x *ResticSnapshotList) GetSnapshots() []*ResticSnapshot

func (*ResticSnapshotList) ProtoMessage

func (*ResticSnapshotList) ProtoMessage()

func (*ResticSnapshotList) ProtoReflect

func (x *ResticSnapshotList) ProtoReflect() protoreflect.Message

func (*ResticSnapshotList) Reset

func (x *ResticSnapshotList) Reset()

func (*ResticSnapshotList) String

func (x *ResticSnapshotList) String() string

type RestoreProgressEntry

type RestoreProgressEntry struct {
	MessageType    string  `protobuf:"bytes,1,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"` // "summary" or "status"
	SecondsElapsed float64 `protobuf:"fixed64,2,opt,name=seconds_elapsed,json=secondsElapsed,proto3" json:"seconds_elapsed,omitempty"`
	TotalBytes     int64   `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	BytesRestored  int64   `protobuf:"varint,4,opt,name=bytes_restored,json=bytesRestored,proto3" json:"bytes_restored,omitempty"`
	TotalFiles     int64   `protobuf:"varint,5,opt,name=total_files,json=totalFiles,proto3" json:"total_files,omitempty"`
	FilesRestored  int64   `protobuf:"varint,6,opt,name=files_restored,json=filesRestored,proto3" json:"files_restored,omitempty"`
	PercentDone    float64 `protobuf:"fixed64,7,opt,name=percent_done,json=percentDone,proto3" json:"percent_done,omitempty"` // 0.0 - 1.0
	// contains filtered or unexported fields
}

RestoreProgressEvent represents a single entry in the restore progress stream.

func (*RestoreProgressEntry) Descriptor deprecated

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

Deprecated: Use RestoreProgressEntry.ProtoReflect.Descriptor instead.

func (*RestoreProgressEntry) GetBytesRestored

func (x *RestoreProgressEntry) GetBytesRestored() int64

func (*RestoreProgressEntry) GetFilesRestored

func (x *RestoreProgressEntry) GetFilesRestored() int64

func (*RestoreProgressEntry) GetMessageType

func (x *RestoreProgressEntry) GetMessageType() string

func (*RestoreProgressEntry) GetPercentDone

func (x *RestoreProgressEntry) GetPercentDone() float64

func (*RestoreProgressEntry) GetSecondsElapsed

func (x *RestoreProgressEntry) GetSecondsElapsed() float64

func (*RestoreProgressEntry) GetTotalBytes

func (x *RestoreProgressEntry) GetTotalBytes() int64

func (*RestoreProgressEntry) GetTotalFiles

func (x *RestoreProgressEntry) GetTotalFiles() int64

func (*RestoreProgressEntry) ProtoMessage

func (*RestoreProgressEntry) ProtoMessage()

func (*RestoreProgressEntry) ProtoReflect

func (x *RestoreProgressEntry) ProtoReflect() protoreflect.Message

func (*RestoreProgressEntry) Reset

func (x *RestoreProgressEntry) Reset()

func (*RestoreProgressEntry) String

func (x *RestoreProgressEntry) String() string

type RestoreSnapshotRequest

type RestoreSnapshotRequest struct {
	PlanId     string `protobuf:"bytes,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	RepoId     string `protobuf:"bytes,5,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	SnapshotId string `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	Path       string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Target     string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreSnapshotRequest) Descriptor deprecated

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

Deprecated: Use RestoreSnapshotRequest.ProtoReflect.Descriptor instead.

func (*RestoreSnapshotRequest) GetPath

func (x *RestoreSnapshotRequest) GetPath() string

func (*RestoreSnapshotRequest) GetPlanId

func (x *RestoreSnapshotRequest) GetPlanId() string

func (*RestoreSnapshotRequest) GetRepoId

func (x *RestoreSnapshotRequest) GetRepoId() string

func (*RestoreSnapshotRequest) GetSnapshotId

func (x *RestoreSnapshotRequest) GetSnapshotId() string

func (*RestoreSnapshotRequest) GetTarget

func (x *RestoreSnapshotRequest) GetTarget() string

func (*RestoreSnapshotRequest) ProtoMessage

func (*RestoreSnapshotRequest) ProtoMessage()

func (*RestoreSnapshotRequest) ProtoReflect

func (x *RestoreSnapshotRequest) ProtoReflect() protoreflect.Message

func (*RestoreSnapshotRequest) Reset

func (x *RestoreSnapshotRequest) Reset()

func (*RestoreSnapshotRequest) String

func (x *RestoreSnapshotRequest) String() string

type RetentionPolicy

type RetentionPolicy struct {

	// Types that are assignable to Policy:
	//
	//	*RetentionPolicy_PolicyKeepLastN
	//	*RetentionPolicy_PolicyTimeBucketed
	//	*RetentionPolicy_PolicyKeepAll
	Policy isRetentionPolicy_Policy `protobuf_oneof:"policy"`
	// contains filtered or unexported fields
}

func (*RetentionPolicy) Descriptor deprecated

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

Deprecated: Use RetentionPolicy.ProtoReflect.Descriptor instead.

func (*RetentionPolicy) GetPolicy added in v0.13.0

func (m *RetentionPolicy) GetPolicy() isRetentionPolicy_Policy

func (*RetentionPolicy) GetPolicyKeepAll added in v0.13.0

func (x *RetentionPolicy) GetPolicyKeepAll() bool

func (*RetentionPolicy) GetPolicyKeepLastN added in v0.13.0

func (x *RetentionPolicy) GetPolicyKeepLastN() int32

func (*RetentionPolicy) GetPolicyTimeBucketed added in v0.13.0

func (x *RetentionPolicy) GetPolicyTimeBucketed() *RetentionPolicy_TimeBucketedCounts

func (*RetentionPolicy) ProtoMessage

func (*RetentionPolicy) ProtoMessage()

func (*RetentionPolicy) ProtoReflect

func (x *RetentionPolicy) ProtoReflect() protoreflect.Message

func (*RetentionPolicy) Reset

func (x *RetentionPolicy) Reset()

func (*RetentionPolicy) String

func (x *RetentionPolicy) String() string

type RetentionPolicy_PolicyKeepAll added in v0.13.0

type RetentionPolicy_PolicyKeepAll struct {
	PolicyKeepAll bool `protobuf:"varint,12,opt,name=policy_keep_all,json=policyKeepAll,proto3,oneof"`
}

type RetentionPolicy_PolicyKeepLastN added in v0.13.0

type RetentionPolicy_PolicyKeepLastN struct {
	PolicyKeepLastN int32 `protobuf:"varint,10,opt,name=policy_keep_last_n,json=policyKeepLastN,proto3,oneof"`
}

type RetentionPolicy_PolicyTimeBucketed added in v0.13.0

type RetentionPolicy_PolicyTimeBucketed struct {
	PolicyTimeBucketed *RetentionPolicy_TimeBucketedCounts `protobuf:"bytes,11,opt,name=policy_time_bucketed,json=policyTimeBucketed,proto3,oneof"`
}

type RetentionPolicy_TimeBucketedCounts added in v0.13.0

type RetentionPolicy_TimeBucketedCounts struct {
	Hourly  int32 `protobuf:"varint,1,opt,name=hourly,proto3" json:"hourly,omitempty"`   // keep the last n hourly snapshots.
	Daily   int32 `protobuf:"varint,2,opt,name=daily,proto3" json:"daily,omitempty"`     // keep the last n daily snapshots.
	Weekly  int32 `protobuf:"varint,3,opt,name=weekly,proto3" json:"weekly,omitempty"`   // keep the last n weekly snapshots.
	Monthly int32 `protobuf:"varint,4,opt,name=monthly,proto3" json:"monthly,omitempty"` // keep the last n monthly snapshots.
	Yearly  int32 `protobuf:"varint,5,opt,name=yearly,proto3" json:"yearly,omitempty"`   // keep the last n yearly snapshots.
	// contains filtered or unexported fields
}

func (*RetentionPolicy_TimeBucketedCounts) Descriptor deprecated added in v0.13.0

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

Deprecated: Use RetentionPolicy_TimeBucketedCounts.ProtoReflect.Descriptor instead.

func (*RetentionPolicy_TimeBucketedCounts) GetDaily added in v0.13.0

func (*RetentionPolicy_TimeBucketedCounts) GetHourly added in v0.13.0

func (*RetentionPolicy_TimeBucketedCounts) GetMonthly added in v0.13.0

func (x *RetentionPolicy_TimeBucketedCounts) GetMonthly() int32

func (*RetentionPolicy_TimeBucketedCounts) GetWeekly added in v0.13.0

func (*RetentionPolicy_TimeBucketedCounts) GetYearly added in v0.13.0

func (*RetentionPolicy_TimeBucketedCounts) ProtoMessage added in v0.13.0

func (*RetentionPolicy_TimeBucketedCounts) ProtoMessage()

func (*RetentionPolicy_TimeBucketedCounts) ProtoReflect added in v0.13.0

func (*RetentionPolicy_TimeBucketedCounts) Reset added in v0.13.0

func (*RetentionPolicy_TimeBucketedCounts) String added in v0.13.0

type RunCommandRequest added in v1.0.0

type RunCommandRequest struct {
	RepoId  string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*RunCommandRequest) Descriptor deprecated added in v1.0.0

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

Deprecated: Use RunCommandRequest.ProtoReflect.Descriptor instead.

func (*RunCommandRequest) GetCommand added in v1.0.0

func (x *RunCommandRequest) GetCommand() string

func (*RunCommandRequest) GetRepoId added in v1.0.0

func (x *RunCommandRequest) GetRepoId() string

func (*RunCommandRequest) ProtoMessage added in v1.0.0

func (*RunCommandRequest) ProtoMessage()

func (*RunCommandRequest) ProtoReflect added in v1.0.0

func (x *RunCommandRequest) ProtoReflect() protoreflect.Message

func (*RunCommandRequest) Reset added in v1.0.0

func (x *RunCommandRequest) Reset()

func (*RunCommandRequest) String added in v1.0.0

func (x *RunCommandRequest) String() string

type Schedule added in v1.0.0

type Schedule struct {

	// Types that are assignable to Schedule:
	//
	//	*Schedule_Disabled
	//	*Schedule_Cron
	//	*Schedule_MaxFrequencyDays
	//	*Schedule_MaxFrequencyHours
	Schedule isSchedule_Schedule `protobuf_oneof:"schedule"`
	Clock    Schedule_Clock      `protobuf:"varint,5,opt,name=clock,proto3,enum=v1.Schedule_Clock" json:"clock,omitempty"` // clock to use for scheduling.
	// contains filtered or unexported fields
}

func (*Schedule) Descriptor deprecated added in v1.0.0

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

Deprecated: Use Schedule.ProtoReflect.Descriptor instead.

func (*Schedule) GetClock added in v1.5.0

func (x *Schedule) GetClock() Schedule_Clock

func (*Schedule) GetCron added in v1.0.0

func (x *Schedule) GetCron() string

func (*Schedule) GetDisabled added in v1.0.0

func (x *Schedule) GetDisabled() bool

func (*Schedule) GetMaxFrequencyDays added in v1.0.0

func (x *Schedule) GetMaxFrequencyDays() int32

func (*Schedule) GetMaxFrequencyHours added in v1.0.0

func (x *Schedule) GetMaxFrequencyHours() int32

func (*Schedule) GetSchedule added in v1.0.0

func (m *Schedule) GetSchedule() isSchedule_Schedule

func (*Schedule) ProtoMessage added in v1.0.0

func (*Schedule) ProtoMessage()

func (*Schedule) ProtoReflect added in v1.0.0

func (x *Schedule) ProtoReflect() protoreflect.Message

func (*Schedule) Reset added in v1.0.0

func (x *Schedule) Reset()

func (*Schedule) String added in v1.0.0

func (x *Schedule) String() string

type Schedule_Clock added in v1.5.0

type Schedule_Clock int32
const (
	Schedule_CLOCK_DEFAULT       Schedule_Clock = 0 // same as CLOCK_LOCAL
	Schedule_CLOCK_LOCAL         Schedule_Clock = 1
	Schedule_CLOCK_UTC           Schedule_Clock = 2
	Schedule_CLOCK_LAST_RUN_TIME Schedule_Clock = 3
)

func (Schedule_Clock) Descriptor added in v1.5.0

func (Schedule_Clock) Enum added in v1.5.0

func (x Schedule_Clock) Enum() *Schedule_Clock

func (Schedule_Clock) EnumDescriptor deprecated added in v1.5.0

func (Schedule_Clock) EnumDescriptor() ([]byte, []int)

Deprecated: Use Schedule_Clock.Descriptor instead.

func (Schedule_Clock) Number added in v1.5.0

func (Schedule_Clock) String added in v1.5.0

func (x Schedule_Clock) String() string

func (Schedule_Clock) Type added in v1.5.0

type Schedule_Cron added in v1.0.0

type Schedule_Cron struct {
	Cron string `protobuf:"bytes,2,opt,name=cron,proto3,oneof"` // cron expression describing the schedule.
}

type Schedule_Disabled added in v1.0.0

type Schedule_Disabled struct {
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3,oneof"` // disable the schedule.
}

type Schedule_MaxFrequencyDays added in v1.0.0

type Schedule_MaxFrequencyDays struct {
	MaxFrequencyDays int32 `protobuf:"varint,3,opt,name=maxFrequencyDays,proto3,oneof"` // max frequency of runs in days.
}

type Schedule_MaxFrequencyHours added in v1.0.0

type Schedule_MaxFrequencyHours struct {
	MaxFrequencyHours int32 `protobuf:"varint,4,opt,name=maxFrequencyHours,proto3,oneof"` // max frequency of runs in hours.
}

type SnapshotSummary added in v1.4.0

type SnapshotSummary struct {
	FilesNew            int64   `protobuf:"varint,1,opt,name=files_new,json=filesNew,proto3" json:"files_new,omitempty"`
	FilesChanged        int64   `protobuf:"varint,2,opt,name=files_changed,json=filesChanged,proto3" json:"files_changed,omitempty"`
	FilesUnmodified     int64   `protobuf:"varint,3,opt,name=files_unmodified,json=filesUnmodified,proto3" json:"files_unmodified,omitempty"`
	DirsNew             int64   `protobuf:"varint,4,opt,name=dirs_new,json=dirsNew,proto3" json:"dirs_new,omitempty"`
	DirsChanged         int64   `protobuf:"varint,5,opt,name=dirs_changed,json=dirsChanged,proto3" json:"dirs_changed,omitempty"`
	DirsUnmodified      int64   `protobuf:"varint,6,opt,name=dirs_unmodified,json=dirsUnmodified,proto3" json:"dirs_unmodified,omitempty"`
	DataBlobs           int64   `protobuf:"varint,7,opt,name=data_blobs,json=dataBlobs,proto3" json:"data_blobs,omitempty"`
	TreeBlobs           int64   `protobuf:"varint,8,opt,name=tree_blobs,json=treeBlobs,proto3" json:"tree_blobs,omitempty"`
	DataAdded           int64   `protobuf:"varint,9,opt,name=data_added,json=dataAdded,proto3" json:"data_added,omitempty"`
	TotalFilesProcessed int64   `protobuf:"varint,10,opt,name=total_files_processed,json=totalFilesProcessed,proto3" json:"total_files_processed,omitempty"`
	TotalBytesProcessed int64   `protobuf:"varint,11,opt,name=total_bytes_processed,json=totalBytesProcessed,proto3" json:"total_bytes_processed,omitempty"`
	TotalDuration       float64 `protobuf:"fixed64,12,opt,name=total_duration,json=totalDuration,proto3" json:"total_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotSummary) Descriptor deprecated added in v1.4.0

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

Deprecated: Use SnapshotSummary.ProtoReflect.Descriptor instead.

func (*SnapshotSummary) GetDataAdded added in v1.4.0

func (x *SnapshotSummary) GetDataAdded() int64

func (*SnapshotSummary) GetDataBlobs added in v1.4.0

func (x *SnapshotSummary) GetDataBlobs() int64

func (*SnapshotSummary) GetDirsChanged added in v1.4.0

func (x *SnapshotSummary) GetDirsChanged() int64

func (*SnapshotSummary) GetDirsNew added in v1.4.0

func (x *SnapshotSummary) GetDirsNew() int64

func (*SnapshotSummary) GetDirsUnmodified added in v1.4.0

func (x *SnapshotSummary) GetDirsUnmodified() int64

func (*SnapshotSummary) GetFilesChanged added in v1.4.0

func (x *SnapshotSummary) GetFilesChanged() int64

func (*SnapshotSummary) GetFilesNew added in v1.4.0

func (x *SnapshotSummary) GetFilesNew() int64

func (*SnapshotSummary) GetFilesUnmodified added in v1.4.0

func (x *SnapshotSummary) GetFilesUnmodified() int64

func (*SnapshotSummary) GetTotalBytesProcessed added in v1.4.0

func (x *SnapshotSummary) GetTotalBytesProcessed() int64

func (*SnapshotSummary) GetTotalDuration added in v1.4.0

func (x *SnapshotSummary) GetTotalDuration() float64

func (*SnapshotSummary) GetTotalFilesProcessed added in v1.4.0

func (x *SnapshotSummary) GetTotalFilesProcessed() int64

func (*SnapshotSummary) GetTreeBlobs added in v1.4.0

func (x *SnapshotSummary) GetTreeBlobs() int64

func (*SnapshotSummary) ProtoMessage added in v1.4.0

func (*SnapshotSummary) ProtoMessage()

func (*SnapshotSummary) ProtoReflect added in v1.4.0

func (x *SnapshotSummary) ProtoReflect() protoreflect.Message

func (*SnapshotSummary) Reset added in v1.4.0

func (x *SnapshotSummary) Reset()

func (*SnapshotSummary) String added in v1.4.0

func (x *SnapshotSummary) String() string

type SummaryDashboardResponse added in v1.6.0

type SummaryDashboardResponse struct {
	RepoSummaries []*SummaryDashboardResponse_Summary `protobuf:"bytes,1,rep,name=repo_summaries,json=repoSummaries,proto3" json:"repo_summaries,omitempty"`
	PlanSummaries []*SummaryDashboardResponse_Summary `protobuf:"bytes,2,rep,name=plan_summaries,json=planSummaries,proto3" json:"plan_summaries,omitempty"`
	ConfigPath    string                              `protobuf:"bytes,10,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
	DataPath      string                              `protobuf:"bytes,11,opt,name=data_path,json=dataPath,proto3" json:"data_path,omitempty"`
	// contains filtered or unexported fields
}

func (*SummaryDashboardResponse) Descriptor deprecated added in v1.6.0

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

Deprecated: Use SummaryDashboardResponse.ProtoReflect.Descriptor instead.

func (*SummaryDashboardResponse) GetConfigPath added in v1.6.0

func (x *SummaryDashboardResponse) GetConfigPath() string

func (*SummaryDashboardResponse) GetDataPath added in v1.6.0

func (x *SummaryDashboardResponse) GetDataPath() string

func (*SummaryDashboardResponse) GetPlanSummaries added in v1.6.0

func (*SummaryDashboardResponse) GetRepoSummaries added in v1.6.0

func (*SummaryDashboardResponse) ProtoMessage added in v1.6.0

func (*SummaryDashboardResponse) ProtoMessage()

func (*SummaryDashboardResponse) ProtoReflect added in v1.6.0

func (x *SummaryDashboardResponse) ProtoReflect() protoreflect.Message

func (*SummaryDashboardResponse) Reset added in v1.6.0

func (x *SummaryDashboardResponse) Reset()

func (*SummaryDashboardResponse) String added in v1.6.0

func (x *SummaryDashboardResponse) String() string

type SummaryDashboardResponse_BackupChart added in v1.6.0

type SummaryDashboardResponse_BackupChart struct {
	FlowId      []int64           `protobuf:"varint,1,rep,packed,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
	TimestampMs []int64           `protobuf:"varint,2,rep,packed,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"`
	DurationMs  []int64           `protobuf:"varint,3,rep,packed,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
	Status      []OperationStatus `protobuf:"varint,4,rep,packed,name=status,proto3,enum=v1.OperationStatus" json:"status,omitempty"`
	BytesAdded  []int64           `protobuf:"varint,5,rep,packed,name=bytes_added,json=bytesAdded,proto3" json:"bytes_added,omitempty"`
	// contains filtered or unexported fields
}

func (*SummaryDashboardResponse_BackupChart) Descriptor deprecated added in v1.6.0

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

Deprecated: Use SummaryDashboardResponse_BackupChart.ProtoReflect.Descriptor instead.

func (*SummaryDashboardResponse_BackupChart) GetBytesAdded added in v1.6.0

func (x *SummaryDashboardResponse_BackupChart) GetBytesAdded() []int64

func (*SummaryDashboardResponse_BackupChart) GetDurationMs added in v1.6.0

func (x *SummaryDashboardResponse_BackupChart) GetDurationMs() []int64

func (*SummaryDashboardResponse_BackupChart) GetFlowId added in v1.6.0

func (*SummaryDashboardResponse_BackupChart) GetStatus added in v1.6.0

func (*SummaryDashboardResponse_BackupChart) GetTimestampMs added in v1.6.0

func (x *SummaryDashboardResponse_BackupChart) GetTimestampMs() []int64

func (*SummaryDashboardResponse_BackupChart) ProtoMessage added in v1.6.0

func (*SummaryDashboardResponse_BackupChart) ProtoMessage()

func (*SummaryDashboardResponse_BackupChart) ProtoReflect added in v1.6.0

func (*SummaryDashboardResponse_BackupChart) Reset added in v1.6.0

func (*SummaryDashboardResponse_BackupChart) String added in v1.6.0

type SummaryDashboardResponse_Summary added in v1.6.0

type SummaryDashboardResponse_Summary struct {
	Id                        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BackupsFailed_30Days      int64  `protobuf:"varint,2,opt,name=backups_failed_30days,json=backupsFailed30days,proto3" json:"backups_failed_30days,omitempty"`
	BackupsWarningLast_30Days int64  `` /* 138-byte string literal not displayed */
	BackupsSuccessLast_30Days int64  `` /* 138-byte string literal not displayed */
	BytesScannedLast_30Days   int64  `` /* 132-byte string literal not displayed */
	BytesAddedLast_30Days     int64  `` /* 126-byte string literal not displayed */
	TotalSnapshots            int64  `protobuf:"varint,7,opt,name=total_snapshots,json=totalSnapshots,proto3" json:"total_snapshots,omitempty"`
	BytesScannedAvg           int64  `protobuf:"varint,8,opt,name=bytes_scanned_avg,json=bytesScannedAvg,proto3" json:"bytes_scanned_avg,omitempty"`
	BytesAddedAvg             int64  `protobuf:"varint,9,opt,name=bytes_added_avg,json=bytesAddedAvg,proto3" json:"bytes_added_avg,omitempty"`
	NextBackupTimeMs          int64  `protobuf:"varint,10,opt,name=next_backup_time_ms,json=nextBackupTimeMs,proto3" json:"next_backup_time_ms,omitempty"`
	// Charts
	RecentBackups *SummaryDashboardResponse_BackupChart `protobuf:"bytes,11,opt,name=recent_backups,json=recentBackups,proto3" json:"recent_backups,omitempty"` // recent backups
	// contains filtered or unexported fields
}

func (*SummaryDashboardResponse_Summary) Descriptor deprecated added in v1.6.0

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

Deprecated: Use SummaryDashboardResponse_Summary.ProtoReflect.Descriptor instead.

func (*SummaryDashboardResponse_Summary) GetBackupsFailed_30Days added in v1.6.0

func (x *SummaryDashboardResponse_Summary) GetBackupsFailed_30Days() int64

func (*SummaryDashboardResponse_Summary) GetBackupsSuccessLast_30Days added in v1.6.0

func (x *SummaryDashboardResponse_Summary) GetBackupsSuccessLast_30Days() int64

func (*SummaryDashboardResponse_Summary) GetBackupsWarningLast_30Days added in v1.6.0

func (x *SummaryDashboardResponse_Summary) GetBackupsWarningLast_30Days() int64

func (*SummaryDashboardResponse_Summary) GetBytesAddedAvg added in v1.6.0

func (x *SummaryDashboardResponse_Summary) GetBytesAddedAvg() int64

func (*SummaryDashboardResponse_Summary) GetBytesAddedLast_30Days added in v1.6.0

func (x *SummaryDashboardResponse_Summary) GetBytesAddedLast_30Days() int64

func (*SummaryDashboardResponse_Summary) GetBytesScannedAvg added in v1.6.0

func (x *SummaryDashboardResponse_Summary) GetBytesScannedAvg() int64

func (*SummaryDashboardResponse_Summary) GetBytesScannedLast_30Days added in v1.6.0

func (x *SummaryDashboardResponse_Summary) GetBytesScannedLast_30Days() int64

func (*SummaryDashboardResponse_Summary) GetId added in v1.6.0

func (*SummaryDashboardResponse_Summary) GetNextBackupTimeMs added in v1.6.0

func (x *SummaryDashboardResponse_Summary) GetNextBackupTimeMs() int64

func (*SummaryDashboardResponse_Summary) GetRecentBackups added in v1.6.0

func (*SummaryDashboardResponse_Summary) GetTotalSnapshots added in v1.6.0

func (x *SummaryDashboardResponse_Summary) GetTotalSnapshots() int64

func (*SummaryDashboardResponse_Summary) ProtoMessage added in v1.6.0

func (*SummaryDashboardResponse_Summary) ProtoMessage()

func (*SummaryDashboardResponse_Summary) ProtoReflect added in v1.6.0

func (*SummaryDashboardResponse_Summary) Reset added in v1.6.0

func (*SummaryDashboardResponse_Summary) String added in v1.6.0

type UnimplementedAuthenticationServer added in v0.11.0

type UnimplementedAuthenticationServer struct {
}

UnimplementedAuthenticationServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthenticationServer) HashPassword added in v0.11.0

func (UnimplementedAuthenticationServer) Login added in v0.11.0

type UnimplementedBackrestServer

type UnimplementedBackrestServer struct {
}

UnimplementedBackrestServer must be embedded to have forward compatible implementations.

func (UnimplementedBackrestServer) AddRepo

func (UnimplementedBackrestServer) Backup

func (UnimplementedBackrestServer) Cancel

func (UnimplementedBackrestServer) ClearHistory

func (UnimplementedBackrestServer) DoRepoTask added in v1.1.0

func (UnimplementedBackrestServer) Forget

func (UnimplementedBackrestServer) GetConfig

func (UnimplementedBackrestServer) GetDownloadURL added in v1.0.0

func (UnimplementedBackrestServer) GetLogs added in v0.11.0

func (UnimplementedBackrestServer) GetOperationEvents

func (UnimplementedBackrestServer) GetOperations

func (UnimplementedBackrestServer) GetSummaryDashboard added in v1.6.0

func (UnimplementedBackrestServer) ListSnapshotFiles

func (UnimplementedBackrestServer) ListSnapshots

func (UnimplementedBackrestServer) PathAutocomplete

func (UnimplementedBackrestServer) Restore

func (UnimplementedBackrestServer) RunCommand added in v1.0.0

func (UnimplementedBackrestServer) SetConfig

type UnimplementedHubServer added in v1.0.0

type UnimplementedHubServer struct {
}

UnimplementedHubServer must be embedded to have forward compatible implementations.

func (UnimplementedHubServer) GetInstances added in v1.0.0

type UnsafeAuthenticationServer added in v0.11.0

type UnsafeAuthenticationServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthenticationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthenticationServer will result in compilation errors.

type UnsafeBackrestServer

type UnsafeBackrestServer interface {
	// contains filtered or unexported methods
}

UnsafeBackrestServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackrestServer will result in compilation errors.

type UnsafeHubServer added in v1.0.0

type UnsafeHubServer interface {
	// contains filtered or unexported methods
}

UnsafeHubServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HubServer will result in compilation errors.

type User added in v0.8.0

type User struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Password:
	//
	//	*User_PasswordBcrypt
	Password isUser_Password `protobuf_oneof:"password"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated added in v0.8.0

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetName added in v0.8.0

func (x *User) GetName() string

func (*User) GetPassword added in v0.8.0

func (m *User) GetPassword() isUser_Password

func (*User) GetPasswordBcrypt added in v0.8.0

func (x *User) GetPasswordBcrypt() string

func (*User) ProtoMessage added in v0.8.0

func (*User) ProtoMessage()

func (*User) ProtoReflect added in v0.8.0

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset added in v0.8.0

func (x *User) Reset()

func (*User) String added in v0.8.0

func (x *User) String() string

type User_PasswordBcrypt added in v0.8.0

type User_PasswordBcrypt struct {
	PasswordBcrypt string `protobuf:"bytes,2,opt,name=password_bcrypt,json=passwordBcrypt,proto3,oneof"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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