Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxFileSize = chunkSize * maxChunks
)
Variables ¶
View Source
var ( ErrFileTooLarge = errors.New(fmt.Sprintf("file too large, max file size: %d MB", MaxFileSize>>20)) ErrNotAuthorized = errors.New("you are not authorized for this action") )
Functions ¶
This section is empty.
Types ¶
type ChunkContext ¶ added in v2.101.0
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an upload API client which can be used to make requests to the server. It extends the generic healthcheck Client structure.
func NewAPIClient ¶
NewAPIClient creates a new instance of Upload Client with a given image API URL
Click to show internal directories.
Click to hide internal directories.