uploadserver

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

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

Jump to

Keyboard shortcuts

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