upload

package
v0.0.0-...-0a0144f Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelServer

type CancelServer struct {
	// contains filtered or unexported fields
}

CancelServer implements the blob upload cancellation endpoint.

func (*CancelServer) ServeHTTP

func (s *CancelServer) ServeHTTP(w http.ResponseWriter, req *http.Request)

type ChunkServer

type ChunkServer struct {
	// contains filtered or unexported fields
}

ChunkServer implements the blob upload cancellation endpoint.

func (*ChunkServer) ServeHTTP

func (s *ChunkServer) ServeHTTP(w http.ResponseWriter, req *http.Request)

type CompleteServer

type CompleteServer struct {
	// contains filtered or unexported fields
}

CompleteServer implements the blob upload completion endpoint.

func (*CompleteServer) ServeHTTP

func (s *CompleteServer) ServeHTTP(w http.ResponseWriter, req *http.Request)

type InitServer

type InitServer struct {
	// contains filtered or unexported fields
}

InitServer implements the blob upload completion endpoint.

func (*InitServer) ServeHTTP

func (s *InitServer) ServeHTTP(w http.ResponseWriter, req *http.Request)

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements the OCI blobs endpoint. See: https://github.com/opencontainers/distribution-spec/blob/master/spec.md#blob

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request)

type StatusServer

type StatusServer struct {
	// contains filtered or unexported fields
}

StatusServer implements the blob upload completion endpoint.

func (*StatusServer) ServeHTTP

func (s *StatusServer) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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