diff options
author | Rajamohan Raj <rajamohan.raj@intel.com> | 2020-02-26 02:07:34 +0000 |
---|---|---|
committer | Rajamohan Raj <rajamohan.raj@intel.com> | 2020-03-04 23:43:43 +0000 |
commit | ff03456548dac309461f402738ac344046de8057 (patch) | |
tree | 479b113227ba2d67636aa68a165cb5e484071d72 /src/orchestrator/pkg/module/module.go | |
parent | 37aed9b7a0db62b9931d89c614ff6291cc4608cc (diff) |
Add DeploymentIntentGroup APIs
Implemented the routes for creation,
deletion and getting DeploymentIntentGroup.
Added routes for adding, getting and deleting intents.
Issue-ID: MULTICLOUD-1002
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: I07ba3744107bcf30aa30ed89caa21bf474c0d92a
Diffstat (limited to 'src/orchestrator/pkg/module/module.go')
-rw-r--r-- | src/orchestrator/pkg/module/module.go | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/orchestrator/pkg/module/module.go b/src/orchestrator/pkg/module/module.go index 34a84624..b46c6068 100644 --- a/src/orchestrator/pkg/module/module.go +++ b/src/orchestrator/pkg/module/module.go @@ -18,13 +18,15 @@ package module // Client for using the services in the orchestrator type Client struct { - Project *ProjectClient - CompositeApp *CompositeAppClient - Controller *ControllerClient - Cluster *ClusterClient - // Add Clients for API's here + Project *ProjectClient + CompositeApp *CompositeAppClient + Controller *ControllerClient + Cluster *ClusterClient GenericPlacementIntent *GenericPlacementIntentClient AppIntent *AppIntentClient + // Add Clients for API's here + DeploymentIntentGroup *DeploymentIntentGroupClient + Intent *IntentClient } // NewClient creates a new client for using the services @@ -38,6 +40,7 @@ func NewClient() *Client { // Add Client API handlers here c.GenericPlacementIntent = NewGenericPlacementIntentClient() c.AppIntent = NewAppIntentClient() - + c.DeploymentIntentGroup = NewDeploymentIntentGroupClient() + c.Intent = NewIntentClient() return c } |