1
0
mirror of https://github.com/rancher/types.git synced 2025-07-31 04:49:37 +00:00

Update generated code

This commit is contained in:
Darren Shepherd 2018-04-02 15:56:39 -07:00
parent d27b2a4708
commit e98aadcf96
10 changed files with 20 additions and 10 deletions

View File

@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@ -37,7 +38,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}

View File

@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@ -31,7 +32,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}

View File

@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@ -31,7 +32,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}

View File

@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@ -51,7 +52,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}

View File

@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@ -33,7 +34,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}

View File

@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@ -113,7 +114,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}

View File

@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@ -31,7 +32,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}

View File

@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@ -31,7 +32,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}

View File

@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@ -55,7 +56,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}

View File

@ -6,6 +6,7 @@ import (
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller"
"github.com/rancher/norman/restwatch"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
)
@ -37,7 +38,7 @@ func NewForConfig(config rest.Config) (Interface, error) {
config.NegotiatedSerializer = configConfig.NegotiatedSerializer
}
restClient, err := rest.UnversionedRESTClientFor(&config)
restClient, err := restwatch.UnversionedRESTClientFor(&config)
if err != nil {
return nil, err
}