mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-02-08 23:12:50 +08:00
![James Munnelly](/assets/img/avatar_default.png)
sample-controller: add API types sample-controller: regenerate files sample-controller: add implementation sample-controller: update bazel sample-controller: update make-rules and cache_go_dirs sample-controller: Set noStatus tag. Remove openapi-gen tag. sample-controller: add deletion tombstone handling logic sample-controller: update README, remove use of reflect in UpdateFuncs sample-controller: add OWNERS file sample-controller: add LICENSE Kubernetes-commit: 740afa0e65bf44a95752fb863017a7cf14b476ad
44 lines
1.2 KiB
Go
44 lines
1.2 KiB
Go
/*
|
|
Copyright 2017 The Kubernetes Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
// This file was automatically generated by informer-gen
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
internalinterfaces "k8s.io/sample-controller/pkg/client/informers/externalversions/internalinterfaces"
|
|
)
|
|
|
|
// Interface provides access to all the informers in this group version.
|
|
type Interface interface {
|
|
// Foos returns a FooInformer.
|
|
Foos() FooInformer
|
|
}
|
|
|
|
type version struct {
|
|
internalinterfaces.SharedInformerFactory
|
|
}
|
|
|
|
// New returns a new Interface.
|
|
func New(f internalinterfaces.SharedInformerFactory) Interface {
|
|
return &version{f}
|
|
}
|
|
|
|
// Foos returns a FooInformer.
|
|
func (v *version) Foos() FooInformer {
|
|
return &fooInformer{factory: v.SharedInformerFactory}
|
|
}
|