Documentation ¶
Index ¶
- func Create(name string) (*cmd.VCluster, error)
- func CreateHandler(c *gin.Context)
- func Delete(name string) (*cmd.VCluster, error)
- func DeleteHandler(c *gin.Context)
- func Get(name string) (*find.VCluster, error)
- func GetHandler(c *gin.Context)
- func Kubeconfig(name string) ([]byte, error)
- func KubeconfigHandler(c *gin.Context)
- func List() ([]find.VCluster, error)
- func ListHandler(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
Create creates a new vcluster. It returns the name and the kubeconfig of the new vcluster.
func CreateHandler ¶
func Delete ¶
Delete creates a new vcluster. It returns the name and the kubeconfig of the new vcluster.
func DeleteHandler ¶
func GetHandler ¶
func Kubeconfig ¶
Kubeconfig lists all available vclusters. It returns a list of vcluster names.
func KubeconfigHandler ¶
func ListHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.