client

package
v0.0.0-...-c417bc9 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: GPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewALIClient

func NewALIClient(vars map[string]interface{}) (*aliClient, error)

func NewCosClient

func NewCosClient(vars map[string]interface{}) (*cosClient, error)

func NewGoogleDriveClient

func NewGoogleDriveClient(vars map[string]interface{}) (*googleDriveClient, error)

func NewKodoClient

func NewKodoClient(vars map[string]interface{}) (*kodoClient, error)

func NewLocalClient

func NewLocalClient(vars map[string]interface{}) (*localClient, error)

func NewMinIoClient

func NewMinIoClient(vars map[string]interface{}) (*minIoClient, error)

func NewOneDriveClient

func NewOneDriveClient(vars map[string]interface{}) (*oneDriveClient, error)

func NewOssClient

func NewOssClient(vars map[string]interface{}) (*ossClient, error)

func NewS3Client

func NewS3Client(vars map[string]interface{}) (*s3Client, error)

func NewSftpClient

func NewSftpClient(vars map[string]interface{}) (*sftpClient, error)

func NewSftpClientWithContext

func NewSftpClientWithContext(ctx context.Context, vars map[string]interface{}) (*sftpClient, error)

func NewUpClient

func NewUpClient(vars map[string]interface{}) (*upClient, error)

func NewWebDAVClient

func NewWebDAVClient(vars map[string]interface{}) (*webDAVClient, error)

func NewWebDAVClientWithContext

func NewWebDAVClientWithContext(ctx context.Context, vars map[string]interface{}) (*webDAVClient, error)

func RefreshALIToken

func RefreshALIToken(varMap map[string]interface{}) (string, error)

func RefreshGoogleToken

func RefreshGoogleToken(grantType string, tokenType string, varMap map[string]interface{}) (string, error)

func RefreshToken

func RefreshToken(grantType string, tokenType string, varMap map[string]interface{}) (string, error)

Types

type DriveItem

type DriveItem struct {
	Name        string `json:"name"`
	ID          string `json:"id"`
	DownloadURL string `json:"@microsoft.graph.downloadUrl"`
	Size        int64  `json:"size"`
}

Directories

Path Synopsis
helper

Jump to

Keyboard shortcuts

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