summaryrefslogtreecommitdiffstats
path: root/src/orchestrator/pkg/module/module.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/orchestrator/pkg/module/module.go')
-rw-r--r--src/orchestrator/pkg/module/module.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/orchestrator/pkg/module/module.go b/src/orchestrator/pkg/module/module.go
index f80ff55b..34a84624 100644
--- a/src/orchestrator/pkg/module/module.go
+++ b/src/orchestrator/pkg/module/module.go
@@ -20,18 +20,24 @@ package module
type Client struct {
Project *ProjectClient
CompositeApp *CompositeAppClient
- Controller *ControllerClient
- Cluster *ClusterClient
+ Controller *ControllerClient
+ Cluster *ClusterClient
// Add Clients for API's here
+ GenericPlacementIntent *GenericPlacementIntentClient
+ AppIntent *AppIntentClient
}
// NewClient creates a new client for using the services
func NewClient() *Client {
c := &Client{}
+ // Add Client API handlers here
c.Project = NewProjectClient()
c.CompositeApp = NewCompositeAppClient()
c.Controller = NewControllerClient()
c.Cluster = NewClusterClient()
// Add Client API handlers here
+ c.GenericPlacementIntent = NewGenericPlacementIntentClient()
+ c.AppIntent = NewAppIntentClient()
+
return c
}