Use struct to pack Ingress and its annotations
This commit is contained in:
parent
bf7ad0daca
commit
12766cdfc6
8 changed files with 171 additions and 158 deletions
|
|
@ -730,7 +730,8 @@ func newStore(t *testing.T) *k8sStore {
|
|||
return &k8sStore{
|
||||
listers: &Lister{
|
||||
// add more listers if needed
|
||||
Ingress: IngressLister{cache.NewStore(cache.MetaNamespaceKeyFunc)},
|
||||
Ingress: IngressLister{cache.NewStore(cache.MetaNamespaceKeyFunc)},
|
||||
IngressAnnotation: IngressAnnotationsLister{cache.NewStore(cache.DeletionHandlingMetaNamespaceKeyFunc)},
|
||||
},
|
||||
sslStore: NewSSLCertTracker(),
|
||||
filesystem: fs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue