Documentation
¶
Overview ¶
nolint
nolint
nolint
nolint
nolint
Index ¶
- type Backup
- type BackupArchivesIterator
- func (it *BackupArchivesIterator) Error() error
- func (it *BackupArchivesIterator) Next() bool
- func (it *BackupArchivesIterator) Take(size int64) ([]*backup.Archive, error)
- func (it *BackupArchivesIterator) TakeAll() ([]*backup.Archive, error)
- func (it *BackupArchivesIterator) Value() *backup.Archive
- type BackupFilesIterator
- type BackupIterator
- type BackupServiceClient
- func (c *BackupServiceClient) BackupArchivesIterator(ctx context.Context, req *backup.ListArchivesRequest, opts ...grpc.CallOption) *BackupArchivesIterator
- func (c *BackupServiceClient) BackupFilesIterator(ctx context.Context, req *backup.ListFilesRequest, opts ...grpc.CallOption) *BackupFilesIterator
- func (c *BackupServiceClient) BackupIterator(ctx context.Context, req *backup.ListBackupsRequest, opts ...grpc.CallOption) *BackupIterator
- func (c *BackupServiceClient) Delete(ctx context.Context, in *backup.DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *BackupServiceClient) DeleteArchive(ctx context.Context, in *backup.DeleteArchiveRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *BackupServiceClient) Get(ctx context.Context, in *backup.GetBackupRequest, opts ...grpc.CallOption) (*backup.Backup, error)
- func (c *BackupServiceClient) List(ctx context.Context, in *backup.ListBackupsRequest, opts ...grpc.CallOption) (*backup.ListBackupsResponse, error)
- func (c *BackupServiceClient) ListArchives(ctx context.Context, in *backup.ListArchivesRequest, opts ...grpc.CallOption) (*backup.ListArchivesResponse, error)
- func (c *BackupServiceClient) ListFiles(ctx context.Context, in *backup.ListFilesRequest, opts ...grpc.CallOption) (*backup.ListFilesResponse, error)
- func (c *BackupServiceClient) StartFilesRecovery(ctx context.Context, in *backup.StartFilesRecoveryRequest, ...) (*operation.Operation, error)
- func (c *BackupServiceClient) StartRecovery(ctx context.Context, in *backup.StartRecoveryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- type PolicyApplicationsIterator
- func (it *PolicyApplicationsIterator) Error() error
- func (it *PolicyApplicationsIterator) Next() bool
- func (it *PolicyApplicationsIterator) Take(size int64) ([]*backup.PolicyApplication, error)
- func (it *PolicyApplicationsIterator) TakeAll() ([]*backup.PolicyApplication, error)
- func (it *PolicyApplicationsIterator) Value() *backup.PolicyApplication
- type PolicyIterator
- type PolicyServiceClient
- func (c *PolicyServiceClient) Apply(ctx context.Context, in *backup.ApplyPolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *PolicyServiceClient) Create(ctx context.Context, in *backup.CreatePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *PolicyServiceClient) Delete(ctx context.Context, in *backup.DeletePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *PolicyServiceClient) Execute(ctx context.Context, in *backup.ExecuteRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *PolicyServiceClient) Get(ctx context.Context, in *backup.GetPolicyRequest, opts ...grpc.CallOption) (*backup.Policy, error)
- func (c *PolicyServiceClient) List(ctx context.Context, in *backup.ListPoliciesRequest, opts ...grpc.CallOption) (*backup.ListPoliciesResponse, error)
- func (c *PolicyServiceClient) ListApplications(ctx context.Context, in *backup.ListApplicationsRequest, ...) (*backup.ListApplicationsResponse, error)
- func (c *PolicyServiceClient) PolicyApplicationsIterator(ctx context.Context, req *backup.ListApplicationsRequest, ...) *PolicyApplicationsIterator
- func (c *PolicyServiceClient) PolicyIterator(ctx context.Context, req *backup.ListPoliciesRequest, opts ...grpc.CallOption) *PolicyIterator
- func (c *PolicyServiceClient) Revoke(ctx context.Context, in *backup.RevokeRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *PolicyServiceClient) Update(ctx context.Context, in *backup.UpdatePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- type ProviderActivatedIterator
- type ProviderServiceClient
- func (c *ProviderServiceClient) Activate(ctx context.Context, in *backup.ActivateProviderRequest, ...) (*operation.Operation, error)
- func (c *ProviderServiceClient) ListActivated(ctx context.Context, in *backup.ListActivatedProvidersRequest, ...) (*backup.ListActivatedProvidersResponse, error)
- func (c *ProviderServiceClient) ProviderActivatedIterator(ctx context.Context, req *backup.ListActivatedProvidersRequest, ...) *ProviderActivatedIterator
- type ResourceDirectoryIterator
- func (it *ResourceDirectoryIterator) Error() error
- func (it *ResourceDirectoryIterator) Next() bool
- func (it *ResourceDirectoryIterator) Take(size int64) ([]*backup.ListDirectoryResponse_FilesystemItem, error)
- func (it *ResourceDirectoryIterator) TakeAll() ([]*backup.ListDirectoryResponse_FilesystemItem, error)
- func (it *ResourceDirectoryIterator) Value() *backup.ListDirectoryResponse_FilesystemItem
- type ResourceIterator
- type ResourceOperationsIterator
- func (it *ResourceOperationsIterator) Error() error
- func (it *ResourceOperationsIterator) Next() bool
- func (it *ResourceOperationsIterator) Take(size int64) ([]*operation.Operation, error)
- func (it *ResourceOperationsIterator) TakeAll() ([]*operation.Operation, error)
- func (it *ResourceOperationsIterator) Value() *operation.Operation
- type ResourceServiceClient
- func (c *ResourceServiceClient) CreateDirectory(ctx context.Context, in *backup.CreateDirectoryRequest, ...) (*operation.Operation, error)
- func (c *ResourceServiceClient) Delete(ctx context.Context, in *backup.DeleteResourceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *ResourceServiceClient) Get(ctx context.Context, in *backup.GetResourceRequest, opts ...grpc.CallOption) (*backup.GetResourceResponse, error)
- func (c *ResourceServiceClient) GetInstanceRegistrationToken(ctx context.Context, in *backup.GetInstanceRegistrationTokenRequest, ...) (*backup.GetInstanceRegistrationTokenResponse, error)
- func (c *ResourceServiceClient) List(ctx context.Context, in *backup.ListResourcesRequest, opts ...grpc.CallOption) (*backup.ListResourcesResponse, error)
- func (c *ResourceServiceClient) ListDirectory(ctx context.Context, in *backup.ListDirectoryRequest, opts ...grpc.CallOption) (*backup.ListDirectoryResponse, error)
- func (c *ResourceServiceClient) ListOperations(ctx context.Context, in *backup.ListResourceOperationsRequest, ...) (*backup.ListResourceOperationsResponse, error)
- func (c *ResourceServiceClient) ListTasks(ctx context.Context, in *backup.ListTasksRequest, opts ...grpc.CallOption) (*backup.ListTasksResponse, error)
- func (c *ResourceServiceClient) ResourceDirectoryIterator(ctx context.Context, req *backup.ListDirectoryRequest, opts ...grpc.CallOption) *ResourceDirectoryIterator
- func (c *ResourceServiceClient) ResourceIterator(ctx context.Context, req *backup.ListResourcesRequest, opts ...grpc.CallOption) *ResourceIterator
- func (c *ResourceServiceClient) ResourceOperationsIterator(ctx context.Context, req *backup.ListResourceOperationsRequest, ...) *ResourceOperationsIterator
- func (c *ResourceServiceClient) ResourceTasksIterator(ctx context.Context, req *backup.ListTasksRequest, opts ...grpc.CallOption) *ResourceTasksIterator
- type ResourceTasksIterator
- type SetupServiceClient
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 (*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) 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 (c *BackupServiceClient) BackupIterator(ctx context.Context, req *backup.ListBackupsRequest, opts ...grpc.CallOption) *BackupIterator
func (*BackupServiceClient) Delete ¶
func (c *BackupServiceClient) Delete(ctx context.Context, in *backup.DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements backup.BackupServiceClient
func (*BackupServiceClient) DeleteArchive ¶
func (c *BackupServiceClient) DeleteArchive(ctx context.Context, in *backup.DeleteArchiveRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeleteArchive implements backup.BackupServiceClient
func (*BackupServiceClient) Get ¶
func (c *BackupServiceClient) Get(ctx context.Context, in *backup.GetBackupRequest, opts ...grpc.CallOption) (*backup.Backup, error)
Get implements backup.BackupServiceClient
func (*BackupServiceClient) List ¶
func (c *BackupServiceClient) List(ctx context.Context, in *backup.ListBackupsRequest, opts ...grpc.CallOption) (*backup.ListBackupsResponse, error)
List implements backup.BackupServiceClient
func (*BackupServiceClient) ListArchives ¶
func (c *BackupServiceClient) ListArchives(ctx context.Context, in *backup.ListArchivesRequest, opts ...grpc.CallOption) (*backup.ListArchivesResponse, error)
ListArchives implements backup.BackupServiceClient
func (*BackupServiceClient) ListFiles ¶
func (c *BackupServiceClient) ListFiles(ctx context.Context, in *backup.ListFilesRequest, opts ...grpc.CallOption) (*backup.ListFilesResponse, error)
ListFiles implements backup.BackupServiceClient
func (*BackupServiceClient) StartFilesRecovery ¶
func (c *BackupServiceClient) StartFilesRecovery(ctx context.Context, in *backup.StartFilesRecoveryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
StartFilesRecovery implements backup.BackupServiceClient
func (*BackupServiceClient) StartRecovery ¶
func (c *BackupServiceClient) StartRecovery(ctx context.Context, in *backup.StartRecoveryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
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 (it *PolicyApplicationsIterator) Take(size int64) ([]*backup.PolicyApplication, error)
func (*PolicyApplicationsIterator) TakeAll ¶
func (it *PolicyApplicationsIterator) TakeAll() ([]*backup.PolicyApplication, error)
func (*PolicyApplicationsIterator) Value ¶
func (it *PolicyApplicationsIterator) Value() *backup.PolicyApplication
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) 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 ¶
func (c *PolicyServiceClient) Apply(ctx context.Context, in *backup.ApplyPolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Apply implements backup.PolicyServiceClient
func (*PolicyServiceClient) Create ¶
func (c *PolicyServiceClient) Create(ctx context.Context, in *backup.CreatePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements backup.PolicyServiceClient
func (*PolicyServiceClient) Delete ¶
func (c *PolicyServiceClient) Delete(ctx context.Context, in *backup.DeletePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements backup.PolicyServiceClient
func (*PolicyServiceClient) Execute ¶
func (c *PolicyServiceClient) Execute(ctx context.Context, in *backup.ExecuteRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Execute implements backup.PolicyServiceClient
func (*PolicyServiceClient) Get ¶
func (c *PolicyServiceClient) Get(ctx context.Context, in *backup.GetPolicyRequest, opts ...grpc.CallOption) (*backup.Policy, error)
Get implements backup.PolicyServiceClient
func (*PolicyServiceClient) List ¶
func (c *PolicyServiceClient) List(ctx context.Context, in *backup.ListPoliciesRequest, opts ...grpc.CallOption) (*backup.ListPoliciesResponse, error)
List implements backup.PolicyServiceClient
func (*PolicyServiceClient) ListApplications ¶
func (c *PolicyServiceClient) ListApplications(ctx context.Context, in *backup.ListApplicationsRequest, opts ...grpc.CallOption) (*backup.ListApplicationsResponse, error)
ListApplications implements backup.PolicyServiceClient
func (*PolicyServiceClient) PolicyApplicationsIterator ¶
func (c *PolicyServiceClient) PolicyApplicationsIterator(ctx context.Context, req *backup.ListApplicationsRequest, opts ...grpc.CallOption) *PolicyApplicationsIterator
func (*PolicyServiceClient) PolicyIterator ¶
func (c *PolicyServiceClient) PolicyIterator(ctx context.Context, req *backup.ListPoliciesRequest, opts ...grpc.CallOption) *PolicyIterator
func (*PolicyServiceClient) Revoke ¶
func (c *PolicyServiceClient) Revoke(ctx context.Context, in *backup.RevokeRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Revoke implements backup.PolicyServiceClient
func (*PolicyServiceClient) Update ¶
func (c *PolicyServiceClient) Update(ctx context.Context, in *backup.UpdatePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
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 ¶
func (c *ProviderServiceClient) Activate(ctx context.Context, in *backup.ActivateProviderRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Activate implements backup.ProviderServiceClient
func (*ProviderServiceClient) ListActivated ¶
func (c *ProviderServiceClient) ListActivated(ctx context.Context, in *backup.ListActivatedProvidersRequest, opts ...grpc.CallOption) (*backup.ListActivatedProvidersResponse, error)
ListActivated implements backup.ProviderServiceClient
func (*ProviderServiceClient) ProviderActivatedIterator ¶
func (c *ProviderServiceClient) ProviderActivatedIterator(ctx context.Context, req *backup.ListActivatedProvidersRequest, opts ...grpc.CallOption) *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 (it *ResourceDirectoryIterator) Take(size int64) ([]*backup.ListDirectoryResponse_FilesystemItem, error)
func (*ResourceDirectoryIterator) TakeAll ¶
func (it *ResourceDirectoryIterator) TakeAll() ([]*backup.ListDirectoryResponse_FilesystemItem, error)
func (*ResourceDirectoryIterator) Value ¶
func (it *ResourceDirectoryIterator) Value() *backup.ListDirectoryResponse_FilesystemItem
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 (it *ResourceOperationsIterator) Take(size int64) ([]*operation.Operation, error)
func (*ResourceOperationsIterator) TakeAll ¶
func (it *ResourceOperationsIterator) TakeAll() ([]*operation.Operation, error)
func (*ResourceOperationsIterator) Value ¶
func (it *ResourceOperationsIterator) Value() *operation.Operation
type ResourceServiceClient ¶
type ResourceServiceClient struct {
// contains filtered or unexported fields
}
ResourceServiceClient is a backup.ResourceServiceClient with lazy GRPC connection initialization.
func (*ResourceServiceClient) CreateDirectory ¶
func (c *ResourceServiceClient) CreateDirectory(ctx context.Context, in *backup.CreateDirectoryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
CreateDirectory implements backup.ResourceServiceClient
func (*ResourceServiceClient) Delete ¶
func (c *ResourceServiceClient) Delete(ctx context.Context, in *backup.DeleteResourceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements backup.ResourceServiceClient
func (*ResourceServiceClient) Get ¶
func (c *ResourceServiceClient) Get(ctx context.Context, in *backup.GetResourceRequest, opts ...grpc.CallOption) (*backup.GetResourceResponse, error)
Get implements backup.ResourceServiceClient
func (*ResourceServiceClient) GetInstanceRegistrationToken ¶ added in v0.16.0
func (c *ResourceServiceClient) GetInstanceRegistrationToken(ctx context.Context, in *backup.GetInstanceRegistrationTokenRequest, opts ...grpc.CallOption) (*backup.GetInstanceRegistrationTokenResponse, error)
GetInstanceRegistrationToken implements backup.ResourceServiceClient
func (*ResourceServiceClient) List ¶
func (c *ResourceServiceClient) List(ctx context.Context, in *backup.ListResourcesRequest, opts ...grpc.CallOption) (*backup.ListResourcesResponse, error)
List implements backup.ResourceServiceClient
func (*ResourceServiceClient) ListDirectory ¶
func (c *ResourceServiceClient) ListDirectory(ctx context.Context, in *backup.ListDirectoryRequest, opts ...grpc.CallOption) (*backup.ListDirectoryResponse, error)
ListDirectory implements backup.ResourceServiceClient
func (*ResourceServiceClient) ListOperations ¶
func (c *ResourceServiceClient) ListOperations(ctx context.Context, in *backup.ListResourceOperationsRequest, opts ...grpc.CallOption) (*backup.ListResourceOperationsResponse, error)
ListOperations implements backup.ResourceServiceClient
func (*ResourceServiceClient) ListTasks ¶
func (c *ResourceServiceClient) ListTasks(ctx context.Context, in *backup.ListTasksRequest, opts ...grpc.CallOption) (*backup.ListTasksResponse, error)
ListTasks implements backup.ResourceServiceClient
func (*ResourceServiceClient) ResourceDirectoryIterator ¶
func (c *ResourceServiceClient) ResourceDirectoryIterator(ctx context.Context, req *backup.ListDirectoryRequest, opts ...grpc.CallOption) *ResourceDirectoryIterator
func (*ResourceServiceClient) ResourceIterator ¶
func (c *ResourceServiceClient) ResourceIterator(ctx context.Context, req *backup.ListResourcesRequest, opts ...grpc.CallOption) *ResourceIterator
func (*ResourceServiceClient) ResourceOperationsIterator ¶
func (c *ResourceServiceClient) ResourceOperationsIterator(ctx context.Context, req *backup.ListResourceOperationsRequest, opts ...grpc.CallOption) *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
func (c *SetupServiceClient) GetAgentInstallCommand(ctx context.Context, in *backup.GetAgentInstallCommandRequest, opts ...grpc.CallOption) (*backup.GetAgentInstallCommandResponse, error)
GetAgentInstallCommand implements backup.SetupServiceClient