worker

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

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

func NewWorker

func NewWorker(superSpec *supervisor.Spec) *Worker

newWorker return a worker

func (*Worker) Close

func (worker *Worker) Close()

Close closes the Egress HTTPServer and Pipelines

func (*Worker) Create

func (worker *Worker) Create(w http.ResponseWriter, r *http.Request)

func (*Worker) Delete

func (worker *Worker) Delete(w http.ResponseWriter, r *http.Request)

func (*Worker) Get

func (worker *Worker) Get(w http.ResponseWriter, r *http.Request)

func (*Worker) List

func (worker *Worker) List(w http.ResponseWriter, r *http.Request)

func (*Worker) Lock

func (worker *Worker) Lock()

Lock locks the cluster store.

func (*Worker) Start

func (worker *Worker) Start(w http.ResponseWriter, r *http.Request)

func (*Worker) Stop

func (worker *Worker) Stop(w http.ResponseWriter, r *http.Request)

func (*Worker) Unlock

func (worker *Worker) Unlock()

Unlock unlocks the cluster store.

func (*Worker) UnregisterAPIs added in v1.1.0

func (worker *Worker) UnregisterAPIs()

func (*Worker) Update

func (worker *Worker) Update(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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