handler

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 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 TillerProxy

type TillerProxy struct {
	CheckerForRequest auth.CheckerForRequest
	ListLimit         int
	ChartClient       chartUtils.Resolver
	ProxyClient       proxy.TillerClient
}

TillerProxy client and configuration

func (*TillerProxy) CreateRelease

func (h *TillerProxy) CreateRelease(w http.ResponseWriter, req *http.Request, params handlerutil.Params)

CreateRelease creates a new release in the namespace given as Param

func (*TillerProxy) DeleteRelease

func (h *TillerProxy) DeleteRelease(w http.ResponseWriter, req *http.Request, params handlerutil.Params)

DeleteRelease removes a release from a namespace

func (*TillerProxy) GetRelease

func (h *TillerProxy) GetRelease(w http.ResponseWriter, req *http.Request, params handlerutil.Params)

GetRelease returns the release info

func (*TillerProxy) ListAllReleases

func (h *TillerProxy) ListAllReleases(w http.ResponseWriter, req *http.Request)

ListAllReleases list all releases that Tiller stores

func (*TillerProxy) ListReleases

func (h *TillerProxy) ListReleases(w http.ResponseWriter, req *http.Request, params handlerutil.Params)

ListReleases in the namespace given as Param

func (*TillerProxy) OperateRelease added in v1.5.0

func (h *TillerProxy) OperateRelease(w http.ResponseWriter, req *http.Request, params handlerutil.Params)

OperateRelease decides which method to call depending in the "action" query param

func (*TillerProxy) RollbackRelease added in v1.5.0

func (h *TillerProxy) RollbackRelease(w http.ResponseWriter, req *http.Request, params handlerutil.Params)

RollbackRelease performs an action over a release

func (*TillerProxy) TestRelease added in v1.8.0

func (h *TillerProxy) TestRelease(w http.ResponseWriter, req *http.Request, params handlerutil.Params)

TestRelease in the namespace given as Param

func (*TillerProxy) UpgradeRelease

func (h *TillerProxy) UpgradeRelease(w http.ResponseWriter, req *http.Request, params handlerutil.Params)

UpgradeRelease upgrades a release in the namespace given as Param

Jump to

Keyboard shortcuts

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