Documentation
¶
Index ¶
- func CreateAppInstance(namespace string, req *model.AppInstanceReq) (*model.AppInstance, error)
- func CreateCluster(namespace string, req *model.ClusterReq) (*model.ClusterResp, error)
- func DeleteAppInstance(namespace, name string) (*model.Status, error)
- func DeleteCluster(namespace, name string) (*model.Status, error)
- func DeletePackage(namespace, name, version string) (*model.Status, error)
- func DisableMcas(namespace string) error
- func EnableMcas(namespace string) error
- func GetAppInstance(namespace, name string) (*model.AppInstance, error)
- func GetCluster(namespace, name string) (*model.ClusterResp, error)
- func GetMcas(namespace string) (string, error)
- func GetPackage(namespace, name, version string) (*model.Package, error)
- func GetPackageAllVersions(namespace, name string) (*[]model.Package, error)
- func ListAppInstance(namespace string) (*model.AppInstanceList, error)
- func ListCluster(namespace string) (*model.ClusterRespList, error)
- func ListPackage(namespace string) (*model.PackageList, error)
- func UploadPackage(namespace string, fhPkg *multipart.FileHeader) (*model.Status, error)
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 DisableMcas ¶
func EnableMcas ¶
func GetAppInstance ¶
func GetAppInstance(namespace, name string) (*model.AppInstance, error)
func GetCluster ¶
func GetCluster(namespace, name string) (*model.ClusterResp, error)
func GetPackageAllVersions ¶
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.