backupv1beta1

package
v2.18.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Overview

Package backupv1beta1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package backupv1beta1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package backupv1beta1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package backupv1beta1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	BackupStatus_name = map[int32]string{
		0: "BACKUP_STATUS_INVALID",
		1: "BACKUP_STATUS_PENDING",
		2: "BACKUP_STATUS_IN_PROGRESS",
		3: "BACKUP_STATUS_PAUSED",
		4: "BACKUP_STATUS_SUCCESS",
		5: "BACKUP_STATUS_ERROR",
	}
	BackupStatus_value = map[string]int32{
		"BACKUP_STATUS_INVALID":     0,
		"BACKUP_STATUS_PENDING":     1,
		"BACKUP_STATUS_IN_PROGRESS": 2,
		"BACKUP_STATUS_PAUSED":      3,
		"BACKUP_STATUS_SUCCESS":     4,
		"BACKUP_STATUS_ERROR":       5,
	}
)

Enum value maps for BackupStatus.

View Source
var (
	RetryMode_name = map[int32]string{
		0: "RETRY_MODE_INVALID",
		1: "AUTO",
		2: "MANUAL",
	}
	RetryMode_value = map[string]int32{
		"RETRY_MODE_INVALID": 0,
		"AUTO":               1,
		"MANUAL":             2,
	}
)

Enum value maps for RetryMode.

View Source
var (
	DataModel_name = map[int32]string{
		0: "DATA_MODEL_INVALID",
		1: "PHYSICAL",
		2: "LOGICAL",
	}
	DataModel_value = map[string]int32{
		"DATA_MODEL_INVALID": 0,
		"PHYSICAL":           1,
		"LOGICAL":            2,
	}
)

Enum value maps for DataModel.

View Source
var (
	RestoreStatus_name = map[int32]string{
		0: "RESTORE_STATUS_INVALID",
		1: "RESTORE_STATUS_IN_PROGRESS",
		2: "RESTORE_STATUS_SUCCESS",
		3: "RESTORE_STATUS_ERROR",
	}
	RestoreStatus_value = map[string]int32{
		"RESTORE_STATUS_INVALID":     0,
		"RESTORE_STATUS_IN_PROGRESS": 1,
		"RESTORE_STATUS_SUCCESS":     2,
		"RESTORE_STATUS_ERROR":       3,
	}
)

Enum value maps for RestoreStatus.

View Source
var File_managementpb_backup_artifacts_proto protoreflect.FileDescriptor
View Source
var File_managementpb_backup_backups_proto protoreflect.FileDescriptor
View Source
var File_managementpb_backup_common_proto protoreflect.FileDescriptor
View Source
var File_managementpb_backup_locations_proto protoreflect.FileDescriptor
View Source
var File_managementpb_backup_restores_proto protoreflect.FileDescriptor

Functions

func RegisterArtifactsHandler

func RegisterArtifactsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterArtifactsHandler registers the http handlers for service Artifacts to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterArtifactsHandlerClient

func RegisterArtifactsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ArtifactsClient) error

RegisterArtifactsHandlerClient registers the http handlers for service Artifacts to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ArtifactsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ArtifactsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ArtifactsClient" to call the correct interceptors.

func RegisterArtifactsHandlerFromEndpoint

func RegisterArtifactsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterArtifactsHandlerFromEndpoint is same as RegisterArtifactsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterArtifactsHandlerServer

func RegisterArtifactsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ArtifactsServer) error

RegisterArtifactsHandlerServer registers the http handlers for service Artifacts to "mux". UnaryRPC :call ArtifactsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterArtifactsHandlerFromEndpoint instead.

func RegisterArtifactsServer

func RegisterArtifactsServer(s *grpc.Server, srv ArtifactsServer)

func RegisterBackupsHandler

func RegisterBackupsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBackupsHandler registers the http handlers for service Backups to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBackupsHandlerClient

func RegisterBackupsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BackupsClient) error

RegisterBackupsHandlerClient registers the http handlers for service Backups to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BackupsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BackupsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BackupsClient" to call the correct interceptors.

func RegisterBackupsHandlerFromEndpoint

func RegisterBackupsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBackupsHandlerFromEndpoint is same as RegisterBackupsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBackupsHandlerServer

func RegisterBackupsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BackupsServer) error

RegisterBackupsHandlerServer registers the http handlers for service Backups to "mux". UnaryRPC :call BackupsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBackupsHandlerFromEndpoint instead.

func RegisterBackupsServer

func RegisterBackupsServer(s *grpc.Server, srv BackupsServer)

func RegisterLocationsHandler

func RegisterLocationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLocationsHandler registers the http handlers for service Locations to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLocationsHandlerClient

func RegisterLocationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LocationsClient) error

RegisterLocationsHandlerClient registers the http handlers for service Locations to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LocationsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LocationsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LocationsClient" to call the correct interceptors.

func RegisterLocationsHandlerFromEndpoint

func RegisterLocationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLocationsHandlerFromEndpoint is same as RegisterLocationsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLocationsHandlerServer

func RegisterLocationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LocationsServer) error

RegisterLocationsHandlerServer registers the http handlers for service Locations to "mux". UnaryRPC :call LocationsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLocationsHandlerFromEndpoint instead.

func RegisterLocationsServer

func RegisterLocationsServer(s *grpc.Server, srv LocationsServer)

func RegisterRestoreHistoryHandler

func RegisterRestoreHistoryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRestoreHistoryHandler registers the http handlers for service RestoreHistory to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRestoreHistoryHandlerClient

func RegisterRestoreHistoryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RestoreHistoryClient) error

RegisterRestoreHistoryHandlerClient registers the http handlers for service RestoreHistory to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RestoreHistoryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RestoreHistoryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RestoreHistoryClient" to call the correct interceptors.

func RegisterRestoreHistoryHandlerFromEndpoint

func RegisterRestoreHistoryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRestoreHistoryHandlerFromEndpoint is same as RegisterRestoreHistoryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRestoreHistoryHandlerServer

func RegisterRestoreHistoryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RestoreHistoryServer) error

RegisterRestoreHistoryHandlerServer registers the http handlers for service RestoreHistory to "mux". UnaryRPC :call RestoreHistoryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRestoreHistoryHandlerFromEndpoint instead.

func RegisterRestoreHistoryServer

func RegisterRestoreHistoryServer(s *grpc.Server, srv RestoreHistoryServer)

Types

type AddLocationRequest

type AddLocationRequest struct {

	// Location name
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// PMM-client file system configuration. Exactly one config should be set.
	PmmClientConfig *PMMClientLocationConfig `protobuf:"bytes,3,opt,name=pmm_client_config,json=pmmClientConfig,proto3" json:"pmm_client_config,omitempty"`
	// PMM-server file system configuration. Exactly one config should be set.
	PmmServerConfig *PMMServerLocationConfig `protobuf:"bytes,4,opt,name=pmm_server_config,json=pmmServerConfig,proto3" json:"pmm_server_config,omitempty"`
	// S3 Bucket configuration. Exactly one config should be set.
	S3Config *S3LocationConfig `protobuf:"bytes,5,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"`
	// contains filtered or unexported fields
}

func (*AddLocationRequest) Descriptor deprecated

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

Deprecated: Use AddLocationRequest.ProtoReflect.Descriptor instead.

func (*AddLocationRequest) GetDescription

func (x *AddLocationRequest) GetDescription() string

func (*AddLocationRequest) GetName

func (x *AddLocationRequest) GetName() string

func (*AddLocationRequest) GetPmmClientConfig

func (x *AddLocationRequest) GetPmmClientConfig() *PMMClientLocationConfig

func (*AddLocationRequest) GetPmmServerConfig

func (x *AddLocationRequest) GetPmmServerConfig() *PMMServerLocationConfig

func (*AddLocationRequest) GetS3Config

func (x *AddLocationRequest) GetS3Config() *S3LocationConfig

func (*AddLocationRequest) ProtoMessage

func (*AddLocationRequest) ProtoMessage()

func (*AddLocationRequest) ProtoReflect

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

func (*AddLocationRequest) Reset

func (x *AddLocationRequest) Reset()

func (*AddLocationRequest) String

func (x *AddLocationRequest) String() string

func (*AddLocationRequest) Validate

func (this *AddLocationRequest) Validate() error

type AddLocationResponse

type AddLocationResponse struct {

	// Machine-readable ID.
	LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddLocationResponse) Descriptor deprecated

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

Deprecated: Use AddLocationResponse.ProtoReflect.Descriptor instead.

func (*AddLocationResponse) GetLocationId

func (x *AddLocationResponse) GetLocationId() string

func (*AddLocationResponse) ProtoMessage

func (*AddLocationResponse) ProtoMessage()

func (*AddLocationResponse) ProtoReflect

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

func (*AddLocationResponse) Reset

func (x *AddLocationResponse) Reset()

func (*AddLocationResponse) String

func (x *AddLocationResponse) String() string

func (*AddLocationResponse) Validate

func (this *AddLocationResponse) Validate() error

type Artifact

type Artifact struct {

	// Machine-readable artifact ID.
	ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// Artifact name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Database vendor e.g. PostgreSQL, MongoDB, MySQL.
	Vendor string `protobuf:"bytes,3,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Machine-readable location ID.
	LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// Location name.
	LocationName string `protobuf:"bytes,5,opt,name=location_name,json=locationName,proto3" json:"location_name,omitempty"`
	// Machine-readable service ID.
	ServiceId string `protobuf:"bytes,6,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Service name.
	ServiceName string `protobuf:"bytes,7,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Backup data model.
	DataModel DataModel `protobuf:"varint,8,opt,name=data_model,json=dataModel,proto3,enum=backup.v1beta1.DataModel" json:"data_model,omitempty"`
	// Backup status.
	Status BackupStatus `protobuf:"varint,9,opt,name=status,proto3,enum=backup.v1beta1.BackupStatus" json:"status,omitempty"`
	// Artifact creation time.
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

Artifact represents single backup artifact.

func (*Artifact) Descriptor deprecated

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

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetArtifactId

func (x *Artifact) GetArtifactId() string

func (*Artifact) GetCreatedAt

func (x *Artifact) GetCreatedAt() *timestamp.Timestamp

func (*Artifact) GetDataModel

func (x *Artifact) GetDataModel() DataModel

func (*Artifact) GetLocationId

func (x *Artifact) GetLocationId() string

func (*Artifact) GetLocationName

func (x *Artifact) GetLocationName() string

func (*Artifact) GetName

func (x *Artifact) GetName() string

func (*Artifact) GetServiceId

func (x *Artifact) GetServiceId() string

func (*Artifact) GetServiceName

func (x *Artifact) GetServiceName() string

func (*Artifact) GetStatus

func (x *Artifact) GetStatus() BackupStatus

func (*Artifact) GetVendor

func (x *Artifact) GetVendor() string

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect

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

func (*Artifact) Reset

func (x *Artifact) Reset()

func (*Artifact) String

func (x *Artifact) String() string

func (*Artifact) Validate

func (this *Artifact) Validate() error

type ArtifactsClient

type ArtifactsClient interface {
	// ListArtifacts returns a list of all backup artifacts.
	ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error)
}

ArtifactsClient is the client API for Artifacts service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewArtifactsClient

func NewArtifactsClient(cc grpc.ClientConnInterface) ArtifactsClient

type ArtifactsServer

type ArtifactsServer interface {
	// ListArtifacts returns a list of all backup artifacts.
	ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)
}

ArtifactsServer is the server API for Artifacts service.

type BackupStatus

type BackupStatus int32

BackupStatus shows the current status of execution of backup.

const (
	BackupStatus_BACKUP_STATUS_INVALID     BackupStatus = 0
	BackupStatus_BACKUP_STATUS_PENDING     BackupStatus = 1
	BackupStatus_BACKUP_STATUS_IN_PROGRESS BackupStatus = 2
	BackupStatus_BACKUP_STATUS_PAUSED      BackupStatus = 3
	BackupStatus_BACKUP_STATUS_SUCCESS     BackupStatus = 4
	BackupStatus_BACKUP_STATUS_ERROR       BackupStatus = 5
)

func (BackupStatus) Descriptor

func (BackupStatus) Enum

func (x BackupStatus) Enum() *BackupStatus

func (BackupStatus) EnumDescriptor deprecated

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

Deprecated: Use BackupStatus.Descriptor instead.

func (BackupStatus) Number

func (BackupStatus) String

func (x BackupStatus) String() string

func (BackupStatus) Type

type BackupsClient

type BackupsClient interface {
	// StartBackup request backup specified service to location.
	StartBackup(ctx context.Context, in *StartBackupRequest, opts ...grpc.CallOption) (*StartBackupResponse, error)
	// RestoreBackup requests the backup restore.
	RestoreBackup(ctx context.Context, in *RestoreBackupRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error)
}

BackupsClient is the client API for Backups service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBackupsClient

func NewBackupsClient(cc grpc.ClientConnInterface) BackupsClient

type BackupsServer

type BackupsServer interface {
	// StartBackup request backup specified service to location.
	StartBackup(context.Context, *StartBackupRequest) (*StartBackupResponse, error)
	// RestoreBackup requests the backup restore.
	RestoreBackup(context.Context, *RestoreBackupRequest) (*RestoreBackupResponse, error)
}

BackupsServer is the server API for Backups service.

type ChangeLocationRequest

type ChangeLocationRequest struct {

	// Machine-readable ID.
	LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// Location name
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// PMM-client file system configuration. Exactly one config should be set.
	PmmClientConfig *PMMClientLocationConfig `protobuf:"bytes,4,opt,name=pmm_client_config,json=pmmClientConfig,proto3" json:"pmm_client_config,omitempty"`
	// PMM-server file system configuration. Exactly one config should be set.
	PmmServerConfig *PMMServerLocationConfig `protobuf:"bytes,5,opt,name=pmm_server_config,json=pmmServerConfig,proto3" json:"pmm_server_config,omitempty"`
	// S3 Bucket configuration. Exactly one config should be set.
	S3Config *S3LocationConfig `protobuf:"bytes,6,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeLocationRequest) Descriptor deprecated

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

Deprecated: Use ChangeLocationRequest.ProtoReflect.Descriptor instead.

func (*ChangeLocationRequest) GetDescription

func (x *ChangeLocationRequest) GetDescription() string

func (*ChangeLocationRequest) GetLocationId

func (x *ChangeLocationRequest) GetLocationId() string

func (*ChangeLocationRequest) GetName

func (x *ChangeLocationRequest) GetName() string

func (*ChangeLocationRequest) GetPmmClientConfig

func (x *ChangeLocationRequest) GetPmmClientConfig() *PMMClientLocationConfig

func (*ChangeLocationRequest) GetPmmServerConfig

func (x *ChangeLocationRequest) GetPmmServerConfig() *PMMServerLocationConfig

func (*ChangeLocationRequest) GetS3Config

func (x *ChangeLocationRequest) GetS3Config() *S3LocationConfig

func (*ChangeLocationRequest) ProtoMessage

func (*ChangeLocationRequest) ProtoMessage()

func (*ChangeLocationRequest) ProtoReflect

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

func (*ChangeLocationRequest) Reset

func (x *ChangeLocationRequest) Reset()

func (*ChangeLocationRequest) String

func (x *ChangeLocationRequest) String() string

func (*ChangeLocationRequest) Validate

func (this *ChangeLocationRequest) Validate() error

type ChangeLocationResponse

type ChangeLocationResponse struct {
	// contains filtered or unexported fields
}

func (*ChangeLocationResponse) Descriptor deprecated

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

Deprecated: Use ChangeLocationResponse.ProtoReflect.Descriptor instead.

func (*ChangeLocationResponse) ProtoMessage

func (*ChangeLocationResponse) ProtoMessage()

func (*ChangeLocationResponse) ProtoReflect

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

func (*ChangeLocationResponse) Reset

func (x *ChangeLocationResponse) Reset()

func (*ChangeLocationResponse) String

func (x *ChangeLocationResponse) String() string

func (*ChangeLocationResponse) Validate

func (this *ChangeLocationResponse) Validate() error

type DataModel

type DataModel int32

DataModel is a model used for performing a backup.

const (
	DataModel_DATA_MODEL_INVALID DataModel = 0
	DataModel_PHYSICAL           DataModel = 1
	DataModel_LOGICAL            DataModel = 2
)

func (DataModel) Descriptor

func (DataModel) Descriptor() protoreflect.EnumDescriptor

func (DataModel) Enum

func (x DataModel) Enum() *DataModel

func (DataModel) EnumDescriptor deprecated

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

Deprecated: Use DataModel.Descriptor instead.

func (DataModel) Number

func (x DataModel) Number() protoreflect.EnumNumber

func (DataModel) String

func (x DataModel) String() string

func (DataModel) Type

type ListArtifactsRequest

type ListArtifactsRequest struct {
	// contains filtered or unexported fields
}

func (*ListArtifactsRequest) Descriptor deprecated

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

Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.

func (*ListArtifactsRequest) ProtoMessage

func (*ListArtifactsRequest) ProtoMessage()

func (*ListArtifactsRequest) ProtoReflect

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

func (*ListArtifactsRequest) Reset

func (x *ListArtifactsRequest) Reset()

func (*ListArtifactsRequest) String

func (x *ListArtifactsRequest) String() string

func (*ListArtifactsRequest) Validate

func (this *ListArtifactsRequest) Validate() error

type ListArtifactsResponse

type ListArtifactsResponse struct {
	Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArtifactsResponse) Descriptor deprecated

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

Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.

func (*ListArtifactsResponse) GetArtifacts

func (x *ListArtifactsResponse) GetArtifacts() []*Artifact

func (*ListArtifactsResponse) ProtoMessage

func (*ListArtifactsResponse) ProtoMessage()

func (*ListArtifactsResponse) ProtoReflect

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

func (*ListArtifactsResponse) Reset

func (x *ListArtifactsResponse) Reset()

func (*ListArtifactsResponse) String

func (x *ListArtifactsResponse) String() string

func (*ListArtifactsResponse) Validate

func (this *ListArtifactsResponse) Validate() error

type ListLocationsRequest

type ListLocationsRequest struct {
	// contains filtered or unexported fields
}

func (*ListLocationsRequest) Descriptor deprecated

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

Deprecated: Use ListLocationsRequest.ProtoReflect.Descriptor instead.

func (*ListLocationsRequest) ProtoMessage

func (*ListLocationsRequest) ProtoMessage()

func (*ListLocationsRequest) ProtoReflect

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

func (*ListLocationsRequest) Reset

func (x *ListLocationsRequest) Reset()

func (*ListLocationsRequest) String

func (x *ListLocationsRequest) String() string

func (*ListLocationsRequest) Validate

func (this *ListLocationsRequest) Validate() error

type ListLocationsResponse

type ListLocationsResponse struct {
	Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLocationsResponse) Descriptor deprecated

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

Deprecated: Use ListLocationsResponse.ProtoReflect.Descriptor instead.

func (*ListLocationsResponse) GetLocations

func (x *ListLocationsResponse) GetLocations() []*Location

func (*ListLocationsResponse) ProtoMessage

func (*ListLocationsResponse) ProtoMessage()

func (*ListLocationsResponse) ProtoReflect

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

func (*ListLocationsResponse) Reset

func (x *ListLocationsResponse) Reset()

func (*ListLocationsResponse) String

func (x *ListLocationsResponse) String() string

func (*ListLocationsResponse) Validate

func (this *ListLocationsResponse) Validate() error

type ListRestoreHistoryRequest

type ListRestoreHistoryRequest struct {
	// contains filtered or unexported fields
}

func (*ListRestoreHistoryRequest) Descriptor deprecated

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

Deprecated: Use ListRestoreHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListRestoreHistoryRequest) ProtoMessage

func (*ListRestoreHistoryRequest) ProtoMessage()

func (*ListRestoreHistoryRequest) ProtoReflect

func (*ListRestoreHistoryRequest) Reset

func (x *ListRestoreHistoryRequest) Reset()

func (*ListRestoreHistoryRequest) String

func (x *ListRestoreHistoryRequest) String() string

func (*ListRestoreHistoryRequest) Validate

func (this *ListRestoreHistoryRequest) Validate() error

type ListRestoreHistoryResponse

type ListRestoreHistoryResponse struct {
	Items []*RestoreHistoryItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRestoreHistoryResponse) Descriptor deprecated

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

Deprecated: Use ListRestoreHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListRestoreHistoryResponse) GetItems

func (*ListRestoreHistoryResponse) ProtoMessage

func (*ListRestoreHistoryResponse) ProtoMessage()

func (*ListRestoreHistoryResponse) ProtoReflect

func (*ListRestoreHistoryResponse) Reset

func (x *ListRestoreHistoryResponse) Reset()

func (*ListRestoreHistoryResponse) String

func (x *ListRestoreHistoryResponse) String() string

func (*ListRestoreHistoryResponse) Validate

func (this *ListRestoreHistoryResponse) Validate() error

type Location

type Location struct {

	// Machine-readable ID.
	LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// Location name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Short description
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Types that are assignable to Config:
	//	*Location_PmmClientConfig
	//	*Location_PmmServerConfig
	//	*Location_S3Config
	Config isLocation_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

Location represents single Backup Location.

func (*Location) Descriptor deprecated

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

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetConfig

func (m *Location) GetConfig() isLocation_Config

func (*Location) GetDescription

func (x *Location) GetDescription() string

func (*Location) GetLocationId

func (x *Location) GetLocationId() string

func (*Location) GetName

func (x *Location) GetName() string

func (*Location) GetPmmClientConfig

func (x *Location) GetPmmClientConfig() *PMMClientLocationConfig

func (*Location) GetPmmServerConfig

func (x *Location) GetPmmServerConfig() *PMMServerLocationConfig

func (*Location) GetS3Config

func (x *Location) GetS3Config() *S3LocationConfig

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

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

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

func (*Location) Validate

func (this *Location) Validate() error

type Location_PmmClientConfig

type Location_PmmClientConfig struct {
	PmmClientConfig *PMMClientLocationConfig `protobuf:"bytes,4,opt,name=pmm_client_config,json=pmmClientConfig,proto3,oneof"`
}

type Location_PmmServerConfig

type Location_PmmServerConfig struct {
	PmmServerConfig *PMMServerLocationConfig `protobuf:"bytes,5,opt,name=pmm_server_config,json=pmmServerConfig,proto3,oneof"`
}

type Location_S3Config

type Location_S3Config struct {
	S3Config *S3LocationConfig `protobuf:"bytes,6,opt,name=s3_config,json=s3Config,proto3,oneof"`
}

type LocationsClient

type LocationsClient interface {
	// ListLocations returns a list of all backup locations.
	ListLocations(ctx context.Context, in *ListLocationsRequest, opts ...grpc.CallOption) (*ListLocationsResponse, error)
	// AddLocation adds backup location.
	AddLocation(ctx context.Context, in *AddLocationRequest, opts ...grpc.CallOption) (*AddLocationResponse, error)
	// ChangeLocation changes backup location.
	ChangeLocation(ctx context.Context, in *ChangeLocationRequest, opts ...grpc.CallOption) (*ChangeLocationResponse, error)
	// RemoveLocation removes existing backup location.
	RemoveLocation(ctx context.Context, in *RemoveLocationRequest, opts ...grpc.CallOption) (*RemoveLocationResponse, error)
	// TestLocationConfig tests backup location and credentials.
	TestLocationConfig(ctx context.Context, in *TestLocationConfigRequest, opts ...grpc.CallOption) (*TestLocationConfigResponse, error)
}

LocationsClient is the client API for Locations service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLocationsClient

func NewLocationsClient(cc grpc.ClientConnInterface) LocationsClient

type LocationsServer

type LocationsServer interface {
	// ListLocations returns a list of all backup locations.
	ListLocations(context.Context, *ListLocationsRequest) (*ListLocationsResponse, error)
	// AddLocation adds backup location.
	AddLocation(context.Context, *AddLocationRequest) (*AddLocationResponse, error)
	// ChangeLocation changes backup location.
	ChangeLocation(context.Context, *ChangeLocationRequest) (*ChangeLocationResponse, error)
	// RemoveLocation removes existing backup location.
	RemoveLocation(context.Context, *RemoveLocationRequest) (*RemoveLocationResponse, error)
	// TestLocationConfig tests backup location and credentials.
	TestLocationConfig(context.Context, *TestLocationConfigRequest) (*TestLocationConfigResponse, error)
}

LocationsServer is the server API for Locations service.

type PMMClientLocationConfig

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

PMMClientLocationConfig represents file system config inside pmm-client.

func (*PMMClientLocationConfig) Descriptor deprecated

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

Deprecated: Use PMMClientLocationConfig.ProtoReflect.Descriptor instead.

func (*PMMClientLocationConfig) GetPath

func (x *PMMClientLocationConfig) GetPath() string

func (*PMMClientLocationConfig) ProtoMessage

func (*PMMClientLocationConfig) ProtoMessage()

func (*PMMClientLocationConfig) ProtoReflect

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

func (*PMMClientLocationConfig) Reset

func (x *PMMClientLocationConfig) Reset()

func (*PMMClientLocationConfig) String

func (x *PMMClientLocationConfig) String() string

func (*PMMClientLocationConfig) Validate

func (this *PMMClientLocationConfig) Validate() error

type PMMServerLocationConfig

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

PMMServerLocationConfig represents file system config inside pmm-server.

func (*PMMServerLocationConfig) Descriptor deprecated

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

Deprecated: Use PMMServerLocationConfig.ProtoReflect.Descriptor instead.

func (*PMMServerLocationConfig) GetPath

func (x *PMMServerLocationConfig) GetPath() string

func (*PMMServerLocationConfig) ProtoMessage

func (*PMMServerLocationConfig) ProtoMessage()

func (*PMMServerLocationConfig) ProtoReflect

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

func (*PMMServerLocationConfig) Reset

func (x *PMMServerLocationConfig) Reset()

func (*PMMServerLocationConfig) String

func (x *PMMServerLocationConfig) String() string

func (*PMMServerLocationConfig) Validate

func (this *PMMServerLocationConfig) Validate() error

type RemoveLocationRequest

type RemoveLocationRequest struct {

	// Machine-readable ID.
	LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// Force mode
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveLocationRequest) Descriptor deprecated

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

Deprecated: Use RemoveLocationRequest.ProtoReflect.Descriptor instead.

func (*RemoveLocationRequest) GetForce

func (x *RemoveLocationRequest) GetForce() bool

func (*RemoveLocationRequest) GetLocationId

func (x *RemoveLocationRequest) GetLocationId() string

func (*RemoveLocationRequest) ProtoMessage

func (*RemoveLocationRequest) ProtoMessage()

func (*RemoveLocationRequest) ProtoReflect

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

func (*RemoveLocationRequest) Reset

func (x *RemoveLocationRequest) Reset()

func (*RemoveLocationRequest) String

func (x *RemoveLocationRequest) String() string

func (*RemoveLocationRequest) Validate

func (this *RemoveLocationRequest) Validate() error

type RemoveLocationResponse

type RemoveLocationResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveLocationResponse) Descriptor deprecated

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

Deprecated: Use RemoveLocationResponse.ProtoReflect.Descriptor instead.

func (*RemoveLocationResponse) ProtoMessage

func (*RemoveLocationResponse) ProtoMessage()

func (*RemoveLocationResponse) ProtoReflect

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

func (*RemoveLocationResponse) Reset

func (x *RemoveLocationResponse) Reset()

func (*RemoveLocationResponse) String

func (x *RemoveLocationResponse) String() string

func (*RemoveLocationResponse) Validate

func (this *RemoveLocationResponse) Validate() error

type RestoreBackupRequest

type RestoreBackupRequest struct {

	// Service identifier where backup should be restored.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Artifact id to restore.
	ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreBackupRequest) Descriptor deprecated

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

Deprecated: Use RestoreBackupRequest.ProtoReflect.Descriptor instead.

func (*RestoreBackupRequest) GetArtifactId

func (x *RestoreBackupRequest) GetArtifactId() string

func (*RestoreBackupRequest) GetServiceId

func (x *RestoreBackupRequest) GetServiceId() string

func (*RestoreBackupRequest) ProtoMessage

func (*RestoreBackupRequest) ProtoMessage()

func (*RestoreBackupRequest) ProtoReflect

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

func (*RestoreBackupRequest) Reset

func (x *RestoreBackupRequest) Reset()

func (*RestoreBackupRequest) String

func (x *RestoreBackupRequest) String() string

func (*RestoreBackupRequest) Validate

func (this *RestoreBackupRequest) Validate() error

type RestoreBackupResponse

type RestoreBackupResponse struct {

	// Unique restore identifier.
	RestoreId string `protobuf:"bytes,1,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreBackupResponse) Descriptor deprecated

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

Deprecated: Use RestoreBackupResponse.ProtoReflect.Descriptor instead.

func (*RestoreBackupResponse) GetRestoreId

func (x *RestoreBackupResponse) GetRestoreId() string

func (*RestoreBackupResponse) ProtoMessage

func (*RestoreBackupResponse) ProtoMessage()

func (*RestoreBackupResponse) ProtoReflect

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

func (*RestoreBackupResponse) Reset

func (x *RestoreBackupResponse) Reset()

func (*RestoreBackupResponse) String

func (x *RestoreBackupResponse) String() string

func (*RestoreBackupResponse) Validate

func (this *RestoreBackupResponse) Validate() error

type RestoreHistoryClient

type RestoreHistoryClient interface {
	// ListRestoreHistory returns a list of all backup restore history items.
	ListRestoreHistory(ctx context.Context, in *ListRestoreHistoryRequest, opts ...grpc.CallOption) (*ListRestoreHistoryResponse, error)
}

RestoreHistoryClient is the client API for RestoreHistory service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type RestoreHistoryItem

type RestoreHistoryItem struct {

	// Machine-readable restore id.
	RestoreId string `protobuf:"bytes,1,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"`
	// ID of the artifact used for restore.
	ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// Artifact name used for restore.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Database vendor e.g. PostgreSQL, MongoDB, MySQL.
	Vendor string `protobuf:"bytes,4,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Machine-readable location ID.
	LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// Location name.
	LocationName string `protobuf:"bytes,6,opt,name=location_name,json=locationName,proto3" json:"location_name,omitempty"`
	// Machine-readable service ID.
	ServiceId string `protobuf:"bytes,7,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Service name.
	ServiceName string `protobuf:"bytes,8,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Backup data model.
	DataModel DataModel `protobuf:"varint,9,opt,name=data_model,json=dataModel,proto3,enum=backup.v1beta1.DataModel" json:"data_model,omitempty"`
	// Restore status.
	Status RestoreStatus `protobuf:"varint,10,opt,name=status,proto3,enum=backup.v1beta1.RestoreStatus" json:"status,omitempty"`
	// Restore start time.
	StartedAt *timestamp.Timestamp `protobuf:"bytes,11,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// Restore finish time.
	FinishedAt *timestamp.Timestamp `protobuf:"bytes,12,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	// contains filtered or unexported fields
}

RestoreHistoryItem represents single backup restore item.

func (*RestoreHistoryItem) Descriptor deprecated

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

Deprecated: Use RestoreHistoryItem.ProtoReflect.Descriptor instead.

func (*RestoreHistoryItem) GetArtifactId

func (x *RestoreHistoryItem) GetArtifactId() string

func (*RestoreHistoryItem) GetDataModel

func (x *RestoreHistoryItem) GetDataModel() DataModel

func (*RestoreHistoryItem) GetFinishedAt

func (x *RestoreHistoryItem) GetFinishedAt() *timestamp.Timestamp

func (*RestoreHistoryItem) GetLocationId

func (x *RestoreHistoryItem) GetLocationId() string

func (*RestoreHistoryItem) GetLocationName

func (x *RestoreHistoryItem) GetLocationName() string

func (*RestoreHistoryItem) GetName

func (x *RestoreHistoryItem) GetName() string

func (*RestoreHistoryItem) GetRestoreId

func (x *RestoreHistoryItem) GetRestoreId() string

func (*RestoreHistoryItem) GetServiceId

func (x *RestoreHistoryItem) GetServiceId() string

func (*RestoreHistoryItem) GetServiceName

func (x *RestoreHistoryItem) GetServiceName() string

func (*RestoreHistoryItem) GetStartedAt

func (x *RestoreHistoryItem) GetStartedAt() *timestamp.Timestamp

func (*RestoreHistoryItem) GetStatus

func (x *RestoreHistoryItem) GetStatus() RestoreStatus

func (*RestoreHistoryItem) GetVendor

func (x *RestoreHistoryItem) GetVendor() string

func (*RestoreHistoryItem) ProtoMessage

func (*RestoreHistoryItem) ProtoMessage()

func (*RestoreHistoryItem) ProtoReflect

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

func (*RestoreHistoryItem) Reset

func (x *RestoreHistoryItem) Reset()

func (*RestoreHistoryItem) String

func (x *RestoreHistoryItem) String() string

func (*RestoreHistoryItem) Validate

func (this *RestoreHistoryItem) Validate() error

type RestoreHistoryServer

type RestoreHistoryServer interface {
	// ListRestoreHistory returns a list of all backup restore history items.
	ListRestoreHistory(context.Context, *ListRestoreHistoryRequest) (*ListRestoreHistoryResponse, error)
}

RestoreHistoryServer is the server API for RestoreHistory service.

type RestoreStatus

type RestoreStatus int32

RestoreStatus shows the current status of execution of restore.

const (
	RestoreStatus_RESTORE_STATUS_INVALID     RestoreStatus = 0
	RestoreStatus_RESTORE_STATUS_IN_PROGRESS RestoreStatus = 1
	RestoreStatus_RESTORE_STATUS_SUCCESS     RestoreStatus = 2
	RestoreStatus_RESTORE_STATUS_ERROR       RestoreStatus = 3
)

func (RestoreStatus) Descriptor

func (RestoreStatus) Enum

func (x RestoreStatus) Enum() *RestoreStatus

func (RestoreStatus) EnumDescriptor deprecated

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

Deprecated: Use RestoreStatus.Descriptor instead.

func (RestoreStatus) Number

func (RestoreStatus) String

func (x RestoreStatus) String() string

func (RestoreStatus) Type

type RetryMode

type RetryMode int32

RetryMode specifies how backup should retry in case of failure.

const (
	RetryMode_RETRY_MODE_INVALID RetryMode = 0
	RetryMode_AUTO               RetryMode = 1
	RetryMode_MANUAL             RetryMode = 2
)

func (RetryMode) Descriptor

func (RetryMode) Descriptor() protoreflect.EnumDescriptor

func (RetryMode) Enum

func (x RetryMode) Enum() *RetryMode

func (RetryMode) EnumDescriptor deprecated

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

Deprecated: Use RetryMode.Descriptor instead.

func (RetryMode) Number

func (x RetryMode) Number() protoreflect.EnumNumber

func (RetryMode) String

func (x RetryMode) String() string

func (RetryMode) Type

type S3LocationConfig

type S3LocationConfig struct {
	Endpoint   string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	AccessKey  string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	SecretKey  string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	BucketName string `protobuf:"bytes,4,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// contains filtered or unexported fields
}

S3LocationConfig represents S3 bucket configuration.

func (*S3LocationConfig) Descriptor deprecated

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

Deprecated: Use S3LocationConfig.ProtoReflect.Descriptor instead.

func (*S3LocationConfig) GetAccessKey

func (x *S3LocationConfig) GetAccessKey() string

func (*S3LocationConfig) GetBucketName

func (x *S3LocationConfig) GetBucketName() string

func (*S3LocationConfig) GetEndpoint

func (x *S3LocationConfig) GetEndpoint() string

func (*S3LocationConfig) GetSecretKey

func (x *S3LocationConfig) GetSecretKey() string

func (*S3LocationConfig) ProtoMessage

func (*S3LocationConfig) ProtoMessage()

func (*S3LocationConfig) ProtoReflect

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

func (*S3LocationConfig) Reset

func (x *S3LocationConfig) Reset()

func (*S3LocationConfig) String

func (x *S3LocationConfig) String() string

func (*S3LocationConfig) Validate

func (this *S3LocationConfig) Validate() error

type StartBackupRequest

type StartBackupRequest struct {

	// Service identifier.
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Machine-readable location ID.
	LocationId string `protobuf:"bytes,2,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// If empty then name is auto-generated.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Human-readable description.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*StartBackupRequest) Descriptor deprecated

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

Deprecated: Use StartBackupRequest.ProtoReflect.Descriptor instead.

func (*StartBackupRequest) GetDescription

func (x *StartBackupRequest) GetDescription() string

func (*StartBackupRequest) GetLocationId

func (x *StartBackupRequest) GetLocationId() string

func (*StartBackupRequest) GetName

func (x *StartBackupRequest) GetName() string

func (*StartBackupRequest) GetServiceId

func (x *StartBackupRequest) GetServiceId() string

func (*StartBackupRequest) ProtoMessage

func (*StartBackupRequest) ProtoMessage()

func (*StartBackupRequest) ProtoReflect

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

func (*StartBackupRequest) Reset

func (x *StartBackupRequest) Reset()

func (*StartBackupRequest) String

func (x *StartBackupRequest) String() string

func (*StartBackupRequest) Validate

func (this *StartBackupRequest) Validate() error

type StartBackupResponse

type StartBackupResponse struct {

	// Unique identifier.
	ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartBackupResponse) Descriptor deprecated

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

Deprecated: Use StartBackupResponse.ProtoReflect.Descriptor instead.

func (*StartBackupResponse) GetArtifactId

func (x *StartBackupResponse) GetArtifactId() string

func (*StartBackupResponse) ProtoMessage

func (*StartBackupResponse) ProtoMessage()

func (*StartBackupResponse) ProtoReflect

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

func (*StartBackupResponse) Reset

func (x *StartBackupResponse) Reset()

func (*StartBackupResponse) String

func (x *StartBackupResponse) String() string

func (*StartBackupResponse) Validate

func (this *StartBackupResponse) Validate() error

type TestLocationConfigRequest

type TestLocationConfigRequest struct {

	// PMM-client file system configuration. Exactly one config should be set.
	PmmClientConfig *PMMClientLocationConfig `protobuf:"bytes,1,opt,name=pmm_client_config,json=pmmClientConfig,proto3" json:"pmm_client_config,omitempty"`
	// PMM-server file system configuration. Exactly one config should be set.
	PmmServerConfig *PMMServerLocationConfig `protobuf:"bytes,2,opt,name=pmm_server_config,json=pmmServerConfig,proto3" json:"pmm_server_config,omitempty"`
	// S3 Bucket configuration. Exactly one config should be set.
	S3Config *S3LocationConfig `protobuf:"bytes,3,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"`
	// contains filtered or unexported fields
}

func (*TestLocationConfigRequest) Descriptor deprecated

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

Deprecated: Use TestLocationConfigRequest.ProtoReflect.Descriptor instead.

func (*TestLocationConfigRequest) GetPmmClientConfig

func (x *TestLocationConfigRequest) GetPmmClientConfig() *PMMClientLocationConfig

func (*TestLocationConfigRequest) GetPmmServerConfig

func (x *TestLocationConfigRequest) GetPmmServerConfig() *PMMServerLocationConfig

func (*TestLocationConfigRequest) GetS3Config

func (x *TestLocationConfigRequest) GetS3Config() *S3LocationConfig

func (*TestLocationConfigRequest) ProtoMessage

func (*TestLocationConfigRequest) ProtoMessage()

func (*TestLocationConfigRequest) ProtoReflect

func (*TestLocationConfigRequest) Reset

func (x *TestLocationConfigRequest) Reset()

func (*TestLocationConfigRequest) String

func (x *TestLocationConfigRequest) String() string

func (*TestLocationConfigRequest) Validate

func (this *TestLocationConfigRequest) Validate() error

type TestLocationConfigResponse

type TestLocationConfigResponse struct {
	// contains filtered or unexported fields
}

func (*TestLocationConfigResponse) Descriptor deprecated

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

Deprecated: Use TestLocationConfigResponse.ProtoReflect.Descriptor instead.

func (*TestLocationConfigResponse) ProtoMessage

func (*TestLocationConfigResponse) ProtoMessage()

func (*TestLocationConfigResponse) ProtoReflect

func (*TestLocationConfigResponse) Reset

func (x *TestLocationConfigResponse) Reset()

func (*TestLocationConfigResponse) String

func (x *TestLocationConfigResponse) String() string

func (*TestLocationConfigResponse) Validate

func (this *TestLocationConfigResponse) Validate() error

type UnimplementedArtifactsServer

type UnimplementedArtifactsServer struct {
}

UnimplementedArtifactsServer can be embedded to have forward compatible implementations.

func (*UnimplementedArtifactsServer) ListArtifacts

type UnimplementedBackupsServer

type UnimplementedBackupsServer struct {
}

UnimplementedBackupsServer can be embedded to have forward compatible implementations.

func (*UnimplementedBackupsServer) RestoreBackup

func (*UnimplementedBackupsServer) StartBackup

type UnimplementedLocationsServer

type UnimplementedLocationsServer struct {
}

UnimplementedLocationsServer can be embedded to have forward compatible implementations.

func (*UnimplementedLocationsServer) AddLocation

func (*UnimplementedLocationsServer) ChangeLocation

func (*UnimplementedLocationsServer) ListLocations

func (*UnimplementedLocationsServer) RemoveLocation

func (*UnimplementedLocationsServer) TestLocationConfig

type UnimplementedRestoreHistoryServer

type UnimplementedRestoreHistoryServer struct {
}

UnimplementedRestoreHistoryServer can be embedded to have forward compatible implementations.

func (*UnimplementedRestoreHistoryServer) ListRestoreHistory

Directories

Path Synopsis
json

Jump to

Keyboard shortcuts

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