-
Notifications
You must be signed in to change notification settings - Fork 5
/
instance_cluster_exports.go
103 lines (82 loc) · 3.71 KB
/
instance_cluster_exports.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// Code generated by gen_exports.go DO NOT EDIT
package metalcloud
//ClusterCreate cluster
func (c *Client) ClusterCreate(infrastructureID int, cluster Cluster) (*Cluster, error) {
return c.clusterCreate(infrastructureID,cluster)
}
//ClusterCreateByLabel cluster
func (c *Client) ClusterCreateByLabel(infrastructureLabel string, cluster Cluster) (*Cluster, error) {
return c.clusterCreate(infrastructureLabel,cluster)
}
//ClusterGet (app) with specified id
func (c *Client) ClusterGet(clusterID int) (*Cluster, error) {
return c.clusterGet(clusterID)
}
//ClusterGetByLabel (app) with specified id
func (c *Client) ClusterGetByLabel(clusterLabel string) (*Cluster, error) {
return c.clusterGet(clusterLabel)
}
//ClusterAppVMWareVSphere cluster
func (c *Client) ClusterAppVMWareVSphere(clusterID int, decryptCredentials bool) (*AppVMWareVsphere, error) {
return c.clusterAppVMWareVSphere(clusterID,decryptCredentials)
}
//ClusterAppVMWareVSphereByLabel cluster
func (c *Client) ClusterAppVMWareVSphereByLabel(clusterLabel string, decryptCredentials bool) (*AppVMWareVsphere, error) {
return c.clusterAppVMWareVSphere(clusterLabel,decryptCredentials)
}
//ClusterAppVMWareVCF cluster
func (c *Client) ClusterAppVMWareVCF(clusterID int, decryptCredentials bool) (*AppVMWareVCF, error) {
return c.clusterAppVMWareVCF(clusterID,decryptCredentials)
}
//ClusterAppVMWareVCFByLabel cluster
func (c *Client) ClusterAppVMWareVCFByLabel(clusterLabel string, decryptCredentials bool) (*AppVMWareVCF, error) {
return c.clusterAppVMWareVCF(clusterLabel,decryptCredentials)
}
//ClusterAppKubernetes cluster
func (c *Client) ClusterAppKubernetes(clusterID int, decryptCredentials bool) (*AppKubernetes, error) {
return c.clusterAppKubernetes(clusterID,decryptCredentials)
}
//ClusterAppKubernetesByLabel cluster
func (c *Client) ClusterAppKubernetesByLabel(clusterLabel string, decryptCredentials bool) (*AppKubernetes, error) {
return c.clusterAppKubernetes(clusterLabel,decryptCredentials)
}
//ClusterAppKubernetesEKSA cluster
func (c *Client) ClusterAppKubernetesEKSA(clusterID int, decryptCredentials bool) (*AppKubernetesEKSA, error) {
return c.clusterAppKubernetesEKSA(clusterID,decryptCredentials)
}
//ClusterAppKubernetesEKSAByLabel cluster
func (c *Client) ClusterAppKubernetesEKSAByLabel(clusterLabel string, decryptCredentials bool) (*AppKubernetesEKSA, error) {
return c.clusterAppKubernetesEKSA(clusterLabel,decryptCredentials)
}
//ClusterDelete array. Requires deploy.
func (c *Client) ClusterDelete(clusterID int) error {
return c.clusterDelete(clusterID)
}
//ClusterDeleteByLabel array. Requires deploy.
func (c *Client) ClusterDeleteByLabel(clusterLabel string) error {
return c.clusterDelete(clusterLabel)
}
//ClusterEdit array. Requires deploy.
func (c *Client) ClusterEdit(clusterId int, clusterOperation ClusterOperation) (*Cluster, error) {
return c.clusterEdit(clusterId,clusterOperation)
}
//ClusterEditByLabel array. Requires deploy.
func (c *Client) ClusterEditByLabel(clusterLabel string, clusterOperation ClusterOperation) (*Cluster, error) {
return c.clusterEdit(clusterLabel,clusterOperation)
}
//Clusters cluster
func (c *Client) Clusters(infrastructureId int) (*map[string]Cluster, error) {
return c.clusters(infrastructureId)
}
//ClustersByLabel cluster
func (c *Client) ClustersByLabel(infrastructureLabel string) (*map[string]Cluster, error) {
return c.clusters(infrastructureLabel)
}
//ClusterInstanceArrays cluster
func (c *Client) ClusterInstanceArrays(clusterId int) (*map[string]InstanceArray, error) {
return c.clusterInstanceArrays(clusterId)
}
//ClusterInstanceArraysByLabel cluster
func (c *Client) ClusterInstanceArraysByLabel(clusterLabel string) (*map[string]InstanceArray, error) {
return c.clusterInstanceArrays(clusterLabel)
}