update dependencies

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-12-22 16:48:26 +08:00
parent 4a11a50544
commit fe6c5de00f
2857 changed files with 252134 additions and 115656 deletions

View File

@@ -1,3 +1,17 @@
// Copyright Istio 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.
// Code generated by informer-gen. DO NOT EDIT.
package security

View File

@@ -1,8 +1,23 @@
// Copyright Istio 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.
// Code generated by informer-gen. DO NOT EDIT.
package v1beta1
import (
"context"
time "time"
securityv1beta1 "istio.io/client-go/pkg/apis/security/v1beta1"
@@ -45,13 +60,13 @@ func NewFilteredAuthorizationPolicyInformer(client versioned.Interface, namespac
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.SecurityV1beta1().AuthorizationPolicies(namespace).List(options)
return client.SecurityV1beta1().AuthorizationPolicies(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.SecurityV1beta1().AuthorizationPolicies(namespace).Watch(options)
return client.SecurityV1beta1().AuthorizationPolicies(namespace).Watch(context.TODO(), options)
},
},
&securityv1beta1.AuthorizationPolicy{},

View File

@@ -1,3 +1,17 @@
// Copyright Istio 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.
// Code generated by informer-gen. DO NOT EDIT.
package v1beta1
@@ -10,6 +24,10 @@ import (
type Interface interface {
// AuthorizationPolicies returns a AuthorizationPolicyInformer.
AuthorizationPolicies() AuthorizationPolicyInformer
// PeerAuthentications returns a PeerAuthenticationInformer.
PeerAuthentications() PeerAuthenticationInformer
// RequestAuthentications returns a RequestAuthenticationInformer.
RequestAuthentications() RequestAuthenticationInformer
}
type version struct {
@@ -27,3 +45,13 @@ func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakList
func (v *version) AuthorizationPolicies() AuthorizationPolicyInformer {
return &authorizationPolicyInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// PeerAuthentications returns a PeerAuthenticationInformer.
func (v *version) PeerAuthentications() PeerAuthenticationInformer {
return &peerAuthenticationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// RequestAuthentications returns a RequestAuthenticationInformer.
func (v *version) RequestAuthentications() RequestAuthenticationInformer {
return &requestAuthenticationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}

View File

@@ -0,0 +1,88 @@
// Copyright Istio 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.
// Code generated by informer-gen. DO NOT EDIT.
package v1beta1
import (
"context"
time "time"
securityv1beta1 "istio.io/client-go/pkg/apis/security/v1beta1"
versioned "istio.io/client-go/pkg/clientset/versioned"
internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces"
v1beta1 "istio.io/client-go/pkg/listers/security/v1beta1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
watch "k8s.io/apimachinery/pkg/watch"
cache "k8s.io/client-go/tools/cache"
)
// PeerAuthenticationInformer provides access to a shared informer and lister for
// PeerAuthentications.
type PeerAuthenticationInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1beta1.PeerAuthenticationLister
}
type peerAuthenticationInformer struct {
factory internalinterfaces.SharedInformerFactory
tweakListOptions internalinterfaces.TweakListOptionsFunc
namespace string
}
// NewPeerAuthenticationInformer constructs a new informer for PeerAuthentication type.
// Always prefer using an informer factory to get a shared informer instead of getting an independent
// one. This reduces memory footprint and number of connections to the server.
func NewPeerAuthenticationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredPeerAuthenticationInformer(client, namespace, resyncPeriod, indexers, nil)
}
// NewFilteredPeerAuthenticationInformer constructs a new informer for PeerAuthentication type.
// Always prefer using an informer factory to get a shared informer instead of getting an independent
// one. This reduces memory footprint and number of connections to the server.
func NewFilteredPeerAuthenticationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.SecurityV1beta1().PeerAuthentications(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.SecurityV1beta1().PeerAuthentications(namespace).Watch(context.TODO(), options)
},
},
&securityv1beta1.PeerAuthentication{},
resyncPeriod,
indexers,
)
}
func (f *peerAuthenticationInformer) defaultInformer(client versioned.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer {
return NewFilteredPeerAuthenticationInformer(client, f.namespace, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions)
}
func (f *peerAuthenticationInformer) Informer() cache.SharedIndexInformer {
return f.factory.InformerFor(&securityv1beta1.PeerAuthentication{}, f.defaultInformer)
}
func (f *peerAuthenticationInformer) Lister() v1beta1.PeerAuthenticationLister {
return v1beta1.NewPeerAuthenticationLister(f.Informer().GetIndexer())
}

View File

@@ -0,0 +1,88 @@
// Copyright Istio 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.
// Code generated by informer-gen. DO NOT EDIT.
package v1beta1
import (
"context"
time "time"
securityv1beta1 "istio.io/client-go/pkg/apis/security/v1beta1"
versioned "istio.io/client-go/pkg/clientset/versioned"
internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces"
v1beta1 "istio.io/client-go/pkg/listers/security/v1beta1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
watch "k8s.io/apimachinery/pkg/watch"
cache "k8s.io/client-go/tools/cache"
)
// RequestAuthenticationInformer provides access to a shared informer and lister for
// RequestAuthentications.
type RequestAuthenticationInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1beta1.RequestAuthenticationLister
}
type requestAuthenticationInformer struct {
factory internalinterfaces.SharedInformerFactory
tweakListOptions internalinterfaces.TweakListOptionsFunc
namespace string
}
// NewRequestAuthenticationInformer constructs a new informer for RequestAuthentication type.
// Always prefer using an informer factory to get a shared informer instead of getting an independent
// one. This reduces memory footprint and number of connections to the server.
func NewRequestAuthenticationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredRequestAuthenticationInformer(client, namespace, resyncPeriod, indexers, nil)
}
// NewFilteredRequestAuthenticationInformer constructs a new informer for RequestAuthentication type.
// Always prefer using an informer factory to get a shared informer instead of getting an independent
// one. This reduces memory footprint and number of connections to the server.
func NewFilteredRequestAuthenticationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.SecurityV1beta1().RequestAuthentications(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.SecurityV1beta1().RequestAuthentications(namespace).Watch(context.TODO(), options)
},
},
&securityv1beta1.RequestAuthentication{},
resyncPeriod,
indexers,
)
}
func (f *requestAuthenticationInformer) defaultInformer(client versioned.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer {
return NewFilteredRequestAuthenticationInformer(client, f.namespace, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions)
}
func (f *requestAuthenticationInformer) Informer() cache.SharedIndexInformer {
return f.factory.InformerFor(&securityv1beta1.RequestAuthentication{}, f.defaultInformer)
}
func (f *requestAuthenticationInformer) Lister() v1beta1.RequestAuthenticationLister {
return v1beta1.NewRequestAuthenticationLister(f.Informer().GetIndexer())
}