aboutsummaryrefslogtreecommitdiffstats
path: root/src/orchestrator/pkg/module/module.go
diff options
context:
space:
mode:
authorEric Multanen <eric.w.multanen@intel.com>2020-02-20 22:41:34 -0800
committerEric Multanen <eric.w.multanen@intel.com>2020-02-28 09:50:10 -0800
commit0fd6ec7e4956b03858d3d4351dcda37662b63d1d (patch)
tree9eb7923790d1667e7b1d83b7e8a26a31be9e01e6 /src/orchestrator/pkg/module/module.go
parent9ee11aa7d0bf1cef6d741efcb3a99981ef47208b (diff)
Add v2 cluster registration api to k8s orchestrator
Adds orchestrator API support for creating cluster-providers, registering clusters and their kubeconfig, adding labels to cluster and key value paisr to clusters. See: https://wiki.onap.org/display/DW/V2+API+Specification#V2APISpecification-ClusterRegistrationAPI Issue-ID: MULTICLOUD-922 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I775a308e9ffb19acf65cb0e5752705998bc5b659
Diffstat (limited to 'src/orchestrator/pkg/module/module.go')
-rw-r--r--src/orchestrator/pkg/module/module.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/orchestrator/pkg/module/module.go b/src/orchestrator/pkg/module/module.go
index a94a4207..f80ff55b 100644
--- a/src/orchestrator/pkg/module/module.go
+++ b/src/orchestrator/pkg/module/module.go
@@ -21,6 +21,7 @@ type Client struct {
Project *ProjectClient
CompositeApp *CompositeAppClient
Controller *ControllerClient
+ Cluster *ClusterClient
// Add Clients for API's here
}
@@ -30,6 +31,7 @@ func NewClient() *Client {
c.Project = NewProjectClient()
c.CompositeApp = NewCompositeAppClient()
c.Controller = NewControllerClient()
+ c.Cluster = NewClusterClient()
// Add Client API handlers here
return c
}