cluster

package
v0.0.0-...-d125d34 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const JWTTokenHeader = "X-Horizon-JWT-Token"

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func NewAPI

func NewAPI(clusterCtl cluster.Controller) *API

func (*API) AddFavorite

func (a *API) AddFavorite(c *gin.Context)

func (*API) BuildDeploy

func (a *API) BuildDeploy(c *gin.Context)

func (*API) ClusterPipelinerunStatus

func (a *API) ClusterPipelinerunStatus(c *gin.Context)

func (*API) ClusterStatus

func (a *API) ClusterStatus(c *gin.Context)

func (*API) Create

func (a *API) Create(c *gin.Context)

func (*API) CreatePipelineRun

func (a *API) CreatePipelineRun(c *gin.Context)

func (*API) Delete

func (a *API) Delete(c *gin.Context)

func (*API) DeleteClusterPods

func (a *API) DeleteClusterPods(c *gin.Context)

func (*API) DeleteFavorite

func (a *API) DeleteFavorite(c *gin.Context)

func (*API) Deploy

func (a *API) Deploy(c *gin.Context)

func (*API) Exec

func (a *API) Exec(c *gin.Context)

func (*API) ExecuteAction

func (a *API) ExecuteAction(c *gin.Context)

func (*API) Free

func (a *API) Free(c *gin.Context)

func (*API) Get

func (a *API) Get(c *gin.Context)

Get V2 get api can also be used to get original cluster

func (*API) GetByName

func (a *API) GetByName(c *gin.Context)

func (*API) GetClusterPod

func (a *API) GetClusterPod(c *gin.Context)

func (*API) GetContainerLog

func (a *API) GetContainerLog(c *gin.Context)

func (*API) GetContainers

func (a *API) GetContainers(c *gin.Context)

func (*API) GetDiff

func (a *API) GetDiff(c *gin.Context)

func (*API) GetGrafanaDashBoard

func (a *API) GetGrafanaDashBoard(c *gin.Context)

func (*API) GetOutput

func (a *API) GetOutput(c *gin.Context)

func (*API) GetResourceTree

func (a *API) GetResourceTree(c *gin.Context)

func (*API) GetStep

func (a *API) GetStep(c *gin.Context)

func (*API) InternalClusterStatus

func (a *API) InternalClusterStatus(c *gin.Context)

func (*API) InternalDeploy

func (a *API) InternalDeploy(c *gin.Context)

func (*API) List

func (a *API) List(c *gin.Context)

func (*API) ListByApplication

func (a *API) ListByApplication(c *gin.Context)

func (*API) ListSelf

func (a *API) ListSelf(c *gin.Context)

func (*API) PodEvents

func (a *API) PodEvents(c *gin.Context)

func (*API) RegisterRoute

func (api *API) RegisterRoute(engine *gin.Engine)

func (*API) Restart

func (a *API) Restart(c *gin.Context)

func (*API) Rollback

func (a *API) Rollback(c *gin.Context)

func (*API) Update

func (a *API) Update(c *gin.Context)

Jump to

Keyboard shortcuts

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