Skip to content

Commit

Permalink
move to pkg/client
Browse files Browse the repository at this point in the history
  • Loading branch information
skonto committed Apr 25, 2024
1 parent 049ac7b commit 177f361
Show file tree
Hide file tree
Showing 87 changed files with 149 additions and 150 deletions.
1 change: 0 additions & 1 deletion .codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ ignore:
- "**/*.pb.go" # Ignore proto-generated files.
- "hack"
- "pkg/client"
- "pkg/netcertmanager/client"
- "test"
- "third_party"
- "vendor"
12 changes: 6 additions & 6 deletions cmd/controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ import (
"knative.dev/serving/pkg/reconciler/serverlessservice"
"knative.dev/serving/pkg/reconciler/service"

versioned "knative.dev/serving/pkg/netcertmanager/client/certmanager/clientset/versioned"
"knative.dev/serving/pkg/netcertmanager/client/certmanager/injection/informers/acme/v1/challenge"
v1certificate "knative.dev/serving/pkg/netcertmanager/client/certmanager/injection/informers/certmanager/v1/certificate"
"knative.dev/serving/pkg/netcertmanager/client/certmanager/injection/informers/certmanager/v1/certificaterequest"
"knative.dev/serving/pkg/netcertmanager/client/certmanager/injection/informers/certmanager/v1/clusterissuer"
"knative.dev/serving/pkg/netcertmanager/client/certmanager/injection/informers/certmanager/v1/issuer"
versioned "knative.dev/serving/pkg/client/certmanager/clientset/versioned"
"knative.dev/serving/pkg/client/certmanager/injection/informers/acme/v1/challenge"
v1certificate "knative.dev/serving/pkg/client/certmanager/injection/informers/certmanager/v1/certificate"
"knative.dev/serving/pkg/client/certmanager/injection/informers/certmanager/v1/certificaterequest"
"knative.dev/serving/pkg/client/certmanager/injection/informers/certmanager/v1/clusterissuer"
"knative.dev/serving/pkg/client/certmanager/injection/informers/certmanager/v1/issuer"
)

var ctors = []injection.ControllerConstructor{
Expand Down
4 changes: 2 additions & 2 deletions hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ ${CODEGEN_PKG}/generate-groups.sh "deepcopy,client,informer,lister" \

# Generate our own client for cert-manager (otherwise injection won't work)
${CODEGEN_PKG}/generate-groups.sh "deepcopy,client,informer,lister" \
knative.dev/serving/pkg/netcertmanager/client/certmanager github.com/cert-manager/cert-manager/pkg/apis \
knative.dev/serving/pkg/client/certmanager github.com/cert-manager/cert-manager/pkg/apis \
"certmanager:v1 acme:v1" \
--go-header-file ${REPO_ROOT_DIR}/hack/boilerplate/boilerplate.go.txt

Expand All @@ -85,7 +85,7 @@ ${KNATIVE_CODEGEN_PKG}/hack/generate-knative.sh "injection" \

# Knative Injection (for cert-manager)
${KNATIVE_CODEGEN_PKG}/hack/generate-knative.sh "injection" \
knative.dev/serving/pkg/netcertmanager/client/certmanager github.com/cert-manager/cert-manager/pkg/apis \
knative.dev/serving/pkg/client/certmanager github.com/cert-manager/cert-manager/pkg/apis \
"certmanager:v1 acme:v1" \
--disable-informer-init \
--go-header-file ${REPO_ROOT_DIR}/hack/boilerplate/boilerplate.go.txt
Expand Down

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

Loading

0 comments on commit 177f361

Please sign in to comment.