Skip to content

Commit 0807a0d

Browse files
Implement direct controller, E2E fixtures, and fuzzer for VideoStitcherCDNKey
This commit implements the VideoStitcherCDNKey direct controller, its associated KRM fuzzer, and E2E test fixtures (both minimal and maximal configurations) to migrate it to the direct reconciliation path. Fix: 11178
1 parent 49581c3 commit 0807a0d

15 files changed

Lines changed: 574 additions & 6 deletions

File tree

apis/videostitcher/v1alpha1/generate.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ go run . generate-types \
2828
--api-version videostitcher.cnrm.cloud.google.com/v1alpha1 \
2929
--resource VideoStitcherCDNKey:CdnKey
3030

31-
# Note: We do not run generate-mapper here as this PR is for types/CRD/Identity only.
31+
go run . generate-mapper \
32+
--service google.cloud.video.stitcher.v1 \
33+
--api-version videostitcher.cnrm.cloud.google.com/v1alpha1
3234

3335
cd ${REPO_ROOT}
3436
dev/tasks/generate-crds
37+
38+
go run -mod=readonly golang.org/x/tools/cmd/goimports@${GOLANG_X_TOOLS_VERSION} -w pkg/controller/direct/videostitcher/

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ require (
8383
cloud.google.com/go/spanner v1.91.0
8484
cloud.google.com/go/speech v1.35.0
8585
cloud.google.com/go/storage v1.62.0
86+
cloud.google.com/go/video v1.32.0
8687
cloud.google.com/go/vmwareengine v1.8.0
8788
cloud.google.com/go/workflows v1.19.0
8889
cloud.google.com/go/workstations v1.1.6

go.sum

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

pkg/controller/direct/register/register.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ import (
116116
_ "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/controller/direct/vertexai"
117117
_ "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/controller/direct/vertexai/examplestore"
118118
_ "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/controller/direct/vertexai/featuregroup"
119+
_ "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/controller/direct/videostitcher"
119120
_ "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/controller/direct/vmwareengine"
120121
_ "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/controller/direct/workflowexecutions"
121122
_ "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/controller/direct/workflows"

pkg/controller/direct/videostitcher/mapper.generated.go

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

0 commit comments

Comments
 (0)