backupsfiles

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package backupsfiles contains methods related to BackupsFiles

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupsFilesV1

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

BackupsFilesV1 represents a custom type struct

func (*BackupsFilesV1) ListFileVersions

func (b *BackupsFilesV1) ListFileVersions(
	searchResultId string,
	limit *int64,
	start *string) (
	*models.FileListResponse, *apiutils.APIError)

ListFileVersions Retrieve the list of versions of the file.

func (*BackupsFilesV1) ListFiles

func (b *BackupsFilesV1) ListFiles(
	limit *int64,
	start *string,
	filter string) (
	*models.FileSearchResponse, *apiutils.APIError)

ListFiles Retrieve the list of files whose name matches a given regex pattern.

type BackupsFilesV1Client

type BackupsFilesV1Client interface {
	//  Retrieve the list of files whose name matches a given regex pattern.
	ListFiles(
		limit *int64,
		start *string,
		filter string) (
		*models.FileSearchResponse, *apiutils.APIError)

	//  Retrieve the list of versions of the file.
	ListFileVersions(
		searchResultId string,
		limit *int64,
		start *string) (
		*models.FileListResponse, *apiutils.APIError)
}

BackupsFilesV1Client represents a custom type interface

func NewBackupsFilesV1

func NewBackupsFilesV1(config config.Config) BackupsFilesV1Client

NewBackupsFilesV1 returns BackupsFilesV1Client

Jump to

Keyboard shortcuts

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