mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-04 10:46:16 +00:00
generated files: remove tpr
Kubernetes-commit: 6a87d99a38da2739249b713adc45b4a99e0187a0
This commit is contained in:
parent
60cef58577
commit
b38bbd711b
@ -34,8 +34,6 @@ type Interface interface {
|
|||||||
PodSecurityPolicies() PodSecurityPolicyInformer
|
PodSecurityPolicies() PodSecurityPolicyInformer
|
||||||
// ReplicaSets returns a ReplicaSetInformer.
|
// ReplicaSets returns a ReplicaSetInformer.
|
||||||
ReplicaSets() ReplicaSetInformer
|
ReplicaSets() ReplicaSetInformer
|
||||||
// ThirdPartyResources returns a ThirdPartyResourceInformer.
|
|
||||||
ThirdPartyResources() ThirdPartyResourceInformer
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type version struct {
|
type version struct {
|
||||||
@ -71,8 +69,3 @@ func (v *version) PodSecurityPolicies() PodSecurityPolicyInformer {
|
|||||||
func (v *version) ReplicaSets() ReplicaSetInformer {
|
func (v *version) ReplicaSets() ReplicaSetInformer {
|
||||||
return &replicaSetInformer{factory: v.SharedInformerFactory}
|
return &replicaSetInformer{factory: v.SharedInformerFactory}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ThirdPartyResources returns a ThirdPartyResourceInformer.
|
|
||||||
func (v *version) ThirdPartyResources() ThirdPartyResourceInformer {
|
|
||||||
return &thirdPartyResourceInformer{factory: v.SharedInformerFactory}
|
|
||||||
}
|
|
||||||
|
@ -170,8 +170,6 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource
|
|||||||
return &genericInformer{resource: resource.GroupResource(), informer: f.Extensions().V1beta1().PodSecurityPolicies().Informer()}, nil
|
return &genericInformer{resource: resource.GroupResource(), informer: f.Extensions().V1beta1().PodSecurityPolicies().Informer()}, nil
|
||||||
case extensions_v1beta1.SchemeGroupVersion.WithResource("replicasets"):
|
case extensions_v1beta1.SchemeGroupVersion.WithResource("replicasets"):
|
||||||
return &genericInformer{resource: resource.GroupResource(), informer: f.Extensions().V1beta1().ReplicaSets().Informer()}, nil
|
return &genericInformer{resource: resource.GroupResource(), informer: f.Extensions().V1beta1().ReplicaSets().Informer()}, nil
|
||||||
case extensions_v1beta1.SchemeGroupVersion.WithResource("thirdpartyresources"):
|
|
||||||
return &genericInformer{resource: resource.GroupResource(), informer: f.Extensions().V1beta1().ThirdPartyResources().Informer()}, nil
|
|
||||||
|
|
||||||
// Group=Networking, Version=V1
|
// Group=Networking, Version=V1
|
||||||
case networking_v1.SchemeGroupVersion.WithResource("networkpolicies"):
|
case networking_v1.SchemeGroupVersion.WithResource("networkpolicies"):
|
||||||
|
@ -31,7 +31,6 @@ type ExtensionsV1beta1Interface interface {
|
|||||||
PodSecurityPoliciesGetter
|
PodSecurityPoliciesGetter
|
||||||
ReplicaSetsGetter
|
ReplicaSetsGetter
|
||||||
ScalesGetter
|
ScalesGetter
|
||||||
ThirdPartyResourcesGetter
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ExtensionsV1beta1Client is used to interact with features provided by the extensions group.
|
// ExtensionsV1beta1Client is used to interact with features provided by the extensions group.
|
||||||
@ -63,10 +62,6 @@ func (c *ExtensionsV1beta1Client) Scales(namespace string) ScaleInterface {
|
|||||||
return newScales(c, namespace)
|
return newScales(c, namespace)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *ExtensionsV1beta1Client) ThirdPartyResources() ThirdPartyResourceInterface {
|
|
||||||
return newThirdPartyResources(c)
|
|
||||||
}
|
|
||||||
|
|
||||||
// NewForConfig creates a new ExtensionsV1beta1Client for the given config.
|
// NewForConfig creates a new ExtensionsV1beta1Client for the given config.
|
||||||
func NewForConfig(c *rest.Config) (*ExtensionsV1beta1Client, error) {
|
func NewForConfig(c *rest.Config) (*ExtensionsV1beta1Client, error) {
|
||||||
config := *c
|
config := *c
|
||||||
|
@ -50,10 +50,6 @@ func (c *FakeExtensionsV1beta1) Scales(namespace string) v1beta1.ScaleInterface
|
|||||||
return &FakeScales{c, namespace}
|
return &FakeScales{c, namespace}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *FakeExtensionsV1beta1) ThirdPartyResources() v1beta1.ThirdPartyResourceInterface {
|
|
||||||
return &FakeThirdPartyResources{c}
|
|
||||||
}
|
|
||||||
|
|
||||||
// RESTClient returns a RESTClient that is used to communicate
|
// RESTClient returns a RESTClient that is used to communicate
|
||||||
// with API server by this client implementation.
|
// with API server by this client implementation.
|
||||||
func (c *FakeExtensionsV1beta1) RESTClient() rest.Interface {
|
func (c *FakeExtensionsV1beta1) RESTClient() rest.Interface {
|
||||||
|
@ -23,5 +23,3 @@ type IngressExpansion interface{}
|
|||||||
type PodSecurityPolicyExpansion interface{}
|
type PodSecurityPolicyExpansion interface{}
|
||||||
|
|
||||||
type ReplicaSetExpansion interface{}
|
type ReplicaSetExpansion interface{}
|
||||||
|
|
||||||
type ThirdPartyResourceExpansion interface{}
|
|
||||||
|
@ -37,7 +37,3 @@ type ScaleListerExpansion interface{}
|
|||||||
// ScaleNamespaceListerExpansion allows custom methods to be added to
|
// ScaleNamespaceListerExpansion allows custom methods to be added to
|
||||||
// ScaleNamespaceLister.
|
// ScaleNamespaceLister.
|
||||||
type ScaleNamespaceListerExpansion interface{}
|
type ScaleNamespaceListerExpansion interface{}
|
||||||
|
|
||||||
// ThirdPartyResourceListerExpansion allows custom methods to be added to
|
|
||||||
// ThirdPartyResourceLister.
|
|
||||||
type ThirdPartyResourceListerExpansion interface{}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user