backup

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

nolint

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backup

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

Backup provides access to "backup" component of Yandex.Cloud

func NewBackup

func NewBackup(g func(ctx context.Context) (*grpc.ClientConn, error)) *Backup

NewBackup creates instance of Backup

func (*Backup) Backup

func (b *Backup) Backup() *BackupServiceClient

Backup gets BackupService client

func (*Backup) Policy

func (b *Backup) Policy() *PolicyServiceClient

Policy gets PolicyService client

func (*Backup) Provider

func (b *Backup) Provider() *ProviderServiceClient

Provider gets ProviderService client

func (*Backup) Resource

func (b *Backup) Resource() *ResourceServiceClient

Resource gets ResourceService client

func (*Backup) Setup added in v0.32.0

func (b *Backup) Setup() *SetupServiceClient

Setup gets SetupService client

type BackupArchivesIterator

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

func (*BackupArchivesIterator) Error

func (it *BackupArchivesIterator) Error() error

func (*BackupArchivesIterator) Next

func (it *BackupArchivesIterator) Next() bool

func (*BackupArchivesIterator) Take

func (it *BackupArchivesIterator) Take(size int64) ([]*backup.Archive, error)

func (*BackupArchivesIterator) TakeAll

func (it *BackupArchivesIterator) TakeAll() ([]*backup.Archive, error)

func (*BackupArchivesIterator) Value

func (it *BackupArchivesIterator) Value() *backup.Archive

type BackupFilesIterator

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

func (*BackupFilesIterator) Error

func (it *BackupFilesIterator) Error() error

func (*BackupFilesIterator) Next

func (it *BackupFilesIterator) Next() bool

func (*BackupFilesIterator) Take

func (it *BackupFilesIterator) Take(size int64) ([]*backup.BackupFile, error)

func (*BackupFilesIterator) TakeAll

func (it *BackupFilesIterator) TakeAll() ([]*backup.BackupFile, error)

func (*BackupFilesIterator) Value

func (it *BackupFilesIterator) Value() *backup.BackupFile

type BackupIterator

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

func (*BackupIterator) Error

func (it *BackupIterator) Error() error

func (*BackupIterator) Next

func (it *BackupIterator) Next() bool

func (*BackupIterator) Take

func (it *BackupIterator) Take(size int64) ([]*backup.Backup, error)

func (*BackupIterator) TakeAll

func (it *BackupIterator) TakeAll() ([]*backup.Backup, error)

func (*BackupIterator) Value

func (it *BackupIterator) Value() *backup.Backup

type BackupServiceClient

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

BackupServiceClient is a backup.BackupServiceClient with lazy GRPC connection initialization.

func (*BackupServiceClient) BackupArchivesIterator

func (c *BackupServiceClient) BackupArchivesIterator(ctx context.Context, req *backup.ListArchivesRequest, opts ...grpc.CallOption) *BackupArchivesIterator

func (*BackupServiceClient) BackupFilesIterator

func (c *BackupServiceClient) BackupFilesIterator(ctx context.Context, req *backup.ListFilesRequest, opts ...grpc.CallOption) *BackupFilesIterator

func (*BackupServiceClient) BackupIterator

func (*BackupServiceClient) Delete

Delete implements backup.BackupServiceClient

func (*BackupServiceClient) DeleteArchive

DeleteArchive implements backup.BackupServiceClient

func (*BackupServiceClient) Get

Get implements backup.BackupServiceClient

func (*BackupServiceClient) List

List implements backup.BackupServiceClient

func (*BackupServiceClient) ListArchives

ListArchives implements backup.BackupServiceClient

func (*BackupServiceClient) ListFiles

ListFiles implements backup.BackupServiceClient

func (*BackupServiceClient) StartFilesRecovery

StartFilesRecovery implements backup.BackupServiceClient

func (*BackupServiceClient) StartRecovery

StartRecovery implements backup.BackupServiceClient

type PolicyApplicationsIterator

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

func (*PolicyApplicationsIterator) Error

func (it *PolicyApplicationsIterator) Error() error

func (*PolicyApplicationsIterator) Next

func (it *PolicyApplicationsIterator) Next() bool

func (*PolicyApplicationsIterator) Take

func (*PolicyApplicationsIterator) TakeAll

func (*PolicyApplicationsIterator) Value

type PolicyIterator

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

func (*PolicyIterator) Error

func (it *PolicyIterator) Error() error

func (*PolicyIterator) Next

func (it *PolicyIterator) Next() bool

func (*PolicyIterator) Take

func (it *PolicyIterator) Take(size int64) ([]*backup.Policy, error)

func (*PolicyIterator) TakeAll

func (it *PolicyIterator) TakeAll() ([]*backup.Policy, error)

func (*PolicyIterator) Value

func (it *PolicyIterator) Value() *backup.Policy

type PolicyServiceClient

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

PolicyServiceClient is a backup.PolicyServiceClient with lazy GRPC connection initialization.

func (*PolicyServiceClient) Apply

Apply implements backup.PolicyServiceClient

func (*PolicyServiceClient) Create

Create implements backup.PolicyServiceClient

func (*PolicyServiceClient) Delete

Delete implements backup.PolicyServiceClient

func (*PolicyServiceClient) Execute

Execute implements backup.PolicyServiceClient

func (*PolicyServiceClient) Get

Get implements backup.PolicyServiceClient

func (*PolicyServiceClient) List

List implements backup.PolicyServiceClient

func (*PolicyServiceClient) ListApplications

ListApplications implements backup.PolicyServiceClient

func (*PolicyServiceClient) PolicyApplicationsIterator

func (*PolicyServiceClient) PolicyIterator

func (*PolicyServiceClient) Revoke

Revoke implements backup.PolicyServiceClient

func (*PolicyServiceClient) Update

Update implements backup.PolicyServiceClient

type ProviderActivatedIterator

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

func (*ProviderActivatedIterator) Error

func (it *ProviderActivatedIterator) Error() error

func (*ProviderActivatedIterator) Next

func (it *ProviderActivatedIterator) Next() bool

func (*ProviderActivatedIterator) Take

func (it *ProviderActivatedIterator) Take(size int64) ([]string, error)

func (*ProviderActivatedIterator) TakeAll

func (it *ProviderActivatedIterator) TakeAll() ([]string, error)

func (*ProviderActivatedIterator) Value

func (it *ProviderActivatedIterator) Value() string

type ProviderServiceClient

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

ProviderServiceClient is a backup.ProviderServiceClient with lazy GRPC connection initialization.

func (*ProviderServiceClient) Activate

Activate implements backup.ProviderServiceClient

func (*ProviderServiceClient) ListActivated

ListActivated implements backup.ProviderServiceClient

func (*ProviderServiceClient) ProviderActivatedIterator

type ResourceDirectoryIterator

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

func (*ResourceDirectoryIterator) Error

func (it *ResourceDirectoryIterator) Error() error

func (*ResourceDirectoryIterator) Next

func (it *ResourceDirectoryIterator) Next() bool

func (*ResourceDirectoryIterator) Take

func (*ResourceDirectoryIterator) TakeAll

func (*ResourceDirectoryIterator) Value

type ResourceIterator

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

func (*ResourceIterator) Error

func (it *ResourceIterator) Error() error

func (*ResourceIterator) Next

func (it *ResourceIterator) Next() bool

func (*ResourceIterator) Take

func (it *ResourceIterator) Take(size int64) ([]*backup.Resource, error)

func (*ResourceIterator) TakeAll

func (it *ResourceIterator) TakeAll() ([]*backup.Resource, error)

func (*ResourceIterator) Value

func (it *ResourceIterator) Value() *backup.Resource

type ResourceOperationsIterator

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

func (*ResourceOperationsIterator) Error

func (it *ResourceOperationsIterator) Error() error

func (*ResourceOperationsIterator) Next

func (it *ResourceOperationsIterator) Next() bool

func (*ResourceOperationsIterator) Take

func (*ResourceOperationsIterator) TakeAll

func (*ResourceOperationsIterator) Value

type ResourceServiceClient

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

ResourceServiceClient is a backup.ResourceServiceClient with lazy GRPC connection initialization.

func (*ResourceServiceClient) CreateDirectory

CreateDirectory implements backup.ResourceServiceClient

func (*ResourceServiceClient) Delete

Delete implements backup.ResourceServiceClient

func (*ResourceServiceClient) Get

Get implements backup.ResourceServiceClient

func (*ResourceServiceClient) GetInstanceRegistrationToken added in v0.16.0

GetInstanceRegistrationToken implements backup.ResourceServiceClient

func (*ResourceServiceClient) List

List implements backup.ResourceServiceClient

func (*ResourceServiceClient) ListDirectory

ListDirectory implements backup.ResourceServiceClient

func (*ResourceServiceClient) ListOperations

ListOperations implements backup.ResourceServiceClient

func (*ResourceServiceClient) ListTasks

ListTasks implements backup.ResourceServiceClient

func (*ResourceServiceClient) ResourceDirectoryIterator

func (*ResourceServiceClient) ResourceIterator

func (*ResourceServiceClient) ResourceOperationsIterator

func (*ResourceServiceClient) ResourceTasksIterator

func (c *ResourceServiceClient) ResourceTasksIterator(ctx context.Context, req *backup.ListTasksRequest, opts ...grpc.CallOption) *ResourceTasksIterator

type ResourceTasksIterator

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

func (*ResourceTasksIterator) Error

func (it *ResourceTasksIterator) Error() error

func (*ResourceTasksIterator) Next

func (it *ResourceTasksIterator) Next() bool

func (*ResourceTasksIterator) Take

func (it *ResourceTasksIterator) Take(size int64) ([]*backup.Task, error)

func (*ResourceTasksIterator) TakeAll

func (it *ResourceTasksIterator) TakeAll() ([]*backup.Task, error)

func (*ResourceTasksIterator) Value

func (it *ResourceTasksIterator) Value() *backup.Task

type SetupServiceClient added in v0.32.0

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

SetupServiceClient is a backup.SetupServiceClient with lazy GRPC connection initialization.

func (*SetupServiceClient) GetAgentInstallCommand added in v0.32.0

GetAgentInstallCommand implements backup.SetupServiceClient

Jump to

Keyboard shortcuts

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