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 (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/events/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/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/events/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/interface.go | Apache-2.0 |
func NewEventInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredEventInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewEventInformer constructs a new informer for Event 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. | NewEventInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/events/v1beta1/event.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/v1beta1/event.go | Apache-2.0 |
func NewFilteredEventInformer(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.EventsV1beta1().Events(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.EventsV1beta1().Events(namespace).Watch(context.TODO(), options)
},
},
&eventsv1beta1.Event{},
resyncPeriod,
indexers,
)
} | NewFilteredEventInformer constructs a new informer for Event 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. | NewFilteredEventInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/events/v1beta1/event.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/v1beta1/event.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/events/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/v1beta1/interface.go | Apache-2.0 |
func (v *version) Events() EventInformer {
return &eventInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | Events returns a EventInformer. | Events | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/events/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/v1beta1/interface.go | Apache-2.0 |
func NewEventInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredEventInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewEventInformer constructs a new informer for Event 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. | NewEventInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/events/v1/event.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/v1/event.go | Apache-2.0 |
func NewFilteredEventInformer(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.EventsV1().Events(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.EventsV1().Events(namespace).Watch(context.TODO(), options)
},
},
&eventsv1.Event{},
resyncPeriod,
indexers,
)
} | NewFilteredEventInformer constructs a new informer for Event 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. | NewFilteredEventInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/events/v1/event.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/v1/event.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/events/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/v1/interface.go | Apache-2.0 |
func (v *version) Events() EventInformer {
return &eventInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | Events returns a EventInformer. | Events | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/events/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/events/v1/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/extensions/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/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/extensions/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/interface.go | Apache-2.0 |
func NewNetworkPolicyInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredNetworkPolicyInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewNetworkPolicyInformer constructs a new informer for NetworkPolicy 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. | NewNetworkPolicyInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/extensions/v1beta1/networkpolicy.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/networkpolicy.go | Apache-2.0 |
func NewFilteredNetworkPolicyInformer(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.ExtensionsV1beta1().NetworkPolicies(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ExtensionsV1beta1().NetworkPolicies(namespace).Watch(context.TODO(), options)
},
},
&extensionsv1beta1.NetworkPolicy{},
resyncPeriod,
indexers,
)
} | NewFilteredNetworkPolicyInformer constructs a new informer for NetworkPolicy 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. | NewFilteredNetworkPolicyInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/extensions/v1beta1/networkpolicy.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/networkpolicy.go | Apache-2.0 |
func NewIngressInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredIngressInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewIngressInformer constructs a new informer for Ingress 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. | NewIngressInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/extensions/v1beta1/ingress.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/ingress.go | Apache-2.0 |
func NewFilteredIngressInformer(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.ExtensionsV1beta1().Ingresses(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ExtensionsV1beta1().Ingresses(namespace).Watch(context.TODO(), options)
},
},
&extensionsv1beta1.Ingress{},
resyncPeriod,
indexers,
)
} | NewFilteredIngressInformer constructs a new informer for Ingress 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. | NewFilteredIngressInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/extensions/v1beta1/ingress.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/ingress.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/extensions/v1beta1/daemonset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/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.ExtensionsV1beta1().DaemonSets(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ExtensionsV1beta1().DaemonSets(namespace).Watch(context.TODO(), options)
},
},
&extensionsv1beta1.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/extensions/v1beta1/daemonset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/daemonset.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/extensions/v1beta1/deployment.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/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.ExtensionsV1beta1().Deployments(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ExtensionsV1beta1().Deployments(namespace).Watch(context.TODO(), options)
},
},
&extensionsv1beta1.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/extensions/v1beta1/deployment.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/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/extensions/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/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/extensions/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/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/extensions/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/interface.go | Apache-2.0 |
func (v *version) Ingresses() IngressInformer {
return &ingressInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | Ingresses returns a IngressInformer. | Ingresses | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/extensions/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/interface.go | Apache-2.0 |
func (v *version) NetworkPolicies() NetworkPolicyInformer {
return &networkPolicyInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | NetworkPolicies returns a NetworkPolicyInformer. | NetworkPolicies | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/extensions/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/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/extensions/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/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/extensions/v1beta1/replicaset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/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.ExtensionsV1beta1().ReplicaSets(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ExtensionsV1beta1().ReplicaSets(namespace).Watch(context.TODO(), options)
},
},
&extensionsv1beta1.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/extensions/v1beta1/replicaset.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/extensions/v1beta1/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/resource/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/interface.go | Apache-2.0 |
func (g *group) V1alpha2() v1alpha2.Interface {
return v1alpha2.New(g.factory, g.namespace, g.tweakListOptions)
} | V1alpha2 returns a new v1alpha2.Interface. | V1alpha2 | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/interface.go | Apache-2.0 |
func NewResourceClaimTemplateInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredResourceClaimTemplateInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewResourceClaimTemplateInformer constructs a new informer for ResourceClaimTemplate 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. | NewResourceClaimTemplateInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclaimtemplate.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclaimtemplate.go | Apache-2.0 |
func NewFilteredResourceClaimTemplateInformer(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.ResourceV1alpha2().ResourceClaimTemplates(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ResourceV1alpha2().ResourceClaimTemplates(namespace).Watch(context.TODO(), options)
},
},
&resourcev1alpha2.ResourceClaimTemplate{},
resyncPeriod,
indexers,
)
} | NewFilteredResourceClaimTemplateInformer constructs a new informer for ResourceClaimTemplate 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. | NewFilteredResourceClaimTemplateInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclaimtemplate.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclaimtemplate.go | Apache-2.0 |
func NewPodSchedulingContextInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredPodSchedulingContextInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewPodSchedulingContextInformer constructs a new informer for PodSchedulingContext 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. | NewPodSchedulingContextInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/podschedulingcontext.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/podschedulingcontext.go | Apache-2.0 |
func NewFilteredPodSchedulingContextInformer(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.ResourceV1alpha2().PodSchedulingContexts(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ResourceV1alpha2().PodSchedulingContexts(namespace).Watch(context.TODO(), options)
},
},
&resourcev1alpha2.PodSchedulingContext{},
resyncPeriod,
indexers,
)
} | NewFilteredPodSchedulingContextInformer constructs a new informer for PodSchedulingContext 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. | NewFilteredPodSchedulingContextInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/podschedulingcontext.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/podschedulingcontext.go | Apache-2.0 |
func NewResourceClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredResourceClassInformer(client, resyncPeriod, indexers, nil)
} | NewResourceClassInformer constructs a new informer for ResourceClass 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. | NewResourceClassInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclass.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclass.go | Apache-2.0 |
func NewFilteredResourceClassInformer(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.ResourceV1alpha2().ResourceClasses().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ResourceV1alpha2().ResourceClasses().Watch(context.TODO(), options)
},
},
&resourcev1alpha2.ResourceClass{},
resyncPeriod,
indexers,
)
} | NewFilteredResourceClassInformer constructs a new informer for ResourceClass 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. | NewFilteredResourceClassInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclass.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclass.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/resource/v1alpha2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/interface.go | Apache-2.0 |
func (v *version) PodSchedulingContexts() PodSchedulingContextInformer {
return &podSchedulingContextInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | PodSchedulingContexts returns a PodSchedulingContextInformer. | PodSchedulingContexts | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/interface.go | Apache-2.0 |
func (v *version) ResourceClaims() ResourceClaimInformer {
return &resourceClaimInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | ResourceClaims returns a ResourceClaimInformer. | ResourceClaims | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/interface.go | Apache-2.0 |
func (v *version) ResourceClaimTemplates() ResourceClaimTemplateInformer {
return &resourceClaimTemplateInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | ResourceClaimTemplates returns a ResourceClaimTemplateInformer. | ResourceClaimTemplates | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/interface.go | Apache-2.0 |
func (v *version) ResourceClasses() ResourceClassInformer {
return &resourceClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | ResourceClasses returns a ResourceClassInformer. | ResourceClasses | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/interface.go | Apache-2.0 |
func NewResourceClaimInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredResourceClaimInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewResourceClaimInformer constructs a new informer for ResourceClaim 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. | NewResourceClaimInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclaim.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclaim.go | Apache-2.0 |
func NewFilteredResourceClaimInformer(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.ResourceV1alpha2().ResourceClaims(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ResourceV1alpha2().ResourceClaims(namespace).Watch(context.TODO(), options)
},
},
&resourcev1alpha2.ResourceClaim{},
resyncPeriod,
indexers,
)
} | NewFilteredResourceClaimInformer constructs a new informer for ResourceClaim 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. | NewFilteredResourceClaimInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclaim.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/resource/v1alpha2/resourceclaim.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/batch/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/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/batch/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/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/batch/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/interface.go | Apache-2.0 |
func NewCronJobInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredCronJobInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewCronJobInformer constructs a new informer for CronJob 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. | NewCronJobInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/batch/v1beta1/cronjob.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1beta1/cronjob.go | Apache-2.0 |
func NewFilteredCronJobInformer(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.BatchV1beta1().CronJobs(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.BatchV1beta1().CronJobs(namespace).Watch(context.TODO(), options)
},
},
&batchv1beta1.CronJob{},
resyncPeriod,
indexers,
)
} | NewFilteredCronJobInformer constructs a new informer for CronJob 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. | NewFilteredCronJobInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/batch/v1beta1/cronjob.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1beta1/cronjob.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/batch/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1beta1/interface.go | Apache-2.0 |
func (v *version) CronJobs() CronJobInformer {
return &cronJobInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | CronJobs returns a CronJobInformer. | CronJobs | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/batch/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1beta1/interface.go | Apache-2.0 |
func NewCronJobInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredCronJobInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewCronJobInformer constructs a new informer for CronJob 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. | NewCronJobInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/batch/v1/cronjob.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1/cronjob.go | Apache-2.0 |
func NewFilteredCronJobInformer(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.BatchV1().CronJobs(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.BatchV1().CronJobs(namespace).Watch(context.TODO(), options)
},
},
&batchv1.CronJob{},
resyncPeriod,
indexers,
)
} | NewFilteredCronJobInformer constructs a new informer for CronJob 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. | NewFilteredCronJobInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/batch/v1/cronjob.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1/cronjob.go | Apache-2.0 |
func NewJobInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredJobInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewJobInformer constructs a new informer for Job 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. | NewJobInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/batch/v1/job.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1/job.go | Apache-2.0 |
func NewFilteredJobInformer(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.BatchV1().Jobs(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.BatchV1().Jobs(namespace).Watch(context.TODO(), options)
},
},
&batchv1.Job{},
resyncPeriod,
indexers,
)
} | NewFilteredJobInformer constructs a new informer for Job 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. | NewFilteredJobInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/batch/v1/job.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1/job.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/batch/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1/interface.go | Apache-2.0 |
func (v *version) CronJobs() CronJobInformer {
return &cronJobInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | CronJobs returns a CronJobInformer. | CronJobs | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/batch/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1/interface.go | Apache-2.0 |
func (v *version) Jobs() JobInformer {
return &jobInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
} | Jobs returns a JobInformer. | Jobs | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/batch/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/batch/v1/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/node/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/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/node/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/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/node/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/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/node/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/interface.go | Apache-2.0 |
func NewRuntimeClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredRuntimeClassInformer(client, resyncPeriod, indexers, nil)
} | NewRuntimeClassInformer constructs a new informer for RuntimeClass 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. | NewRuntimeClassInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/node/v1beta1/runtimeclass.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1beta1/runtimeclass.go | Apache-2.0 |
func NewFilteredRuntimeClassInformer(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.NodeV1beta1().RuntimeClasses().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NodeV1beta1().RuntimeClasses().Watch(context.TODO(), options)
},
},
&nodev1beta1.RuntimeClass{},
resyncPeriod,
indexers,
)
} | NewFilteredRuntimeClassInformer constructs a new informer for RuntimeClass 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. | NewFilteredRuntimeClassInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/node/v1beta1/runtimeclass.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1beta1/runtimeclass.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/node/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1beta1/interface.go | Apache-2.0 |
func (v *version) RuntimeClasses() RuntimeClassInformer {
return &runtimeClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | RuntimeClasses returns a RuntimeClassInformer. | RuntimeClasses | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/node/v1beta1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1beta1/interface.go | Apache-2.0 |
func NewRuntimeClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredRuntimeClassInformer(client, resyncPeriod, indexers, nil)
} | NewRuntimeClassInformer constructs a new informer for RuntimeClass 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. | NewRuntimeClassInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/node/v1/runtimeclass.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1/runtimeclass.go | Apache-2.0 |
func NewFilteredRuntimeClassInformer(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.NodeV1().RuntimeClasses().List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NodeV1().RuntimeClasses().Watch(context.TODO(), options)
},
},
&nodev1.RuntimeClass{},
resyncPeriod,
indexers,
)
} | NewFilteredRuntimeClassInformer constructs a new informer for RuntimeClass 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. | NewFilteredRuntimeClassInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/node/v1/runtimeclass.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1/runtimeclass.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/node/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1/interface.go | Apache-2.0 |
func (v *version) RuntimeClasses() RuntimeClassInformer {
return &runtimeClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | RuntimeClasses returns a RuntimeClassInformer. | RuntimeClasses | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/node/v1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1/interface.go | Apache-2.0 |
func NewRuntimeClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredRuntimeClassInformer(client, resyncPeriod, indexers, nil)
} | NewRuntimeClassInformer constructs a new informer for RuntimeClass 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. | NewRuntimeClassInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/node/v1alpha1/runtimeclass.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1alpha1/runtimeclass.go | Apache-2.0 |
func NewFilteredRuntimeClassInformer(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.NodeV1alpha1().RuntimeClasses().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NodeV1alpha1().RuntimeClasses().Watch(context.TODO(), options)
},
},
&nodev1alpha1.RuntimeClass{},
resyncPeriod,
indexers,
)
} | NewFilteredRuntimeClassInformer constructs a new informer for RuntimeClass 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. | NewFilteredRuntimeClassInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/node/v1alpha1/runtimeclass.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1alpha1/runtimeclass.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/node/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/v1alpha1/interface.go | Apache-2.0 |
func (v *version) RuntimeClasses() RuntimeClassInformer {
return &runtimeClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
} | RuntimeClasses returns a RuntimeClassInformer. | RuntimeClasses | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/node/v1alpha1/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/node/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/core/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/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/core/interface.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/interface.go | Apache-2.0 |
func NewServiceInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredServiceInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewServiceInformer constructs a new informer for Service 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. | NewServiceInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/service.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/service.go | Apache-2.0 |
func NewFilteredServiceInformer(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.CoreV1().Services(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().Services(namespace).Watch(context.TODO(), options)
},
},
&corev1.Service{},
resyncPeriod,
indexers,
)
} | NewFilteredServiceInformer constructs a new informer for Service 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. | NewFilteredServiceInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/service.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/service.go | Apache-2.0 |
func NewEventInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredEventInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewEventInformer constructs a new informer for Event 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. | NewEventInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/event.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/event.go | Apache-2.0 |
func NewFilteredEventInformer(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.CoreV1().Events(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().Events(namespace).Watch(context.TODO(), options)
},
},
&corev1.Event{},
resyncPeriod,
indexers,
)
} | NewFilteredEventInformer constructs a new informer for Event 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. | NewFilteredEventInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/event.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/event.go | Apache-2.0 |
func NewResourceQuotaInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredResourceQuotaInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewResourceQuotaInformer constructs a new informer for ResourceQuota 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. | NewResourceQuotaInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/resourcequota.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/resourcequota.go | Apache-2.0 |
func NewFilteredResourceQuotaInformer(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.CoreV1().ResourceQuotas(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().ResourceQuotas(namespace).Watch(context.TODO(), options)
},
},
&corev1.ResourceQuota{},
resyncPeriod,
indexers,
)
} | NewFilteredResourceQuotaInformer constructs a new informer for ResourceQuota 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. | NewFilteredResourceQuotaInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/resourcequota.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/resourcequota.go | Apache-2.0 |
func NewConfigMapInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredConfigMapInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewConfigMapInformer constructs a new informer for ConfigMap 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. | NewConfigMapInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/configmap.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/configmap.go | Apache-2.0 |
func NewFilteredConfigMapInformer(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.CoreV1().ConfigMaps(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().ConfigMaps(namespace).Watch(context.TODO(), options)
},
},
&corev1.ConfigMap{},
resyncPeriod,
indexers,
)
} | NewFilteredConfigMapInformer constructs a new informer for ConfigMap 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. | NewFilteredConfigMapInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/configmap.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/configmap.go | Apache-2.0 |
func NewPodTemplateInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredPodTemplateInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewPodTemplateInformer constructs a new informer for PodTemplate 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. | NewPodTemplateInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/podtemplate.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/podtemplate.go | Apache-2.0 |
func NewFilteredPodTemplateInformer(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.CoreV1().PodTemplates(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().PodTemplates(namespace).Watch(context.TODO(), options)
},
},
&corev1.PodTemplate{},
resyncPeriod,
indexers,
)
} | NewFilteredPodTemplateInformer constructs a new informer for PodTemplate 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. | NewFilteredPodTemplateInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/podtemplate.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/podtemplate.go | Apache-2.0 |
func NewPersistentVolumeClaimInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredPersistentVolumeClaimInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewPersistentVolumeClaimInformer constructs a new informer for PersistentVolumeClaim 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. | NewPersistentVolumeClaimInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/persistentvolumeclaim.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/persistentvolumeclaim.go | Apache-2.0 |
func NewFilteredPersistentVolumeClaimInformer(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.CoreV1().PersistentVolumeClaims(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().PersistentVolumeClaims(namespace).Watch(context.TODO(), options)
},
},
&corev1.PersistentVolumeClaim{},
resyncPeriod,
indexers,
)
} | NewFilteredPersistentVolumeClaimInformer constructs a new informer for PersistentVolumeClaim 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. | NewFilteredPersistentVolumeClaimInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/persistentvolumeclaim.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/persistentvolumeclaim.go | Apache-2.0 |
func NewPersistentVolumeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredPersistentVolumeInformer(client, resyncPeriod, indexers, nil)
} | NewPersistentVolumeInformer constructs a new informer for PersistentVolume 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. | NewPersistentVolumeInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/persistentvolume.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/persistentvolume.go | Apache-2.0 |
func NewFilteredPersistentVolumeInformer(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.CoreV1().PersistentVolumes().List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().PersistentVolumes().Watch(context.TODO(), options)
},
},
&corev1.PersistentVolume{},
resyncPeriod,
indexers,
)
} | NewFilteredPersistentVolumeInformer constructs a new informer for PersistentVolume 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. | NewFilteredPersistentVolumeInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/persistentvolume.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/persistentvolume.go | Apache-2.0 |
func NewComponentStatusInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredComponentStatusInformer(client, resyncPeriod, indexers, nil)
} | NewComponentStatusInformer constructs a new informer for ComponentStatus 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. | NewComponentStatusInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/componentstatus.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/componentstatus.go | Apache-2.0 |
func NewFilteredComponentStatusInformer(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.CoreV1().ComponentStatuses().List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().ComponentStatuses().Watch(context.TODO(), options)
},
},
&corev1.ComponentStatus{},
resyncPeriod,
indexers,
)
} | NewFilteredComponentStatusInformer constructs a new informer for ComponentStatus 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. | NewFilteredComponentStatusInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/componentstatus.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/componentstatus.go | Apache-2.0 |
func NewLimitRangeInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredLimitRangeInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewLimitRangeInformer constructs a new informer for LimitRange 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. | NewLimitRangeInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/limitrange.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/limitrange.go | Apache-2.0 |
func NewFilteredLimitRangeInformer(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.CoreV1().LimitRanges(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().LimitRanges(namespace).Watch(context.TODO(), options)
},
},
&corev1.LimitRange{},
resyncPeriod,
indexers,
)
} | NewFilteredLimitRangeInformer constructs a new informer for LimitRange 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. | NewFilteredLimitRangeInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/limitrange.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/limitrange.go | Apache-2.0 |
func NewEndpointsInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredEndpointsInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewEndpointsInformer constructs a new informer for Endpoints 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. | NewEndpointsInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/endpoints.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/endpoints.go | Apache-2.0 |
func NewFilteredEndpointsInformer(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.CoreV1().Endpoints(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().Endpoints(namespace).Watch(context.TODO(), options)
},
},
&corev1.Endpoints{},
resyncPeriod,
indexers,
)
} | NewFilteredEndpointsInformer constructs a new informer for Endpoints 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. | NewFilteredEndpointsInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/endpoints.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/endpoints.go | Apache-2.0 |
func NewServiceAccountInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredServiceAccountInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewServiceAccountInformer constructs a new informer for ServiceAccount 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. | NewServiceAccountInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/serviceaccount.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/serviceaccount.go | Apache-2.0 |
func NewFilteredServiceAccountInformer(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.CoreV1().ServiceAccounts(namespace).List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().ServiceAccounts(namespace).Watch(context.TODO(), options)
},
},
&corev1.ServiceAccount{},
resyncPeriod,
indexers,
)
} | NewFilteredServiceAccountInformer constructs a new informer for ServiceAccount 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. | NewFilteredServiceAccountInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/serviceaccount.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/serviceaccount.go | Apache-2.0 |
func NewNodeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredNodeInformer(client, resyncPeriod, indexers, nil)
} | NewNodeInformer constructs a new informer for Node 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. | NewNodeInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/node.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/node.go | Apache-2.0 |
func NewFilteredNodeInformer(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.CoreV1().Nodes().List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.CoreV1().Nodes().Watch(context.TODO(), options)
},
},
&corev1.Node{},
resyncPeriod,
indexers,
)
} | NewFilteredNodeInformer constructs a new informer for Node 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. | NewFilteredNodeInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/node.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/node.go | Apache-2.0 |
func NewPodInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredPodInformer(client, namespace, resyncPeriod, indexers, nil)
} | NewPodInformer constructs a new informer for Pod 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. | NewPodInformer | go | k8snetworkplumbingwg/multus-cni | vendor/k8s.io/client-go/informers/core/v1/pod.go | https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/vendor/k8s.io/client-go/informers/core/v1/pod.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.