Documentation
¶
Index ¶
- func CreateCluster(cluster *infrav3.Cluster) error
- func DeleteCluster(name, project string) error
- func GetBootstrapFile(name, project string) (string, error)
- func GetCluster(name, project string) (*infrav3.Cluster, error)
- func ListAllClusters(projectId string) ([]*infrav3.Cluster, error)
- func ListClusters(project string, limit, offset int) ([]*infrav3.Cluster, int, error)
- func NewImportCluster(name, location, project string) (string, error)
- func NewImportClusterAKS(name, location, project string) (string, error)
- func NewImportClusterGKE(name, location, project string) (string, error)
- func NewImportClusterMKS(name, location, project, K8Sversion, OsVersion, defaultStorageClass string, ...) (string, error)
- func NewImportClusterOpenshift(name, location, project string) (string, error)
- func UpdateCluster(cluster *infrav3.Cluster) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCluster ¶
Update cluster takes the updated cluster details and sends it to the core
func DeleteCluster ¶
func GetBootstrapFile ¶
GetBootstrapFile will retrieve the bootstrap file for imported clusters
func GetCluster ¶
GetCluster gets an cluster based on the name provided. It calls ListAllClusters, and scan through the list for the name of the cluster. Returns nil if such addon does not exist, or returns an error if there was and error fetching all of the addons
func ListAllClusters ¶
ListAllClusters uses the lower level func ListClusters to retrieve a list of all clusters
func ListClusters ¶
ListClusters paginates through a list of clusters
func NewImportCluster ¶
NewImportCluster will create a new cluster of type import
func NewImportClusterAKS ¶
NewImportClusterAKS will create a new cluster of type import
func NewImportClusterGKE ¶
NewImportClusterGKE will create a new cluster of type import
func NewImportClusterMKS ¶
func NewImportClusterOpenshift ¶
NewImportClusterOpenshift will create a new cluster of type import
func UpdateCluster ¶
Update cluster takes the updated cluster details and sends it to the core
Types ¶
This section is empty.