deployment

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 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"`
	ChartVersion string `json:"chartVersion"`
	Description  string `json:"description"`
	FileId       string `json:"fileId"`
	Action       string `json:"action"`
	Message      string `json:"message"`
}

type DeploymentConfigRestHandler

type DeploymentConfigRestHandler interface {
	CreateChartFromFile(w http.ResponseWriter, r *http.Request)
	SaveChart(w http.ResponseWriter, r *http.Request)
	GetUploadedCharts(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 chartRepoRepository.RefChartDir, chartService chart.ChartService, chartRefRepository chartRepoRepository.ChartRefRepository) *DeploymentConfigRestHandlerImpl

func (*DeploymentConfigRestHandlerImpl) CreateChartFromFile

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

func (*DeploymentConfigRestHandlerImpl) GetUploadedCharts added in v0.4.10

func (handler *DeploymentConfigRestHandlerImpl) GetUploadedCharts(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