service

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 11 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

type CSP

type CSP struct {
	Name                  string
	Config                string
	ControlPlaneNodeSpec  string
	ControlPlaneNodeCount int
	WorkerNodeSpec        string
	WorkerNodeCount       int
}

Jump to

Keyboard shortcuts

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