vclustermanagement

package
v0.0.0-...-b2bfca1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(name string) (*cmd.VCluster, error)

Create creates a new vcluster. It returns the name and the kubeconfig of the new vcluster.

func CreateHandler

func CreateHandler(c *gin.Context)

func Delete

func Delete(name string) (*cmd.VCluster, error)

Delete creates a new vcluster. It returns the name and the kubeconfig of the new vcluster.

func DeleteHandler

func DeleteHandler(c *gin.Context)

func Get

func Get(name string) (*find.VCluster, error)

Get lists all available vclusters. It returns a list of vcluster names.

func GetHandler

func GetHandler(c *gin.Context)

func Kubeconfig

func Kubeconfig(name string) ([]byte, error)

Kubeconfig lists all available vclusters. It returns a list of vcluster names.

func KubeconfigHandler

func KubeconfigHandler(c *gin.Context)

func List

func List() ([]find.VCluster, error)

List lists all available vclusters. It returns a list of vcluster names.

func ListHandler

func ListHandler(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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