mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-28 02:37:11 +00:00
Merge pull request #1478 from marquiz/devel/code-gen
generate: update kube code-gen to v1.28.4
This commit is contained in:
commit
ea1264ae68
2 changed files with 4 additions and 4 deletions
|
@ -4,8 +4,8 @@ FROM ${BUILDER_IMAGE} as builder
|
|||
# Install tools
|
||||
RUN go install github.com/vektra/mockery/v2@v2.32.0 && \
|
||||
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.12.1 && \
|
||||
git clone https://github.com/kubernetes/code-generator -b v0.27.4 --depth 1 && \
|
||||
go install k8s.io/code-generator/cmd/go-to-protobuf/...@v0.27.4 && \
|
||||
git clone https://github.com/kubernetes/code-generator -b v0.28.4 --depth 1 && \
|
||||
go install k8s.io/code-generator/cmd/go-to-protobuf/...@v0.28.4 && \
|
||||
go install golang.org/x/tools/cmd/goimports@v0.11.0 && \
|
||||
go install github.com/golang/protobuf/protoc-gen-go@v1.4.3
|
||||
|
||||
|
|
|
@ -166,7 +166,7 @@ func (f *sharedInformerFactory) WaitForCacheSync(stopCh <-chan struct{}) map[ref
|
|||
return res
|
||||
}
|
||||
|
||||
// InternalInformerFor returns the SharedIndexInformer for obj using an internal
|
||||
// InformerFor returns the SharedIndexInformer for obj using an internal
|
||||
// client.
|
||||
func (f *sharedInformerFactory) InformerFor(obj runtime.Object, newFunc internalinterfaces.NewInformerFunc) cache.SharedIndexInformer {
|
||||
f.lock.Lock()
|
||||
|
@ -239,7 +239,7 @@ type SharedInformerFactory interface {
|
|||
// ForResource gives generic access to a shared informer of the matching type.
|
||||
ForResource(resource schema.GroupVersionResource) (GenericInformer, error)
|
||||
|
||||
// InternalInformerFor returns the SharedIndexInformer for obj using an internal
|
||||
// InformerFor returns the SharedIndexInformer for obj using an internal
|
||||
// client.
|
||||
InformerFor(obj runtime.Object, newFunc internalinterfaces.NewInformerFunc) cache.SharedIndexInformer
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue