deployment

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentChartInfo added in v0.4.1

type DeploymentChartInfo struct {
	ChartName   string `json:"chartName"`
	Description string `json:"description"`
	FileId      string `json:"fileId"`
	Action      string `json:"action"`
}

type DeploymentConfigRestHandler

type DeploymentConfigRestHandler interface {
	CreateChartFromFile(w http.ResponseWriter, r *http.Request)
	SaveChart(w http.ResponseWriter, r *http.Request)
}

type DeploymentConfigRestHandlerImpl

type DeploymentConfigRestHandlerImpl struct {
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}

func NewDeploymentConfigRestHandlerImpl

func NewDeploymentConfigRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService, enforcer casbin.Enforcer, validator *validator.Validate,
	refChartDir pipeline.RefChartDir, chartService pipeline.ChartService, chartRefRepository chartRepoRepository.ChartRefRepository) *DeploymentConfigRestHandlerImpl

func (*DeploymentConfigRestHandlerImpl) CreateChartFromFile

func (handler *DeploymentConfigRestHandlerImpl) CreateChartFromFile(w http.ResponseWriter, r *http.Request)

func (*DeploymentConfigRestHandlerImpl) SaveChart added in v0.4.1

type DeploymentConfigRouter

type DeploymentConfigRouter interface {
	Init(configRouter *mux.Router)
}

type DeploymentConfigRouterImpl

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

func NewDeploymentRouterImpl

func NewDeploymentRouterImpl(deploymentRestHandler DeploymentConfigRestHandler) *DeploymentConfigRouterImpl

func (DeploymentConfigRouterImpl) Init

func (router DeploymentConfigRouterImpl) Init(configRouter *mux.Router)

Jump to

Keyboard shortcuts

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