services

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationService

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

ApplicationService serves as Application Open API for request

func NewApplicationService

func NewApplicationService(kc client.Client) *ApplicationService

NewApplicationService create an application service

func (*ApplicationService) CreateOrUpdateApplication

func (s *ApplicationService) CreateOrUpdateApplication(c echo.Context) error

CreateOrUpdateApplication will create or update application POST /namespaces/<namespace>/applications/<appname>

func (*ApplicationService) DeleteApplication

func (s *ApplicationService) DeleteApplication(c echo.Context) error

DeleteApplication will delete application delete /v1/namespaces/<namespace>/applications/<appname>

func (*ApplicationService) GetApplication

func (s *ApplicationService) GetApplication(c echo.Context) error

GetApplication will get application status GET /namespaces/<namespace>/applications/<appname>

type CatalogService

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

CatalogService catalog service

func NewCatalogService

func NewCatalogService(kc client.Client) *CatalogService

NewCatalogService new catalog service

func (*CatalogService) AddCatalog

func (s *CatalogService) AddCatalog(c echo.Context) error

AddCatalog add method for catalog configmap

func (*CatalogService) DelCatalog

func (s *CatalogService) DelCatalog(c echo.Context) error

DelCatalog delete method for catalog configmap

func (*CatalogService) GetCatalog

func (s *CatalogService) GetCatalog(c echo.Context) error

GetCatalog get method for catalog configmap

func (*CatalogService) ListCatalogs

func (s *CatalogService) ListCatalogs(c echo.Context) error

ListCatalogs list method for catalog configmap

func (*CatalogService) UpdateCatalog

func (s *CatalogService) UpdateCatalog(c echo.Context) error

UpdateCatalog update method for catalog configmap

Jump to

Keyboard shortcuts

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