devtronResource

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type DevtronResourceRouter

type DevtronResourceRouter interface {
	InitDevtronResourceRouter(devtronResourceRouter *mux.Router)
}

type DevtronResourceRouterImpl

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

func NewDevtronResourceRouterImpl

func NewDevtronResourceRouterImpl(historyRouter HistoryRouter) *DevtronResourceRouterImpl

func (*DevtronResourceRouterImpl) InitDevtronResourceRouter

func (router *DevtronResourceRouterImpl) InitDevtronResourceRouter(devtronResourceRouter *mux.Router)

type HistoryRestHandler

type HistoryRestHandler interface {
	GetDeploymentHistory(w http.ResponseWriter, r *http.Request)
	GetDeploymentHistoryConfigList(w http.ResponseWriter, r *http.Request)
}

type HistoryRestHandlerImpl

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

func NewHistoryRestHandlerImpl

func NewHistoryRestHandlerImpl(logger *zap.SugaredLogger,
	enforcer casbin.Enforcer,
	deploymentHistoryService cdPipeline.DeploymentHistoryService,
	apiReqDecoderService devtronResource.APIReqDecoderService,
	enforcerUtil rbac.EnforcerUtil) *HistoryRestHandlerImpl

func (*HistoryRestHandlerImpl) GetDeploymentHistory

func (handler *HistoryRestHandlerImpl) GetDeploymentHistory(w http.ResponseWriter, r *http.Request)

func (*HistoryRestHandlerImpl) GetDeploymentHistoryConfigList

func (handler *HistoryRestHandlerImpl) GetDeploymentHistoryConfigList(w http.ResponseWriter, r *http.Request)

type HistoryRouter

type HistoryRouter interface {
	InitDtResourceHistoryRouter(devtronResourceRouter *mux.Router)
}

type HistoryRouterImpl

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

func NewHistoryRouterImpl

func NewHistoryRouterImpl(dtResourceHistoryRestHandler HistoryRestHandler) *HistoryRouterImpl

func (*HistoryRouterImpl) InitDtResourceHistoryRouter

func (router *HistoryRouterImpl) InitDtResourceHistoryRouter(historyRouter *mux.Router)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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