service

package
v0.0.0-...-af453be Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAppInstance

func CreateAppInstance(namespace string, req *model.AppInstanceReq) (*model.AppInstance, error)

func CreateCluster

func CreateCluster(namespace string, req *model.ClusterReq) (*model.ClusterResp, error)

func DeleteAppInstance

func DeleteAppInstance(namespace, name string) (*model.Status, error)

func DeleteCluster

func DeleteCluster(namespace, name string) (*model.Status, error)

func DeletePackage

func DeletePackage(namespace, name, version string) (*model.Status, error)

func DisableMcas

func DisableMcas(namespace string) error

func EnableMcas

func EnableMcas(namespace string) error

func GetAppInstance

func GetAppInstance(namespace, name string) (*model.AppInstance, error)

func GetCluster

func GetCluster(namespace, name string) (*model.ClusterResp, error)

func GetMcas

func GetMcas(namespace string) (string, error)

func GetPackage

func GetPackage(namespace, name, version string) (*model.Package, error)

func GetPackageAllVersions

func GetPackageAllVersions(namespace, name string) (*[]model.Package, error)

func ListAppInstance

func ListAppInstance(namespace string) (*model.AppInstanceList, error)

func ListCluster

func ListCluster(namespace string) (*model.ClusterRespList, error)

func ListPackage

func ListPackage(namespace string) (*model.PackageList, error)

func UploadPackage

func UploadPackage(namespace string, fhPkg *multipart.FileHeader) (*model.Status, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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