handlers

package
v0.0.0-...-8eb7258 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger lager.Logger) rata.Handlers

Types

type Body

type Body struct {
	Body string
}

type Curl

type Curl struct {
}

func (*Curl) ServeHTTP

func (p *Curl) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Cwd

type Cwd struct {
}

func (*Cwd) ServeHTTP

func (p *Cwd) ServeHTTP(w http.ResponseWriter, r *http.Request)

type DeleteTmpFile

type DeleteTmpFile struct {
}

func (*DeleteTmpFile) ServeHTTP

func (p *DeleteTmpFile) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Env

type Env struct {
}

func (*Env) ServeHTTP

func (p *Env) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Exit

type Exit struct {
}

func (*Exit) ServeHTTP

func (p *Exit) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Experiments

type Experiments struct {
}

func (*Experiments) ServeHTTP

func (p *Experiments) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Hello

type Hello struct {
}

func (*Hello) ServeHTTP

func (p *Hello) ServeHTTP(w http.ResponseWriter, r *http.Request)

type HelloFs

type HelloFs struct {
	pathfs.FileSystem
}

from https://github.com/hanwen/go-fuse/blob/master/example/hello/main.go

func (*HelloFs) GetAttr

func (me *HelloFs) GetAttr(name string, context *fuse.Context) (*fuse.Attr, fuse.Status)

func (*HelloFs) Open

func (me *HelloFs) Open(name string, flags uint32, context *fuse.Context) (file nodefs.File, code fuse.Status)

func (*HelloFs) OpenDir

func (me *HelloFs) OpenDir(name string, context *fuse.Context) (c []fuse.DirEntry, code fuse.Status)

type IncrementCounter

type IncrementCounter struct {
	SharedCounter *uint64
}

func (*IncrementCounter) ServeHTTP

func (p *IncrementCounter) ServeHTTP(w http.ResponseWriter, r *http.Request)

type InstanceIndex

type InstanceIndex struct {
}

func (*InstanceIndex) ServeHTTP

func (p *InstanceIndex) ServeHTTP(w http.ResponseWriter, r *http.Request)

type ListExperiments

type ListExperiments struct {
}

func (*ListExperiments) ServeHTTP

func (p *ListExperiments) ServeHTTP(w http.ResponseWriter, r *http.Request)

type ListFUSEFS

type ListFUSEFS struct {
}

func (*ListFUSEFS) ServeHTTP

func (p *ListFUSEFS) ServeHTTP(w http.ResponseWriter, r *http.Request)

type LoggingHandler

type LoggingHandler struct {
	Route   string
	Handler http.Handler
	Logger  lager.Logger
}

func (*LoggingHandler) ServeHTTP

func (h *LoggingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type MakeTmpFile

type MakeTmpFile struct {
}

func (*MakeTmpFile) ServeHTTP

func (p *MakeTmpFile) ServeHTTP(w http.ResponseWriter, r *http.Request)

type MountFUSEFS

type MountFUSEFS struct {
}

func (*MountFUSEFS) ServeHTTP

func (p *MountFUSEFS) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Ping

type Ping struct {
}

func (*Ping) ServeHTTP

func (p *Ping) ServeHTTP(w http.ResponseWriter, r *http.Request)

type ReadCounter

type ReadCounter struct {
	SharedCounter *uint64
}

func (*ReadCounter) ServeHTTP

func (p *ReadCounter) ServeHTTP(w http.ResponseWriter, r *http.Request)

type StartedAt

type StartedAt struct {
	Time time.Time
}

func (*StartedAt) ServeHTTP

func (p *StartedAt) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Stick

type Stick struct {
}

func (*Stick) ServeHTTP

func (p *Stick) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Unstick

type Unstick struct {
}

func (*Unstick) ServeHTTP

func (p *Unstick) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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