Skip to content

Commit 94582ea

Browse files
jackdelahuntdimakisrkpattnaik780machi1990
authored
RHOAS CLI Hybrid support (#1830)
* feat: add machine pool logic * chore(vendor): update vendoring (#1798) * chore(vendor): update vendoring * feat: add cluster id to create kafka * fix(dedicated): attempts to correctly parse the cluster ingress dns name (#1806) This is so that "apps." prefix is always included and required by KFM when it is running under certain configuration Related to bf2fc6cc711aee1a0c2a/kas-installer#266 (comment) * refactor: refactor ocm methods out of register cmd * fix: pass no params during the installation of managed kafka addon (#1815) 👍 * feat: addition of the new list cluster cmd (#1817) * feat: addition of the new list cluster cmd * refactor: now querying ocm for clusters by id, remove flags as kfm doesn't support pagination * test: add some tests and fix ocm call string * feat: now listing customer cloud in rhoas kafka list (#1816) * refactor: dedicated changes now use new SDK * refactor: moving list enterprise clusters to util package (#1818) * feat: added name of cluster to kafka list (#1825) * feat: added name of cluster to kafka list * feat: clustermgmt url and access token flag to kafka list * chore: localized kafka list customer cloud * feat: kafka create with dedicated --------- Co-authored-by: Jack Delahunt <[email protected]> --------- Co-authored-by: Dimitri Saridakis <[email protected]> * feat: added de-register command --------- Co-authored-by: Dimitri Saridakis <[email protected]> Co-authored-by: Ramakrishna Pattnaik <[email protected]> * fix: now checking if reponse is empty in dedicated list * fix: now checking if reponse is empty in deregister * fix: correct output for deregister * feat: add clustermgmt flag to create kafka * chore: format & docs * chore: fix lint errors * refactor: hide flags, improves logic around passing cluster flag in register-cluster (#1836) --------- Co-authored-by: Dimitri Saridakis <[email protected]> Co-authored-by: Ramakrishna Pattnaik <[email protected]> Co-authored-by: Manyanda Chitimbo <[email protected]>
1 parent ec7946c commit 94582ea

File tree

3,032 files changed

+455593
-33719
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,032 files changed

+455593
-33719
lines changed

docs/commands/rhoas_kafka_create.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/commands/rhoas_kafka_list.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 62 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ require (
2828
github.com/wtrocki/go-github-selfupdate v1.2.4
2929
github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c
3030
gitlab.com/c0b/go-ordered-json v0.0.0-20201030195603-febf46534d5a
31-
golang.org/x/oauth2 v0.2.0
32-
golang.org/x/text v0.4.0
31+
golang.org/x/oauth2 v0.3.0
32+
golang.org/x/text v0.5.0
3333
gopkg.in/AlecAivazis/survey.v1 v1.8.8
3434
gopkg.in/segmentio/analytics-go.v3 v3.1.0
3535
gopkg.in/yaml.v2 v2.4.0
36-
k8s.io/api v0.22.4
37-
k8s.io/apimachinery v0.22.4
38-
k8s.io/client-go v0.22.4
36+
k8s.io/api v0.24.8
37+
k8s.io/apimachinery v0.24.8
38+
k8s.io/client-go v0.24.8
3939
k8s.io/utils v0.0.0-20220713171938-56c0de1e6f5e
4040
)
4141

4242
require (
4343
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/accountmgmt/apiv1/client v0.0.0-20230216114230-4ff0373de47f
44-
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/connectormgmt v0.0.0-20230222114134-d97c4c88765b
45-
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/kafkainstance v0.0.0-20230222114134-d97c4c88765b
46-
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/kafkamgmt v0.0.0-20230220160753-3c2c52e7e98a
47-
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registryinstance v0.0.0-20230222114134-d97c4c88765b
48-
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt v0.0.0-20230222114134-d97c4c88765b
49-
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/serviceaccountmgmt v0.0.0-20230222114134-d97c4c88765b
44+
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/connectormgmt v0.0.0-20230227102917-4a6410d5d4c2
45+
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/kafkainstance v0.0.0-20230227102917-4a6410d5d4c2
46+
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/kafkamgmt v0.0.0-20230227102917-4a6410d5d4c2
47+
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registryinstance v0.0.0-20230227102917-4a6410d5d4c2
48+
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt v0.0.0-20230227102917-4a6410d5d4c2
49+
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/serviceaccountmgmt v0.0.0-20230227102917-4a6410d5d4c2
5050
)
5151

5252
require (
@@ -60,25 +60,24 @@ require (
6060
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
6161
github.com/beorn7/perks v1.0.1 // indirect
6262
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
63-
github.com/cespare/xxhash/v2 v2.1.1 // indirect
63+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
6464
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
6565
github.com/davecgh/go-spew v1.1.1 // indirect
6666
github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1 // indirect
6767
github.com/dustin/go-humanize v1.0.0 // indirect
68-
github.com/evanphx/json-patch v4.11.0+incompatible // indirect
68+
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
6969
github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect
7070
github.com/fsnotify/fsnotify v1.6.0 // indirect
71-
github.com/go-logr/logr v0.4.0 // indirect
72-
github.com/go-resty/resty/v2 v2.3.0 // indirect
71+
github.com/go-logr/logr v1.2.3 // indirect
72+
github.com/go-resty/resty/v2 v2.7.0 // indirect
7373
github.com/gogo/protobuf v1.3.2 // indirect
7474
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
7575
github.com/golang/protobuf v1.5.2 // indirect
7676
github.com/google/go-cmp v0.5.9 // indirect
7777
github.com/google/go-github/v30 v30.1.0 // indirect
7878
github.com/google/go-querystring v1.1.0 // indirect
7979
github.com/google/gofuzz v1.1.0 // indirect
80-
github.com/google/uuid v1.1.2 // indirect
81-
github.com/googleapis/gnostic v0.5.5 // indirect
80+
github.com/google/uuid v1.3.0 // indirect
8281
github.com/iancoleman/orderedmap v0.2.0 // indirect
8382
github.com/imdario/mergo v0.3.12 // indirect
8483
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf // indirect
@@ -87,44 +86,70 @@ require (
8786
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
8887
github.com/kr/pretty v0.3.0 // indirect
8988
github.com/mattn/go-colorable v0.1.12 // indirect
90-
github.com/mattn/go-runewidth v0.0.13 // indirect
91-
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
89+
github.com/mattn/go-runewidth v0.0.14 // indirect
90+
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
9291
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
9392
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
9493
github.com/modern-go/reflect2 v1.0.2 // indirect
95-
github.com/prometheus/client_golang v1.11.0 // indirect
96-
github.com/prometheus/client_model v0.2.0 // indirect
97-
github.com/prometheus/common v0.26.0 // indirect
98-
github.com/prometheus/procfs v0.6.0 // indirect
94+
github.com/openshift-online/ocm-sdk-go v0.1.306
95+
github.com/prometheus/client_golang v1.14.0 // indirect
96+
github.com/prometheus/client_model v0.3.0 // indirect
97+
github.com/prometheus/common v0.39.0 // indirect
98+
github.com/prometheus/procfs v0.8.0 // indirect
9999
github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go v0.2.0 // indirect
100100
github.com/rivo/uniseg v0.2.0 // indirect
101101
github.com/russross/blackfriday/v2 v2.1.0 // indirect
102102
github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3 // indirect
103-
github.com/segmentio/ksuid v1.0.3 // indirect
103+
github.com/segmentio/ksuid v1.0.4 // indirect
104104
github.com/stretchr/testify v1.8.1 // indirect
105105
github.com/tcnksm/go-gitconfig v0.1.2 // indirect
106106
github.com/ulikunitz/xz v0.5.10 // indirect
107107
go.uber.org/atomic v1.9.0 // indirect
108-
go.uber.org/goleak v1.1.11 // indirect
109108
go.uber.org/multierr v1.8.0 // indirect
110109
go.uber.org/zap v1.21.0 // indirect
111-
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
112-
golang.org/x/net v0.2.0 // indirect
113-
golang.org/x/sys v0.2.0 // indirect
114-
golang.org/x/term v0.2.0 // indirect
115-
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
110+
golang.org/x/crypto v0.0.0-20220926161630-eccd6366d1be // indirect
111+
golang.org/x/net v0.4.0 // indirect
112+
golang.org/x/sys v0.3.0 // indirect
113+
golang.org/x/term v0.3.0 // indirect
114+
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af // indirect
116115
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
117116
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
118117
google.golang.org/appengine v1.6.7 // indirect
119118
google.golang.org/protobuf v1.28.1 // indirect
120119
gopkg.in/inf.v0 v0.9.1 // indirect
121120
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
122121
gopkg.in/yaml.v3 v3.0.1 // indirect
123-
k8s.io/apiextensions-apiserver v0.22.1 // indirect
124-
k8s.io/component-base v0.22.1 // indirect
125-
k8s.io/klog/v2 v2.9.0 // indirect
126-
k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c // indirect
127-
sigs.k8s.io/controller-runtime v0.10.0 // indirect
128-
sigs.k8s.io/structured-merge-diff/v4 v4.1.2 // indirect
129-
sigs.k8s.io/yaml v1.2.0 // indirect
122+
k8s.io/apiextensions-apiserver v0.24.0 // indirect
123+
k8s.io/component-base v0.24.0 // indirect
124+
k8s.io/klog/v2 v2.60.1 // indirect
125+
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect
126+
sigs.k8s.io/controller-runtime v0.12.1 // indirect
127+
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
128+
sigs.k8s.io/yaml v1.3.0 // indirect
129+
)
130+
131+
require (
132+
github.com/aymerick/douceur v0.2.0 // indirect
133+
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
134+
github.com/golang/glog v1.0.0 // indirect
135+
github.com/gorilla/css v1.0.0 // indirect
136+
github.com/microcosm-cc/bluemonday v1.0.21 // indirect
137+
)
138+
139+
require github.com/onsi/gomega v1.24.2 // indirect
140+
141+
require (
142+
github.com/PuerkitoBio/purell v1.1.1 // indirect
143+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
144+
github.com/emicklei/go-restful v2.9.5+incompatible // indirect
145+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
146+
github.com/go-openapi/jsonreference v0.19.5 // indirect
147+
github.com/go-openapi/swag v0.19.14 // indirect
148+
github.com/google/gnostic v0.5.7-v3refs // indirect
149+
github.com/itchyny/gojq v0.12.10 // indirect
150+
github.com/josharian/intern v1.0.0 // indirect
151+
github.com/mailru/easyjson v0.7.7 // indirect
152+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
153+
github.com/onsi/ginkgo/v2 v2.6.1 // indirect
154+
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
130155
)

0 commit comments

Comments
 (0)