Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶ added in v0.13.0
Types ¶
type Downloader ¶
type ErrNotFound ¶ added in v0.13.0
type ErrNotFound struct {
// contains filtered or unexported fields
}
func NewErrNotFound ¶ added in v0.13.0
func NewErrNotFound(entity string) ErrNotFound
func (ErrNotFound) Error ¶ added in v0.13.0
func (e ErrNotFound) Error() string
type Provider ¶
type Provider interface { // Provider identifier ID() string // retrieve a downloader/uploader from a secret FromCredentials(ctx context.Context, secretName string) (UploaderDownloader, error) // validate and extract credentials from raw json ValidateAndExtractCredentials(location string, credsJSON []byte) (any, error) }
Provider is an interface that allows to create a backend from a secret
type UploaderDownloader ¶
type UploaderDownloader interface { Uploader Downloader Describer }
Click to show internal directories.
Click to hide internal directories.