Help us shape the future of Go! Take the 2026 Go Developer Survey

client

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: GPL-3.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCosClient added in v1.1.0

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

func NewKodoClient added in v1.1.0

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

func NewLocalClient added in v1.9.5

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

func NewMinIoClient

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

func NewOneDriveClient added in v1.4.0

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 NewWebDAVClient added in v1.9.0

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

func RefreshToken added in v1.9.5

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

Types

type DriveItem added in v1.4.0

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 added in v1.4.0

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

type NewUploadSessionCreationResponse added in v1.4.0

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

type UploadSessionUploadResponse added in v1.4.0

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

Jump to

Keyboard shortcuts

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