controllerbuilder

command module
v0.0.0-...-49660b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

Examples:

# To generate Go types for BigtableInstance
go run . generate-types \
  --service google.bigtable.admin.v2 \
  --api-version bigtable.cnrm.cloud.google.com/v1beta1 \
  --resource BigtableInstance:Instance

# To generate mapping function between KRM and proto for BigtableInstance
go run . generate-mapper \
  --output-dir ~/kcc/k8s-config-connector/pkg/controller/direct/ \
  --service google.bigtable.admin.v2

# To scaffold generate the SecretManagerSecretVersion controller
go run . generate-direct-reconciler \
  --kind SecretManagerSecretVersion \
  --proto-resource SecretVersion \
  --api-version  "secretmanager.cnrm.cloud.google.com/v1beta1" \
  --service "google.cloud.secretmanager.v1"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL