Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#1985 from ziyue-101/mockgkehub…
Browse files Browse the repository at this point in the history
…featuremembershio

Mock Gkehub memebership
  • Loading branch information
google-oss-prow[bot] authored Jun 10, 2024
2 parents 623ad12 + b61c20a commit 3d8da36
Show file tree
Hide file tree
Showing 16 changed files with 7,007 additions and 198 deletions.
2 changes: 2 additions & 0 deletions config/tests/samples/create/harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,8 @@ func MaybeSkip(t *testing.T, name string, resources []*unstructured.Unstructured
case schema.GroupKind{Group: "bigquery.cnrm.cloud.google.com", Kind: "BigQueryDataset"}:

case schema.GroupKind{Group: "gkehub.cnrm.cloud.google.com", Kind: "GKEHubFeature"}:
case schema.GroupKind{Group: "gkehub.cnrm.cloud.google.com", Kind: "GKEHubMembership"}:
case schema.GroupKind{Group: "gkehub.cnrm.cloud.google.com", Kind: "GKEHubFeatureMembership"}:

case schema.GroupKind{Group: "cloudbuild.cnrm.cloud.google.com", Kind: "CloudBuildWorkerPool"}:

Expand Down
2 changes: 2 additions & 0 deletions mockgcp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ gen-proto: generate-protos-from-openapi
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta/configmanagement/*.proto \
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta/metering/*.proto \
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta/multiclusteringress/*.proto \
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta1/membership.proto \
./third_party/googleapis/mockgrafeas/v1/*.proto


.PHONY: generate-protos-from-openapi
generate-protos-from-openapi:
Expand Down
1,247 changes: 1,247 additions & 0 deletions mockgcp/generated/mockgcp/cloud/gkehub/servicemesh/v1beta/servicemesh.pb.go

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

425 changes: 239 additions & 186 deletions mockgcp/generated/mockgcp/cloud/gkehub/v1beta/feature.pb.go

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3d8da36

Please sign in to comment.