Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UploadContentTypeHeader is the header upload clients may use to set the content type explicitly UploadContentTypeHeader = "x-cdi-content-type" // FilesystemCloneContentType is the content type when cloning a filesystem FilesystemCloneContentType = "filesystem-clone" // BlockdeviceCloneContentType is the content type when cloning a block device BlockdeviceCloneContentType = "blockdevice-clone" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UploadServer ¶
type UploadServer interface {
Run() error
}
UploadServer is the interface to uploadServerApp
func NewUploadServer ¶
func NewUploadServer(bindAddress string, bindPort int, destination, tlsKey, tlsCert, clientCert, clientName, imageSize string) UploadServer
NewUploadServer returns a new instance of uploadServerApp
Click to show internal directories.
Click to hide internal directories.