api

package
v0.0.0-...-817612b Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("resource not found")
)

Functions

This section is empty.

Types

type AdminAPI

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

func NewAdminAPI

func NewAdminAPI(cli kube.Client) (*AdminAPI, error)

func (*AdminAPI) CreateApply

func (api *AdminAPI) CreateApply(c *gin.Context) (interface{}, error)

func (*AdminAPI) CreateCluster

func (api *AdminAPI) CreateCluster(c *gin.Context) (interface{}, error)

func (*AdminAPI) CreateTemplate

func (api *AdminAPI) CreateTemplate(c *gin.Context) (interface{}, error)

func (*AdminAPI) DeleteApply

func (api *AdminAPI) DeleteApply(c *gin.Context) (interface{}, error)

func (*AdminAPI) DeleteCluster

func (api *AdminAPI) DeleteCluster(c *gin.Context) (interface{}, error)

func (*AdminAPI) DeleteTemplate

func (api *AdminAPI) DeleteTemplate(c *gin.Context) (interface{}, error)

func (*AdminAPI) GetApply

func (api *AdminAPI) GetApply(c *gin.Context) (interface{}, error)

func (*AdminAPI) GetCluster

func (api *AdminAPI) GetCluster(c *gin.Context) (interface{}, error)

func (*AdminAPI) GetTemplate

func (api *AdminAPI) GetTemplate(c *gin.Context) (interface{}, error)

func (*AdminAPI) ListApplies

func (api *AdminAPI) ListApplies(c *gin.Context) (interface{}, error)

func (*AdminAPI) ListClusters

func (api *AdminAPI) ListClusters(c *gin.Context) (interface{}, error)

func (*AdminAPI) ListTemplates

func (api *AdminAPI) ListTemplates(c *gin.Context) (interface{}, error)

func (*AdminAPI) UpdateApply

func (api *AdminAPI) UpdateApply(c *gin.Context) (interface{}, error)

func (*AdminAPI) UpdateCluster

func (api *AdminAPI) UpdateCluster(c *gin.Context) (interface{}, error)

func (*AdminAPI) UpdateTemplate

func (api *AdminAPI) UpdateTemplate(c *gin.Context) (interface{}, error)

Jump to

Keyboard shortcuts

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