diff options
author | 2020-02-14 05:11:08 -0800 | |
---|---|---|
committer | 2020-02-20 03:41:00 -0800 | |
commit | b11b37f11fa45ab149e8a88a183b70f077c0f48e (patch) | |
tree | a9e0d2c0c65d7d822a736caf4e093f7df2f5aed3 /src/orchestrator/pkg/module/module.go | |
parent | 38df1b0ee0f1d6cd3bf11f94adf7c952f32c191c (diff) |
Add Composite Application API
Implemented Composite application API and added create,
get and delete handlers for the composite applications.
Formatted Project related .go files
Issue-ID: MULTICLOUD-994
Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com>
Change-Id: I7cef1a2c75f8cb39f397dcbb3f5d7bb2a57b4a72
Diffstat (limited to 'src/orchestrator/pkg/module/module.go')
-rw-r--r-- | src/orchestrator/pkg/module/module.go | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/orchestrator/pkg/module/module.go b/src/orchestrator/pkg/module/module.go index e4482098..d03e5ffb 100644 --- a/src/orchestrator/pkg/module/module.go +++ b/src/orchestrator/pkg/module/module.go @@ -16,19 +16,18 @@ package module -import ( - ) - // Client for using the services in the orchestrator type Client struct { - Project *ProjectClient - // Add Clients for API's here + Project *ProjectClient + CompositeApp *CompositeAppClient + // Add Clients for API's here } // NewClient creates a new client for using the services func NewClient() *Client { - c:= &Client{} - c.Project = NewProjectClient() - // Add Client API handlers here - return c -}
\ No newline at end of file + c := &Client{} + c.Project = NewProjectClient() + c.CompositeApp = NewCompositeAppClient() + // Add Client API handlers here + return c +} |