client

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: GPL-3.0 Imports: 37 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 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)

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