client

package
v0.0.0-...-b2b578a Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: GPL-3.0 Imports: 40 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 NewUpClient

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

func NewWebDAVClient

func NewWebDAVClient(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"`
	Description string `json:"description"`
	Size        int64  `json:"size"`
	WebURL      string `json:"webUrl"`
}

type NewUploadSessionCreationRequest

type NewUploadSessionCreationRequest struct {
	ConflictBehavior string `json:"@microsoft.graph.conflictBehavior,omitempty"`
}

type NewUploadSessionCreationResponse

type NewUploadSessionCreationResponse struct {
	UploadURL          string `json:"uploadUrl"`
	ExpirationDateTime string `json:"expirationDateTime"`
}

type UploadSessionUploadResponse

type UploadSessionUploadResponse struct {
	ExpirationDateTime string   `json:"expirationDateTime"`
	NextExpectedRanges []string `json:"nextExpectedRanges"`
	DriveItem
}

Directories

Path Synopsis
helper

Jump to

Keyboard shortcuts

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