update vendor

Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
Roland.Ma
2021-08-11 07:10:14 +00:00
parent a18f72b565
commit ea8f47c73a
2901 changed files with 269317 additions and 43103 deletions

View File

@@ -46,7 +46,7 @@ limitations under the License.
// }
//
// func main() {
// mgr := controllers.NewManager(controllers.GetConfigOrDie(), manager.Options{
// mgr := controllers.NewManager(context.Background(), controllers.GetConfigOrDie(), manager.Options{
// Scheme: scheme,
// })
// // ...
@@ -66,7 +66,7 @@ type Builder struct {
runtime.SchemeBuilder
}
// Register adds one or objects to the SchemeBuilder so they can be added to a Scheme. Register mutates bld.
// Register adds one or more objects to the SchemeBuilder so they can be added to a Scheme. Register mutates bld.
func (bld *Builder) Register(object ...runtime.Object) *Builder {
bld.SchemeBuilder.Register(func(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(bld.GroupVersion, object...)