package
0.72.1002
Repository: https://github.com/cohesity/go-sdk.git
Documentation: pkg.go.dev

# Functions

New creates a new packages API client.
New creates a new packages API client with basic auth credentials.
New creates a new packages API client with a bearer token for authentication.
NewDownloadPackageAccepted creates a DownloadPackageAccepted with default headers values.
NewDownloadPackageDefault creates a DownloadPackageDefault with default headers values.
NewDownloadPackageParams creates a new DownloadPackageParams object, with the default timeout for this client.
NewDownloadPackageParamsWithContext creates a new DownloadPackageParams object with the ability to set a context for a request.
NewDownloadPackageParamsWithHTTPClient creates a new DownloadPackageParams object with the ability to set a custom HTTPClient for a request.
NewDownloadPackageParamsWithTimeout creates a new DownloadPackageParams object with the ability to set a timeout on a request.
NewListPackagesDefault creates a ListPackagesDefault with default headers values.
NewListPackagesOK creates a ListPackagesOK with default headers values.
NewListPackagesParams creates a new ListPackagesParams object, with the default timeout for this client.
NewListPackagesParamsWithContext creates a new ListPackagesParams object with the ability to set a context for a request.
NewListPackagesParamsWithHTTPClient creates a new ListPackagesParams object with the ability to set a custom HTTPClient for a request.
NewListPackagesParamsWithTimeout creates a new ListPackagesParams object with the ability to set a timeout on a request.
NewUploadPackageDefault creates a UploadPackageDefault with default headers values.
NewUploadPackageOK creates a UploadPackageOK with default headers values.
NewUploadPackageParams creates a new UploadPackageParams object, with the default timeout for this client.
NewUploadPackageParamsWithContext creates a new UploadPackageParams object with the ability to set a context for a request.
NewUploadPackageParamsWithHTTPClient creates a new UploadPackageParams object with the ability to set a custom HTTPClient for a request.
NewUploadPackageParamsWithTimeout creates a new UploadPackageParams object with the ability to set a timeout on a request.

# Structs

Client for packages API */.
DownloadPackageAccepted describes a response with status code 202, with default header values.
DownloadPackageDefault describes a response with status code -1, with default header values.
DownloadPackageParams contains all the parameters to send to the API endpoint for the download package operation.
DownloadPackageReader is a Reader for the DownloadPackage structure.
ListPackagesDefault describes a response with status code -1, with default header values.
ListPackagesOK describes a response with status code 200, with default header values.
ListPackagesParams contains all the parameters to send to the API endpoint for the list packages operation.
ListPackagesReader is a Reader for the ListPackages structure.
UploadPackageDefault describes a response with status code -1, with default header values.
UploadPackageOK describes a response with status code 200, with default header values.
UploadPackageParams contains all the parameters to send to the API endpoint for the upload package operation.
UploadPackageReader is a Reader for the UploadPackage structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption may be used to customize the behavior of Client methods.