code
stringlengths 12
335k
| docstring
stringlengths 20
20.8k
| func_name
stringlengths 1
105
| language
stringclasses 1
value | repo
stringclasses 498
values | path
stringlengths 5
172
| url
stringlengths 43
235
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
func NewVolumeAttachmentInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredVolumeAttachmentInformer(client, resyncPeriod, indexers, nil)
} | NewVolumeAttachmentInformer constructs a new informer for VolumeAttachment 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. | NewVolumeAttachmentInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattachment.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattachment.go | Apache-2.0 |
func NewFilteredVolumeAttachmentInformer(client kubernetes.Interface, 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.StorageV1alpha1().VolumeAttachments().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1alpha1().VolumeAttachments().Watch(context.TODO(), options)
},
},
&storagev1alpha1.VolumeAttachment{},
resyncPeriod,
indexers,
)
} | NewFilteredVolumeAttachmentInformer constructs a new informer for VolumeAttachment 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. | NewFilteredVolumeAttachmentInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattachment.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattachment.go | Apache-2.0 |
func NewCSIStorageCapacityInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredCSIStorageCapacityInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewCSIStorageCapacityInformer constructs a new informer for CSIStorageCapacity 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. | NewCSIStorageCapacityInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/storage/v1alpha1/csistoragecapacity.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/storage/v1alpha1/csistoragecapacity.go | Apache-2.0 |
func NewFilteredCSIStorageCapacityInformer(client kubernetes.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.StorageV1alpha1().CSIStorageCapacities(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1alpha1().CSIStorageCapacities(namespace).Watch(context.TODO(), options)
},
},
&storagev1alpha1.CSIStorageCapacity{},
resyncPeriod,
indexers,
)
} | NewFilteredCSIStorageCapacityInformer constructs a new informer for CSIStorageCapacity 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. | NewFilteredCSIStorageCapacityInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/storage/v1alpha1/csistoragecapacity.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/storage/v1alpha1/csistoragecapacity.go | Apache-2.0 |
func NewVolumeAttributesClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredVolumeAttributesClassInformer(client, resyncPeriod, indexers, nil)
} | NewVolumeAttributesClassInformer constructs a new informer for VolumeAttributesClass 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. | NewVolumeAttributesClassInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattributesclass.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattributesclass.go | Apache-2.0 |
func NewFilteredVolumeAttributesClassInformer(client kubernetes.Interface, 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.StorageV1alpha1().VolumeAttributesClasses().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1alpha1().VolumeAttributesClasses().Watch(context.TODO(), options)
},
},
&storagev1alpha1.VolumeAttributesClass{},
resyncPeriod,
indexers,
)
} | NewFilteredVolumeAttributesClassInformer constructs a new informer for VolumeAttributesClass 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. | NewFilteredVolumeAttributesClassInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattributesclass.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattributesclass.go | Apache-2.0 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} | New returns a new Interface. | New | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/storage/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/storage/v1alpha1/interface.go | Apache-2.0 |
func (v *version) CSIStorageCapacities() CSIStorageCapacityInformer {
return &cSIStorageCapacityInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | CSIStorageCapacities returns a CSIStorageCapacityInformer. | CSIStorageCapacities | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/storage/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/storage/v1alpha1/interface.go | Apache-2.0 |
func (v *version) VolumeAttachments() VolumeAttachmentInformer {
return &volumeAttachmentInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | VolumeAttachments returns a VolumeAttachmentInformer. | VolumeAttachments | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/storage/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/storage/v1alpha1/interface.go | Apache-2.0 |
func (v *version) VolumeAttributesClasses() VolumeAttributesClassInformer {
return &volumeAttributesClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | VolumeAttributesClasses returns a VolumeAttributesClassInformer. | VolumeAttributesClasses | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/storage/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/storage/v1alpha1/interface.go | Apache-2.0 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} | New returns a new Interface. | New | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/interface.go | Apache-2.0 |
func (g *group) V1() v1.Interface {
return v1.New(g.factory, g.namespace, g.tweakListOptions)
} | V1 returns a new v1.Interface. | V1 | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/interface.go | Apache-2.0 |
func (g *group) V1alpha1() v1alpha1.Interface {
return v1alpha1.New(g.factory, g.namespace, g.tweakListOptions)
} | V1alpha1 returns a new v1alpha1.Interface. | V1alpha1 | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/interface.go | Apache-2.0 |
func (g *group) V1beta1() v1beta1.Interface {
return v1beta1.New(g.factory, g.namespace, g.tweakListOptions)
} | V1beta1 returns a new v1beta1.Interface. | V1beta1 | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/interface.go | Apache-2.0 |
func NewRoleInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredRoleInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewRoleInformer constructs a new informer for Role 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. | NewRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/role.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/role.go | Apache-2.0 |
func NewFilteredRoleInformer(client kubernetes.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.RbacV1beta1().Roles(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1beta1().Roles(namespace).Watch(context.TODO(), options)
},
},
&rbacv1beta1.Role{},
resyncPeriod,
indexers,
)
} | NewFilteredRoleInformer constructs a new informer for Role 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. | NewFilteredRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/role.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/role.go | Apache-2.0 |
func NewClusterRoleBindingInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredClusterRoleBindingInformer(client, resyncPeriod, indexers, nil)
} | NewClusterRoleBindingInformer constructs a new informer for ClusterRoleBinding 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. | NewClusterRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/clusterrolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/clusterrolebinding.go | Apache-2.0 |
func NewFilteredClusterRoleBindingInformer(client kubernetes.Interface, 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.RbacV1beta1().ClusterRoleBindings().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1beta1().ClusterRoleBindings().Watch(context.TODO(), options)
},
},
&rbacv1beta1.ClusterRoleBinding{},
resyncPeriod,
indexers,
)
} | NewFilteredClusterRoleBindingInformer constructs a new informer for ClusterRoleBinding 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. | NewFilteredClusterRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/clusterrolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/clusterrolebinding.go | Apache-2.0 |
func NewRoleBindingInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredRoleBindingInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewRoleBindingInformer constructs a new informer for RoleBinding 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. | NewRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/rolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/rolebinding.go | Apache-2.0 |
func NewFilteredRoleBindingInformer(client kubernetes.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.RbacV1beta1().RoleBindings(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1beta1().RoleBindings(namespace).Watch(context.TODO(), options)
},
},
&rbacv1beta1.RoleBinding{},
resyncPeriod,
indexers,
)
} | NewFilteredRoleBindingInformer constructs a new informer for RoleBinding 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. | NewFilteredRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/rolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/rolebinding.go | Apache-2.0 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} | New returns a new Interface. | New | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go | Apache-2.0 |
func (v *version) ClusterRoles() ClusterRoleInformer {
return &clusterRoleInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | ClusterRoles returns a ClusterRoleInformer. | ClusterRoles | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go | Apache-2.0 |
func (v *version) ClusterRoleBindings() ClusterRoleBindingInformer {
return &clusterRoleBindingInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | ClusterRoleBindings returns a ClusterRoleBindingInformer. | ClusterRoleBindings | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go | Apache-2.0 |
func (v *version) Roles() RoleInformer {
return &roleInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | Roles returns a RoleInformer. | Roles | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go | Apache-2.0 |
func (v *version) RoleBindings() RoleBindingInformer {
return &roleBindingInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | RoleBindings returns a RoleBindingInformer. | RoleBindings | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/interface.go | Apache-2.0 |
func NewClusterRoleInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredClusterRoleInformer(client, resyncPeriod, indexers, nil)
} | NewClusterRoleInformer constructs a new informer for ClusterRole 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. | NewClusterRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/clusterrole.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/clusterrole.go | Apache-2.0 |
func NewFilteredClusterRoleInformer(client kubernetes.Interface, 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.RbacV1beta1().ClusterRoles().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1beta1().ClusterRoles().Watch(context.TODO(), options)
},
},
&rbacv1beta1.ClusterRole{},
resyncPeriod,
indexers,
)
} | NewFilteredClusterRoleInformer constructs a new informer for ClusterRole 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. | NewFilteredClusterRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1beta1/clusterrole.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1beta1/clusterrole.go | Apache-2.0 |
func NewRoleInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredRoleInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewRoleInformer constructs a new informer for Role 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. | NewRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/role.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/role.go | Apache-2.0 |
func NewFilteredRoleInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1().Roles(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1().Roles(namespace).Watch(context.TODO(), options)
},
},
&rbacv1.Role{},
resyncPeriod,
indexers,
)
} | NewFilteredRoleInformer constructs a new informer for Role 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. | NewFilteredRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/role.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/role.go | Apache-2.0 |
func NewClusterRoleBindingInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredClusterRoleBindingInformer(client, resyncPeriod, indexers, nil)
} | NewClusterRoleBindingInformer constructs a new informer for ClusterRoleBinding 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. | NewClusterRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/clusterrolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/clusterrolebinding.go | Apache-2.0 |
func NewFilteredClusterRoleBindingInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1().ClusterRoleBindings().List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1().ClusterRoleBindings().Watch(context.TODO(), options)
},
},
&rbacv1.ClusterRoleBinding{},
resyncPeriod,
indexers,
)
} | NewFilteredClusterRoleBindingInformer constructs a new informer for ClusterRoleBinding 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. | NewFilteredClusterRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/clusterrolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/clusterrolebinding.go | Apache-2.0 |
func NewRoleBindingInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredRoleBindingInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewRoleBindingInformer constructs a new informer for RoleBinding 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. | NewRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/rolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/rolebinding.go | Apache-2.0 |
func NewFilteredRoleBindingInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1().RoleBindings(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1().RoleBindings(namespace).Watch(context.TODO(), options)
},
},
&rbacv1.RoleBinding{},
resyncPeriod,
indexers,
)
} | NewFilteredRoleBindingInformer constructs a new informer for RoleBinding 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. | NewFilteredRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/rolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/rolebinding.go | Apache-2.0 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} | New returns a new Interface. | New | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/interface.go | Apache-2.0 |
func (v *version) ClusterRoles() ClusterRoleInformer {
return &clusterRoleInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | ClusterRoles returns a ClusterRoleInformer. | ClusterRoles | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/interface.go | Apache-2.0 |
func (v *version) ClusterRoleBindings() ClusterRoleBindingInformer {
return &clusterRoleBindingInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | ClusterRoleBindings returns a ClusterRoleBindingInformer. | ClusterRoleBindings | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/interface.go | Apache-2.0 |
func (v *version) Roles() RoleInformer {
return &roleInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | Roles returns a RoleInformer. | Roles | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/interface.go | Apache-2.0 |
func (v *version) RoleBindings() RoleBindingInformer {
return &roleBindingInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | RoleBindings returns a RoleBindingInformer. | RoleBindings | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/interface.go | Apache-2.0 |
func NewClusterRoleInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredClusterRoleInformer(client, resyncPeriod, indexers, nil)
} | NewClusterRoleInformer constructs a new informer for ClusterRole 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. | NewClusterRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/clusterrole.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/clusterrole.go | Apache-2.0 |
func NewFilteredClusterRoleInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1().ClusterRoles().List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1().ClusterRoles().Watch(context.TODO(), options)
},
},
&rbacv1.ClusterRole{},
resyncPeriod,
indexers,
)
} | NewFilteredClusterRoleInformer constructs a new informer for ClusterRole 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. | NewFilteredClusterRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1/clusterrole.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1/clusterrole.go | Apache-2.0 |
func NewRoleInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredRoleInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewRoleInformer constructs a new informer for Role 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. | NewRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/role.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/role.go | Apache-2.0 |
func NewFilteredRoleInformer(client kubernetes.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.RbacV1alpha1().Roles(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1alpha1().Roles(namespace).Watch(context.TODO(), options)
},
},
&rbacv1alpha1.Role{},
resyncPeriod,
indexers,
)
} | NewFilteredRoleInformer constructs a new informer for Role 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. | NewFilteredRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/role.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/role.go | Apache-2.0 |
func NewClusterRoleBindingInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredClusterRoleBindingInformer(client, resyncPeriod, indexers, nil)
} | NewClusterRoleBindingInformer constructs a new informer for ClusterRoleBinding 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. | NewClusterRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/clusterrolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/clusterrolebinding.go | Apache-2.0 |
func NewFilteredClusterRoleBindingInformer(client kubernetes.Interface, 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.RbacV1alpha1().ClusterRoleBindings().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1alpha1().ClusterRoleBindings().Watch(context.TODO(), options)
},
},
&rbacv1alpha1.ClusterRoleBinding{},
resyncPeriod,
indexers,
)
} | NewFilteredClusterRoleBindingInformer constructs a new informer for ClusterRoleBinding 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. | NewFilteredClusterRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/clusterrolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/clusterrolebinding.go | Apache-2.0 |
func NewRoleBindingInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredRoleBindingInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewRoleBindingInformer constructs a new informer for RoleBinding 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. | NewRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/rolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/rolebinding.go | Apache-2.0 |
func NewFilteredRoleBindingInformer(client kubernetes.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.RbacV1alpha1().RoleBindings(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1alpha1().RoleBindings(namespace).Watch(context.TODO(), options)
},
},
&rbacv1alpha1.RoleBinding{},
resyncPeriod,
indexers,
)
} | NewFilteredRoleBindingInformer constructs a new informer for RoleBinding 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. | NewFilteredRoleBindingInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/rolebinding.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/rolebinding.go | Apache-2.0 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} | New returns a new Interface. | New | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go | Apache-2.0 |
func (v *version) ClusterRoles() ClusterRoleInformer {
return &clusterRoleInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | ClusterRoles returns a ClusterRoleInformer. | ClusterRoles | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go | Apache-2.0 |
func (v *version) ClusterRoleBindings() ClusterRoleBindingInformer {
return &clusterRoleBindingInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | ClusterRoleBindings returns a ClusterRoleBindingInformer. | ClusterRoleBindings | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go | Apache-2.0 |
func (v *version) Roles() RoleInformer {
return &roleInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | Roles returns a RoleInformer. | Roles | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go | Apache-2.0 |
func (v *version) RoleBindings() RoleBindingInformer {
return &roleBindingInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | RoleBindings returns a RoleBindingInformer. | RoleBindings | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/interface.go | Apache-2.0 |
func NewClusterRoleInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredClusterRoleInformer(client, resyncPeriod, indexers, nil)
} | NewClusterRoleInformer constructs a new informer for ClusterRole 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. | NewClusterRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/clusterrole.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/clusterrole.go | Apache-2.0 |
func NewFilteredClusterRoleInformer(client kubernetes.Interface, 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.RbacV1alpha1().ClusterRoles().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.RbacV1alpha1().ClusterRoles().Watch(context.TODO(), options)
},
},
&rbacv1alpha1.ClusterRole{},
resyncPeriod,
indexers,
)
} | NewFilteredClusterRoleInformer constructs a new informer for ClusterRole 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. | NewFilteredClusterRoleInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/rbac/v1alpha1/clusterrole.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/rbac/v1alpha1/clusterrole.go | Apache-2.0 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} | New returns a new Interface. | New | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/interface.go | Apache-2.0 |
func (g *group) V1() v1.Interface {
return v1.New(g.factory, g.namespace, g.tweakListOptions)
} | V1 returns a new v1.Interface. | V1 | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/interface.go | Apache-2.0 |
func (g *group) V1beta1() v1beta1.Interface {
return v1beta1.New(g.factory, g.namespace, g.tweakListOptions)
} | V1beta1 returns a new v1beta1.Interface. | V1beta1 | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/interface.go | Apache-2.0 |
func (g *group) V1beta2() v1beta2.Interface {
return v1beta2.New(g.factory, g.namespace, g.tweakListOptions)
} | V1beta2 returns a new v1beta2.Interface. | V1beta2 | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/interface.go | Apache-2.0 |
func NewControllerRevisionInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredControllerRevisionInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewControllerRevisionInformer constructs a new informer for ControllerRevision 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. | NewControllerRevisionInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta1/controllerrevision.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta1/controllerrevision.go | Apache-2.0 |
func NewFilteredControllerRevisionInformer(client kubernetes.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.AppsV1beta1().ControllerRevisions(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1beta1().ControllerRevisions(namespace).Watch(context.TODO(), options)
},
},
&appsv1beta1.ControllerRevision{},
resyncPeriod,
indexers,
)
} | NewFilteredControllerRevisionInformer constructs a new informer for ControllerRevision 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. | NewFilteredControllerRevisionInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta1/controllerrevision.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta1/controllerrevision.go | Apache-2.0 |
func NewStatefulSetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredStatefulSetInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewStatefulSetInformer constructs a new informer for StatefulSet 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. | NewStatefulSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta1/statefulset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta1/statefulset.go | Apache-2.0 |
func NewFilteredStatefulSetInformer(client kubernetes.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.AppsV1beta1().StatefulSets(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1beta1().StatefulSets(namespace).Watch(context.TODO(), options)
},
},
&appsv1beta1.StatefulSet{},
resyncPeriod,
indexers,
)
} | NewFilteredStatefulSetInformer constructs a new informer for StatefulSet 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. | NewFilteredStatefulSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta1/statefulset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta1/statefulset.go | Apache-2.0 |
func NewDeploymentInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredDeploymentInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewDeploymentInformer constructs a new informer for Deployment 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. | NewDeploymentInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta1/deployment.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta1/deployment.go | Apache-2.0 |
func NewFilteredDeploymentInformer(client kubernetes.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.AppsV1beta1().Deployments(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1beta1().Deployments(namespace).Watch(context.TODO(), options)
},
},
&appsv1beta1.Deployment{},
resyncPeriod,
indexers,
)
} | NewFilteredDeploymentInformer constructs a new informer for Deployment 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. | NewFilteredDeploymentInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta1/deployment.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta1/deployment.go | Apache-2.0 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} | New returns a new Interface. | New | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta1/interface.go | Apache-2.0 |
func (v *version) ControllerRevisions() ControllerRevisionInformer {
return &controllerRevisionInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | ControllerRevisions returns a ControllerRevisionInformer. | ControllerRevisions | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta1/interface.go | Apache-2.0 |
func (v *version) Deployments() DeploymentInformer {
return &deploymentInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | Deployments returns a DeploymentInformer. | Deployments | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta1/interface.go | Apache-2.0 |
func (v *version) StatefulSets() StatefulSetInformer {
return &statefulSetInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | StatefulSets returns a StatefulSetInformer. | StatefulSets | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta1/interface.go | Apache-2.0 |
func NewControllerRevisionInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredControllerRevisionInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewControllerRevisionInformer constructs a new informer for ControllerRevision 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. | NewControllerRevisionInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/controllerrevision.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/controllerrevision.go | Apache-2.0 |
func NewFilteredControllerRevisionInformer(client kubernetes.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.AppsV1beta2().ControllerRevisions(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1beta2().ControllerRevisions(namespace).Watch(context.TODO(), options)
},
},
&appsv1beta2.ControllerRevision{},
resyncPeriod,
indexers,
)
} | NewFilteredControllerRevisionInformer constructs a new informer for ControllerRevision 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. | NewFilteredControllerRevisionInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/controllerrevision.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/controllerrevision.go | Apache-2.0 |
func NewDaemonSetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredDaemonSetInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewDaemonSetInformer constructs a new informer for DaemonSet 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. | NewDaemonSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/daemonset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/daemonset.go | Apache-2.0 |
func NewFilteredDaemonSetInformer(client kubernetes.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.AppsV1beta2().DaemonSets(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1beta2().DaemonSets(namespace).Watch(context.TODO(), options)
},
},
&appsv1beta2.DaemonSet{},
resyncPeriod,
indexers,
)
} | NewFilteredDaemonSetInformer constructs a new informer for DaemonSet 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. | NewFilteredDaemonSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/daemonset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/daemonset.go | Apache-2.0 |
func NewStatefulSetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredStatefulSetInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewStatefulSetInformer constructs a new informer for StatefulSet 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. | NewStatefulSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/statefulset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/statefulset.go | Apache-2.0 |
func NewFilteredStatefulSetInformer(client kubernetes.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.AppsV1beta2().StatefulSets(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1beta2().StatefulSets(namespace).Watch(context.TODO(), options)
},
},
&appsv1beta2.StatefulSet{},
resyncPeriod,
indexers,
)
} | NewFilteredStatefulSetInformer constructs a new informer for StatefulSet 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. | NewFilteredStatefulSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/statefulset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/statefulset.go | Apache-2.0 |
func NewDeploymentInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredDeploymentInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewDeploymentInformer constructs a new informer for Deployment 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. | NewDeploymentInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/deployment.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/deployment.go | Apache-2.0 |
func NewFilteredDeploymentInformer(client kubernetes.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.AppsV1beta2().Deployments(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1beta2().Deployments(namespace).Watch(context.TODO(), options)
},
},
&appsv1beta2.Deployment{},
resyncPeriod,
indexers,
)
} | NewFilteredDeploymentInformer constructs a new informer for Deployment 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. | NewFilteredDeploymentInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/deployment.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/deployment.go | Apache-2.0 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} | New returns a new Interface. | New | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | Apache-2.0 |
func (v *version) ControllerRevisions() ControllerRevisionInformer {
return &controllerRevisionInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | ControllerRevisions returns a ControllerRevisionInformer. | ControllerRevisions | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | Apache-2.0 |
func (v *version) DaemonSets() DaemonSetInformer {
return &daemonSetInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | DaemonSets returns a DaemonSetInformer. | DaemonSets | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | Apache-2.0 |
func (v *version) Deployments() DeploymentInformer {
return &deploymentInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | Deployments returns a DeploymentInformer. | Deployments | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | Apache-2.0 |
func (v *version) ReplicaSets() ReplicaSetInformer {
return &replicaSetInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | ReplicaSets returns a ReplicaSetInformer. | ReplicaSets | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | Apache-2.0 |
func (v *version) StatefulSets() StatefulSetInformer {
return &statefulSetInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | StatefulSets returns a StatefulSetInformer. | StatefulSets | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/interface.go | Apache-2.0 |
func NewReplicaSetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredReplicaSetInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewReplicaSetInformer constructs a new informer for ReplicaSet 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. | NewReplicaSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/replicaset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/replicaset.go | Apache-2.0 |
func NewFilteredReplicaSetInformer(client kubernetes.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.AppsV1beta2().ReplicaSets(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1beta2().ReplicaSets(namespace).Watch(context.TODO(), options)
},
},
&appsv1beta2.ReplicaSet{},
resyncPeriod,
indexers,
)
} | NewFilteredReplicaSetInformer constructs a new informer for ReplicaSet 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. | NewFilteredReplicaSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1beta2/replicaset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1beta2/replicaset.go | Apache-2.0 |
func NewControllerRevisionInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredControllerRevisionInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewControllerRevisionInformer constructs a new informer for ControllerRevision 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. | NewControllerRevisionInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/controllerrevision.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/controllerrevision.go | Apache-2.0 |
func NewFilteredControllerRevisionInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1().ControllerRevisions(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1().ControllerRevisions(namespace).Watch(context.TODO(), options)
},
},
&appsv1.ControllerRevision{},
resyncPeriod,
indexers,
)
} | NewFilteredControllerRevisionInformer constructs a new informer for ControllerRevision 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. | NewFilteredControllerRevisionInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/controllerrevision.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/controllerrevision.go | Apache-2.0 |
func NewDaemonSetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredDaemonSetInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewDaemonSetInformer constructs a new informer for DaemonSet 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. | NewDaemonSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/daemonset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/daemonset.go | Apache-2.0 |
func NewFilteredDaemonSetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1().DaemonSets(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1().DaemonSets(namespace).Watch(context.TODO(), options)
},
},
&appsv1.DaemonSet{},
resyncPeriod,
indexers,
)
} | NewFilteredDaemonSetInformer constructs a new informer for DaemonSet 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. | NewFilteredDaemonSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/daemonset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/daemonset.go | Apache-2.0 |
func NewStatefulSetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredStatefulSetInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewStatefulSetInformer constructs a new informer for StatefulSet 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. | NewStatefulSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/statefulset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/statefulset.go | Apache-2.0 |
func NewFilteredStatefulSetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1().StatefulSets(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1().StatefulSets(namespace).Watch(context.TODO(), options)
},
},
&appsv1.StatefulSet{},
resyncPeriod,
indexers,
)
} | NewFilteredStatefulSetInformer constructs a new informer for StatefulSet 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. | NewFilteredStatefulSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/statefulset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/statefulset.go | Apache-2.0 |
func NewDeploymentInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredDeploymentInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewDeploymentInformer constructs a new informer for Deployment 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. | NewDeploymentInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/deployment.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/deployment.go | Apache-2.0 |
func NewFilteredDeploymentInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1().Deployments(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1().Deployments(namespace).Watch(context.TODO(), options)
},
},
&appsv1.Deployment{},
resyncPeriod,
indexers,
)
} | NewFilteredDeploymentInformer constructs a new informer for Deployment 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. | NewFilteredDeploymentInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/deployment.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/deployment.go | Apache-2.0 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} | New returns a new Interface. | New | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/interface.go | Apache-2.0 |
func (v *version) ControllerRevisions() ControllerRevisionInformer {
return &controllerRevisionInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | ControllerRevisions returns a ControllerRevisionInformer. | ControllerRevisions | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/interface.go | Apache-2.0 |
func (v *version) DaemonSets() DaemonSetInformer {
return &daemonSetInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | DaemonSets returns a DaemonSetInformer. | DaemonSets | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/interface.go | Apache-2.0 |
func (v *version) Deployments() DeploymentInformer {
return &deploymentInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | Deployments returns a DeploymentInformer. | Deployments | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/interface.go | Apache-2.0 |
func (v *version) ReplicaSets() ReplicaSetInformer {
return &replicaSetInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | ReplicaSets returns a ReplicaSetInformer. | ReplicaSets | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/interface.go | Apache-2.0 |
func (v *version) StatefulSets() StatefulSetInformer {
return &statefulSetInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | StatefulSets returns a StatefulSetInformer. | StatefulSets | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/interface.go | Apache-2.0 |
func NewReplicaSetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredReplicaSetInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewReplicaSetInformer constructs a new informer for ReplicaSet 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. | NewReplicaSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/replicaset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/replicaset.go | Apache-2.0 |
func NewFilteredReplicaSetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1().ReplicaSets(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.AppsV1().ReplicaSets(namespace).Watch(context.TODO(), options)
},
},
&appsv1.ReplicaSet{},
resyncPeriod,
indexers,
)
} | NewFilteredReplicaSetInformer constructs a new informer for ReplicaSet 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. | NewFilteredReplicaSetInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/apps/v1/replicaset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/apps/v1/replicaset.go | Apache-2.0 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} | New returns a new Interface. | New | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/events/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/interface.go | Apache-2.0 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.