volumeserver

package
v3.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(
	logger lager.Logger,
	volumeRepository db.VolumeRepository,
	destroyer gc.Destroyer,
) *Server

func (*Server) ListDestroyingVolumes

func (s *Server) ListDestroyingVolumes(w http.ResponseWriter, r *http.Request)

func (*Server) ListVolumes

func (s *Server) ListVolumes(team db.Team) http.Handler

func (*Server) ReportWorkerVolumes

func (s *Server) ReportWorkerVolumes(w http.ResponseWriter, r *http.Request)

ReportWorkerVolumes provides an API endpoint for workers to report their current volumes

Jump to

Keyboard shortcuts

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