-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
kind/enhancementtriage/acceptedIssues which should be fixed (post-triage)Issues which should be fixed (post-triage)
Description
Rewrite codegen-library.sh script into a Golang tool knative.dev/toolbox/codegen. The current script:
Invent new CLI, for example:
go run knative.dev/toolbox/codegen@latest k8s \
"deepcopy,client,informer,lister" \
knative.dev/serving/pkg/client knative.dev/serving/pkg/apis \
"serving:v1 serving:v1beta1 autoscaling:v1alpha1"
go run knative.dev/toolbox/codegen@latest knative \
"injection" \
knative.dev/serving/pkg/client knative.dev/serving/pkg/apis \
"serving:v1 serving:v1beta1 autoscaling:v1alpha1"
go run knative.dev/toolbox/codegen@latest deepcopy-gen \
-i knative.dev/serving/pkg/apis/config \
-i knative.dev/serving/pkg/reconciler/route/config \
-i knative.dev/serving/pkg/autoscaler/config/autoscalerconfig \
-i knative.dev/serving/pkg/autoscaler/scaling \
-i knative.dev/serving/pkg/deployment \
-i knative.dev/serving/pkg/gcMetadata
Metadata
Assignees
Labels
kind/enhancementtriage/acceptedIssues which should be fixed (post-triage)Issues which should be fixed (post-triage)