update dependencies

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-12-22 16:48:26 +08:00
parent 4a11a50544
commit fe6c5de00f
2857 changed files with 252134 additions and 115656 deletions

View File

@@ -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{},

View File

@@ -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{},

View File

@@ -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{},

View File

@@ -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{},

View File

@@ -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{},

View File

@@ -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{},

View File

@@ -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{},

View File

@@ -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{},

View File

@@ -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{},