service

package
v0.0.0-...-2bff06c Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNode

func AddNode(namespace string, clusterName string, req *model.NodeReq) (*model.NodeList, error)

func CreateCluster

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

func DeleteCluster

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

func GetCluster

func GetCluster(namespace string, clusterName string) (*model.Cluster, error)

func GetNode

func GetNode(namespace string, clusterName string, nodeName string) (*model.Node, error)

func ListCluster

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

func ListNode

func ListNode(namespace string, clusterName string) (*model.NodeList, error)

func RemoveNode

func RemoveNode(namespace string, clusterName string, nodeName string) (*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