@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredRuleInformer(client versioned.Interface, resyncPeriod time.Durat
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.AuditingV1alpha1().Rules().List(options)
|
||||
return client.AuditingV1alpha1().Rules().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.AuditingV1alpha1().Rules().Watch(options)
|
||||
return client.AuditingV1alpha1().Rules().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&auditingv1alpha1.Rule{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredWebhookInformer(client versioned.Interface, resyncPeriod time.Du
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.AuditingV1alpha1().Webhooks().List(options)
|
||||
return client.AuditingV1alpha1().Webhooks().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.AuditingV1alpha1().Webhooks().Watch(options)
|
||||
return client.AuditingV1alpha1().Webhooks().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&auditingv1alpha1.Webhook{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredClusterInformer(client versioned.Interface, resyncPeriod time.Du
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.ClusterV1alpha1().Clusters().List(options)
|
||||
return client.ClusterV1alpha1().Clusters().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.ClusterV1alpha1().Clusters().Watch(options)
|
||||
return client.ClusterV1alpha1().Clusters().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&clusterv1alpha1.Cluster{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredS2iBinaryInformer(client versioned.Interface, namespace string,
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha1().S2iBinaries(namespace).List(options)
|
||||
return client.DevopsV1alpha1().S2iBinaries(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha1().S2iBinaries(namespace).Watch(options)
|
||||
return client.DevopsV1alpha1().S2iBinaries(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&devopsv1alpha1.S2iBinary{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredS2iBuilderInformer(client versioned.Interface, namespace string,
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha1().S2iBuilders(namespace).List(options)
|
||||
return client.DevopsV1alpha1().S2iBuilders(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha1().S2iBuilders(namespace).Watch(options)
|
||||
return client.DevopsV1alpha1().S2iBuilders(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&devopsv1alpha1.S2iBuilder{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredS2iBuilderTemplateInformer(client versioned.Interface, resyncPer
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha1().S2iBuilderTemplates().List(options)
|
||||
return client.DevopsV1alpha1().S2iBuilderTemplates().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha1().S2iBuilderTemplates().Watch(options)
|
||||
return client.DevopsV1alpha1().S2iBuilderTemplates().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&devopsv1alpha1.S2iBuilderTemplate{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredS2iRunInformer(client versioned.Interface, namespace string, res
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha1().S2iRuns(namespace).List(options)
|
||||
return client.DevopsV1alpha1().S2iRuns(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha1().S2iRuns(namespace).Watch(options)
|
||||
return client.DevopsV1alpha1().S2iRuns(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&devopsv1alpha1.S2iRun{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha3
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredDevOpsProjectInformer(client versioned.Interface, resyncPeriod t
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha3().DevOpsProjects().List(options)
|
||||
return client.DevopsV1alpha3().DevOpsProjects().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha3().DevOpsProjects().Watch(options)
|
||||
return client.DevopsV1alpha3().DevOpsProjects().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&devopsv1alpha3.DevOpsProject{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha3
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredPipelineInformer(client versioned.Interface, namespace string, r
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha3().Pipelines(namespace).List(options)
|
||||
return client.DevopsV1alpha3().Pipelines(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.DevopsV1alpha3().Pipelines(namespace).Watch(options)
|
||||
return client.DevopsV1alpha3().Pipelines(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&devopsv1alpha3.Pipeline{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredGlobalRoleInformer(client versioned.Interface, resyncPeriod time
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().GlobalRoles().List(options)
|
||||
return client.IamV1alpha2().GlobalRoles().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().GlobalRoles().Watch(options)
|
||||
return client.IamV1alpha2().GlobalRoles().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&iamv1alpha2.GlobalRole{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredGlobalRoleBindingInformer(client versioned.Interface, resyncPeri
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().GlobalRoleBindings().List(options)
|
||||
return client.IamV1alpha2().GlobalRoleBindings().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().GlobalRoleBindings().Watch(options)
|
||||
return client.IamV1alpha2().GlobalRoleBindings().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&iamv1alpha2.GlobalRoleBinding{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredGroupInformer(client versioned.Interface, resyncPeriod time.Dura
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().Groups().List(options)
|
||||
return client.IamV1alpha2().Groups().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().Groups().Watch(options)
|
||||
return client.IamV1alpha2().Groups().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&iamv1alpha2.Group{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredGroupBindingInformer(client versioned.Interface, resyncPeriod ti
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().GroupBindings().List(options)
|
||||
return client.IamV1alpha2().GroupBindings().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().GroupBindings().Watch(options)
|
||||
return client.IamV1alpha2().GroupBindings().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&iamv1alpha2.GroupBinding{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredLoginRecordInformer(client versioned.Interface, resyncPeriod tim
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().LoginRecords().List(options)
|
||||
return client.IamV1alpha2().LoginRecords().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().LoginRecords().Watch(options)
|
||||
return client.IamV1alpha2().LoginRecords().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&iamv1alpha2.LoginRecord{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredRoleBaseInformer(client versioned.Interface, resyncPeriod time.D
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().RoleBases().List(options)
|
||||
return client.IamV1alpha2().RoleBases().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().RoleBases().Watch(options)
|
||||
return client.IamV1alpha2().RoleBases().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&iamv1alpha2.RoleBase{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredUserInformer(client versioned.Interface, resyncPeriod time.Durat
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().Users().List(options)
|
||||
return client.IamV1alpha2().Users().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().Users().Watch(options)
|
||||
return client.IamV1alpha2().Users().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&iamv1alpha2.User{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredWorkspaceRoleInformer(client versioned.Interface, resyncPeriod t
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().WorkspaceRoles().List(options)
|
||||
return client.IamV1alpha2().WorkspaceRoles().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().WorkspaceRoles().Watch(options)
|
||||
return client.IamV1alpha2().WorkspaceRoles().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&iamv1alpha2.WorkspaceRole{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredWorkspaceRoleBindingInformer(client versioned.Interface, resyncP
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().WorkspaceRoleBindings().List(options)
|
||||
return client.IamV1alpha2().WorkspaceRoleBindings().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.IamV1alpha2().WorkspaceRoleBindings().Watch(options)
|
||||
return client.IamV1alpha2().WorkspaceRoleBindings().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&iamv1alpha2.WorkspaceRoleBinding{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredIPAMBlockInformer(client versioned.Interface, resyncPeriod time.
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.NetworkV1alpha1().IPAMBlocks().List(options)
|
||||
return client.NetworkV1alpha1().IPAMBlocks().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.NetworkV1alpha1().IPAMBlocks().Watch(options)
|
||||
return client.NetworkV1alpha1().IPAMBlocks().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&networkv1alpha1.IPAMBlock{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredIPAMHandleInformer(client versioned.Interface, resyncPeriod time
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.NetworkV1alpha1().IPAMHandles().List(options)
|
||||
return client.NetworkV1alpha1().IPAMHandles().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.NetworkV1alpha1().IPAMHandles().Watch(options)
|
||||
return client.NetworkV1alpha1().IPAMHandles().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&networkv1alpha1.IPAMHandle{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredIPPoolInformer(client versioned.Interface, resyncPeriod time.Dur
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.NetworkV1alpha1().IPPools().List(options)
|
||||
return client.NetworkV1alpha1().IPPools().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.NetworkV1alpha1().IPPools().Watch(options)
|
||||
return client.NetworkV1alpha1().IPPools().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&networkv1alpha1.IPPool{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredNamespaceNetworkPolicyInformer(client versioned.Interface, names
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.NetworkV1alpha1().NamespaceNetworkPolicies(namespace).List(options)
|
||||
return client.NetworkV1alpha1().NamespaceNetworkPolicies(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.NetworkV1alpha1().NamespaceNetworkPolicies(namespace).Watch(options)
|
||||
return client.NetworkV1alpha1().NamespaceNetworkPolicies(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&networkv1alpha1.NamespaceNetworkPolicy{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredServicePolicyInformer(client versioned.Interface, namespace stri
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.ServicemeshV1alpha2().ServicePolicies(namespace).List(options)
|
||||
return client.ServicemeshV1alpha2().ServicePolicies(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.ServicemeshV1alpha2().ServicePolicies(namespace).Watch(options)
|
||||
return client.ServicemeshV1alpha2().ServicePolicies(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&servicemeshv1alpha2.ServicePolicy{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredStrategyInformer(client versioned.Interface, namespace string, r
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.ServicemeshV1alpha2().Strategies(namespace).List(options)
|
||||
return client.ServicemeshV1alpha2().Strategies(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.ServicemeshV1alpha2().Strategies(namespace).Watch(options)
|
||||
return client.ServicemeshV1alpha2().Strategies(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&servicemeshv1alpha2.Strategy{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredProvisionerCapabilityInformer(client versioned.Interface, resync
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.StorageV1alpha1().ProvisionerCapabilities().List(options)
|
||||
return client.StorageV1alpha1().ProvisionerCapabilities().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.StorageV1alpha1().ProvisionerCapabilities().Watch(options)
|
||||
return client.StorageV1alpha1().ProvisionerCapabilities().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&storagev1alpha1.ProvisionerCapability{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredStorageClassCapabilityInformer(client versioned.Interface, resyn
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.StorageV1alpha1().StorageClassCapabilities().List(options)
|
||||
return client.StorageV1alpha1().StorageClassCapabilities().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.StorageV1alpha1().StorageClassCapabilities().Watch(options)
|
||||
return client.StorageV1alpha1().StorageClassCapabilities().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&storagev1alpha1.StorageClassCapability{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredWorkspaceInformer(client versioned.Interface, resyncPeriod time.
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TenantV1alpha1().Workspaces().List(options)
|
||||
return client.TenantV1alpha1().Workspaces().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TenantV1alpha1().Workspaces().Watch(options)
|
||||
return client.TenantV1alpha1().Workspaces().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&tenantv1alpha1.Workspace{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha2
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredWorkspaceTemplateInformer(client versioned.Interface, resyncPeri
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TenantV1alpha2().WorkspaceTemplates().List(options)
|
||||
return client.TenantV1alpha2().WorkspaceTemplates().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TenantV1alpha2().WorkspaceTemplates().Watch(options)
|
||||
return client.TenantV1alpha2().WorkspaceTemplates().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&tenantv1alpha2.WorkspaceTemplate{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedApplicationInformer(client versioned.Interface, namespa
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedApplications(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedApplications(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedApplications(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedApplications(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedApplication{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedClusterRoleInformer(client versioned.Interface, namespa
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedClusterRoles(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedClusterRoles(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedClusterRoles(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedClusterRoles(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedClusterRole{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedClusterRoleBindingInformer(client versioned.Interface,
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedClusterRoleBindings(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedClusterRoleBindings(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedClusterRoleBindings(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedClusterRoleBindings(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedClusterRoleBinding{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedConfigMapInformer(client versioned.Interface, namespace
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedConfigMaps(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedConfigMaps(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedConfigMaps(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedConfigMaps(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedConfigMap{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedDeploymentInformer(client versioned.Interface, namespac
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedDeployments(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedDeployments(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedDeployments(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedDeployments(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedDeployment{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredFederatedGroupInformer(client versioned.Interface, resyncPeriod
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedGroups().List(options)
|
||||
return client.TypesV1beta1().FederatedGroups().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedGroups().Watch(options)
|
||||
return client.TypesV1beta1().FederatedGroups().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedGroup{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredFederatedGroupBindingInformer(client versioned.Interface, resync
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedGroupBindings().List(options)
|
||||
return client.TypesV1beta1().FederatedGroupBindings().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedGroupBindings().Watch(options)
|
||||
return client.TypesV1beta1().FederatedGroupBindings().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedGroupBinding{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedIngressInformer(client versioned.Interface, namespace s
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedIngresses(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedIngresses(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedIngresses(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedIngresses(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedIngress{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedJobInformer(client versioned.Interface, namespace strin
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedJobs(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedJobs(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedJobs(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedJobs(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedJob{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedLimitRangeInformer(client versioned.Interface, namespac
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedLimitRanges(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedLimitRanges(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedLimitRanges(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedLimitRanges(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedLimitRange{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedNamespaceInformer(client versioned.Interface, namespace
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedNamespaces(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedNamespaces(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedNamespaces(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedNamespaces(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedNamespace{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedPersistentVolumeClaimInformer(client versioned.Interfac
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedPersistentVolumeClaims(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedPersistentVolumeClaims(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedPersistentVolumeClaims(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedPersistentVolumeClaims(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedPersistentVolumeClaim{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedResourceQuotaInformer(client versioned.Interface, names
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedResourceQuotas(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedResourceQuotas(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedResourceQuotas(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedResourceQuotas(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedResourceQuota{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedSecretInformer(client versioned.Interface, namespace st
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedSecrets(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedSecrets(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedSecrets(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedSecrets(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedSecret{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedServiceInformer(client versioned.Interface, namespace s
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedServices(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedServices(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedServices(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedServices(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedService{},
|
||||
|
||||
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -61,13 +62,13 @@ func NewFilteredFederatedStatefulSetInformer(client versioned.Interface, namespa
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedStatefulSets(namespace).List(options)
|
||||
return client.TypesV1beta1().FederatedStatefulSets(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.TypesV1beta1().FederatedStatefulSets(namespace).Watch(options)
|
||||
return client.TypesV1beta1().FederatedStatefulSets(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&typesv1beta1.FederatedStatefulSet{},
|
||||
|
||||
Reference in New Issue
Block a user