mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-19 17:39:56 +00:00
Make getter names for reflector fields idiomatic
Kubernetes-commit: fdabcb5141094cb99afde24ec1df15026b4ba349
This commit is contained in:
parent
64f5574f09
commit
ce42c297f4
4
tools/cache/reflector.go
vendored
4
tools/cache/reflector.go
vendored
@ -121,11 +121,11 @@ type Reflector struct {
|
|||||||
UseWatchList *bool
|
UseWatchList *bool
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *Reflector) GetName() string {
|
func (r *Reflector) Name() string {
|
||||||
return r.name
|
return r.name
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *Reflector) GetTypeDescription() string {
|
func (r *Reflector) TypeDescription() string {
|
||||||
return r.typeDescription
|
return r.typeDescription
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user