File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
pkg/registry/admissionregistration
mutatingwebhookconfiguration/storage
validatingwebhookconfiguration/storage Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ import (
27
27
"k8s.io/kubernetes/pkg/registry/admissionregistration/mutatingwebhookconfiguration"
28
28
)
29
29
30
- // REST implements a RESTStorage for pod disruption budgets against etcd
30
+ // REST implements a RESTStorage for mutatingWebhookConfiguration against etcd
31
31
type REST struct {
32
32
* genericregistry.Store
33
33
}
34
34
35
- // NewREST returns a RESTStorage object that will work against pod disruption budgets .
35
+ // NewREST returns a RESTStorage object that will work against mutatingWebhookConfiguration .
36
36
func NewREST (optsGetter generic.RESTOptionsGetter ) (* REST , error ) {
37
37
store := & genericregistry.Store {
38
38
NewFunc : func () runtime.Object { return & admissionregistration.MutatingWebhookConfiguration {} },
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ import (
27
27
"k8s.io/kubernetes/pkg/registry/admissionregistration/validatingwebhookconfiguration"
28
28
)
29
29
30
- // REST implements a RESTStorage for pod disruption budgets against etcd
30
+ // REST implements a RESTStorage for validatingWebhookConfiguration against etcd
31
31
type REST struct {
32
32
* genericregistry.Store
33
33
}
34
34
35
- // NewREST returns a RESTStorage object that will work against pod disruption budgets .
35
+ // NewREST returns a RESTStorage object that will work against validatingWebhookConfiguration .
36
36
func NewREST (optsGetter generic.RESTOptionsGetter ) (* REST , error ) {
37
37
store := & genericregistry.Store {
38
38
NewFunc : func () runtime.Object { return & admissionregistration.ValidatingWebhookConfiguration {} },
You can’t perform that action at this time.
0 commit comments