deployment

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 19 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)
	DownloadChart(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,
	chartService chart.ChartService, chartRefService chartRef.ChartRefService) *DeploymentConfigRestHandlerImpl

func (*DeploymentConfigRestHandlerImpl) CreateChartFromFile

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

func (*DeploymentConfigRestHandlerImpl) DownloadChart added in v0.6.23

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