diff options
author | Marcus G K Williams <marcus.williams@intel.com> | 2020-02-14 13:29:37 -0800 |
---|---|---|
committer | Marcus G K Williams <marcus.williams@intel.com> | 2020-02-21 10:00:07 -0800 |
commit | 95e9ddd082cb2ccd28d9d33ea2f8607bd5c793f5 (patch) | |
tree | 3649bfda50603ad04af857440cb1653371e6dc7b /src/orchestrator/pkg/module/module.go | |
parent | bea5027a7f59bffee2a6ed931e63c05a9fb1bdc7 (diff) |
Add Controller Register API to Orchestrator
Add API allows Controllers to register
themselves as gRPC servers consumed by
the orchestrator.
Issue-ID: MULTICLOUD-995
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Change-Id: I75946a4af711bf2e9d65f354923db494da667e70
Diffstat (limited to 'src/orchestrator/pkg/module/module.go')
-rw-r--r-- | src/orchestrator/pkg/module/module.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/orchestrator/pkg/module/module.go b/src/orchestrator/pkg/module/module.go index d03e5ffb..a94a4207 100644 --- a/src/orchestrator/pkg/module/module.go +++ b/src/orchestrator/pkg/module/module.go @@ -20,6 +20,7 @@ package module type Client struct { Project *ProjectClient CompositeApp *CompositeAppClient + Controller *ControllerClient // Add Clients for API's here } @@ -28,6 +29,7 @@ func NewClient() *Client { c := &Client{} c.Project = NewProjectClient() c.CompositeApp = NewCompositeAppClient() + c.Controller = NewControllerClient() // Add Client API handlers here return c } |