Skip to content

Commit

Permalink
Merge pull request #679 from gabriel-farache/osdfm_sdk_entries
Browse files Browse the repository at this point in the history
Add OSD Fleet Management client service in SDK
  • Loading branch information
tzvatot authored Oct 19, 2022
2 parents cb7fecd + 31b5fe7 commit d870d71
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,5 @@ jobs:
jobqueue \
servicelogs \
servicemgmt \
osdfleetmgmt \
webrca
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ generate: model metamodel
servicemgmt \
statusboard \
webrca \
osdfleetmgmt \
openapi
metamodel generate go \
--model=model/model \
Expand Down
7 changes: 7 additions & 0 deletions connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import (
"github.com/openshift-online/ocm-sdk-go/jobqueue"
"github.com/openshift-online/ocm-sdk-go/logging"
"github.com/openshift-online/ocm-sdk-go/metrics"
"github.com/openshift-online/ocm-sdk-go/osdfleetmgmt"
"github.com/openshift-online/ocm-sdk-go/retry"
"github.com/openshift-online/ocm-sdk-go/servicelogs"
"github.com/openshift-online/ocm-sdk-go/servicemgmt"
Expand Down Expand Up @@ -973,6 +974,12 @@ func (c *Connection) ClustersMgmt() *clustersmgmt.Client {
return clustersmgmt.NewClient(c, "/api/clusters_mgmt")
}

// OSDFleetMgmt returns the client for the OSD management service.
func (c *Connection) OSDFleetMgmt() *osdfleetmgmt.Client {

return osdfleetmgmt.NewClient(c, "/api/osd_fleet_mgmt")
}

// Authorizations returns the client for the authorizations service.
func (c *Connection) Authorizations() *authorizations.Client {
return authorizations.NewClient(c, "/api/authorizations")
Expand Down

0 comments on commit d870d71

Please sign in to comment.