@@ -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{},
|
||||
|
||||
Reference in New Issue
Block a user