| ... | ... |
@@ -29,18 +29,18 @@ func newOAuthAccessTokens(c *Client) *oauthAccessTokenInterface {
|
| 29 | 29 |
// Get returns information about a particular image and error if one occurs. |
| 30 | 30 |
func (c *oauthAccessTokenInterface) Get(name string) (result *oauthapi.OAuthAccessToken, err error) {
|
| 31 | 31 |
result = &oauthapi.OAuthAccessToken{}
|
| 32 |
- err = c.r.Get().Resource("oAuthAccessTokens").Name(name).Do().Into(result)
|
|
| 32 |
+ err = c.r.Get().Resource("oauthaccesstokens").Name(name).Do().Into(result)
|
|
| 33 | 33 |
return |
| 34 | 34 |
} |
| 35 | 35 |
|
| 36 | 36 |
// Delete removes the OAuthAccessToken on server |
| 37 | 37 |
func (c *oauthAccessTokenInterface) Delete(name string) (err error) {
|
| 38 |
- err = c.r.Delete().Resource("oAuthAccessTokens").Name(name).Do().Error()
|
|
| 38 |
+ err = c.r.Delete().Resource("oauthaccesstokens").Name(name).Do().Error()
|
|
| 39 | 39 |
return |
| 40 | 40 |
} |
| 41 | 41 |
|
| 42 | 42 |
func (c *oauthAccessTokenInterface) Create(token *oauthapi.OAuthAccessToken) (result *oauthapi.OAuthAccessToken, err error) {
|
| 43 | 43 |
result = &oauthapi.OAuthAccessToken{}
|
| 44 |
- err = c.r.Post().Resource("oAuthAccessTokens").Body(token).Do().Into(result)
|
|
| 44 |
+ err = c.r.Post().Resource("oauthaccesstokens").Body(token).Do().Into(result)
|
|
| 45 | 45 |
return |
| 46 | 46 |
} |
| ... | ... |
@@ -24,12 +24,12 @@ func newOAuthAuthorizeTokens(c *Client) *oauthAuthorizeTokenInterface {
|
| 24 | 24 |
} |
| 25 | 25 |
|
| 26 | 26 |
func (c *oauthAuthorizeTokenInterface) Delete(name string) (err error) {
|
| 27 |
- err = c.r.Delete().Resource("oAuthAuthorizeTokens").Name(name).Do().Error()
|
|
| 27 |
+ err = c.r.Delete().Resource("oauthauthorizetokens").Name(name).Do().Error()
|
|
| 28 | 28 |
return |
| 29 | 29 |
} |
| 30 | 30 |
|
| 31 | 31 |
func (c *oauthAuthorizeTokenInterface) Create(token *oauthapi.OAuthAuthorizeToken) (result *oauthapi.OAuthAuthorizeToken, err error) {
|
| 32 | 32 |
result = &oauthapi.OAuthAuthorizeToken{}
|
| 33 |
- err = c.r.Post().Resource("oAuthAuthorizeTokens").Body(token).Do().Into(result)
|
|
| 33 |
+ err = c.r.Post().Resource("oauthauthorizetokens").Body(token).Do().Into(result)
|
|
| 34 | 34 |
return |
| 35 | 35 |
} |
| ... | ... |
@@ -32,33 +32,33 @@ func newOAuthClients(c *Client) *oauthClients {
|
| 32 | 32 |
|
| 33 | 33 |
func (c *oauthClients) Create(obj *oauthapi.OAuthClient) (result *oauthapi.OAuthClient, err error) {
|
| 34 | 34 |
result = &oauthapi.OAuthClient{}
|
| 35 |
- err = c.r.Post().Resource("oAuthClients").Body(obj).Do().Into(result)
|
|
| 35 |
+ err = c.r.Post().Resource("oauthclients").Body(obj).Do().Into(result)
|
|
| 36 | 36 |
return |
| 37 | 37 |
} |
| 38 | 38 |
|
| 39 | 39 |
func (c *oauthClients) List(opts kapi.ListOptions) (result *oauthapi.OAuthClientList, err error) {
|
| 40 | 40 |
result = &oauthapi.OAuthClientList{}
|
| 41 |
- err = c.r.Get().Resource("oAuthClients").VersionedParams(&opts, kapi.ParameterCodec).Do().Into(result)
|
|
| 41 |
+ err = c.r.Get().Resource("oauthclients").VersionedParams(&opts, kapi.ParameterCodec).Do().Into(result)
|
|
| 42 | 42 |
return |
| 43 | 43 |
} |
| 44 | 44 |
|
| 45 | 45 |
func (c *oauthClients) Get(name string) (result *oauthapi.OAuthClient, err error) {
|
| 46 | 46 |
result = &oauthapi.OAuthClient{}
|
| 47 |
- err = c.r.Get().Resource("oAuthClients").Name(name).Do().Into(result)
|
|
| 47 |
+ err = c.r.Get().Resource("oauthclients").Name(name).Do().Into(result)
|
|
| 48 | 48 |
return |
| 49 | 49 |
} |
| 50 | 50 |
|
| 51 | 51 |
func (c *oauthClients) Delete(name string) (err error) {
|
| 52 |
- err = c.r.Delete().Resource("oAuthClients").Name(name).Do().Error()
|
|
| 52 |
+ err = c.r.Delete().Resource("oauthclients").Name(name).Do().Error()
|
|
| 53 | 53 |
return |
| 54 | 54 |
} |
| 55 | 55 |
|
| 56 | 56 |
func (c *oauthClients) Watch(opts kapi.ListOptions) (watch.Interface, error) {
|
| 57 |
- return c.r.Get().Prefix("watch").Resource("oAuthClients").VersionedParams(&opts, kapi.ParameterCodec).Watch()
|
|
| 57 |
+ return c.r.Get().Prefix("watch").Resource("oauthclients").VersionedParams(&opts, kapi.ParameterCodec).Watch()
|
|
| 58 | 58 |
} |
| 59 | 59 |
|
| 60 | 60 |
func (c *oauthClients) Update(client *oauthapi.OAuthClient) (result *oauthapi.OAuthClient, err error) {
|
| 61 | 61 |
result = &oauthapi.OAuthClient{}
|
| 62 |
- err = c.r.Put().Resource("oAuthClients").Name(client.Name).Body(client).Do().Into(result)
|
|
| 62 |
+ err = c.r.Put().Resource("oauthclients").Name(client.Name).Body(client).Do().Into(result)
|
|
| 63 | 63 |
return |
| 64 | 64 |
} |
| ... | ... |
@@ -32,33 +32,33 @@ func newOAuthClientAuthorizations(c *Client) *oauthClientAuthorizations {
|
| 32 | 32 |
|
| 33 | 33 |
func (c *oauthClientAuthorizations) Create(obj *oauthapi.OAuthClientAuthorization) (result *oauthapi.OAuthClientAuthorization, err error) {
|
| 34 | 34 |
result = &oauthapi.OAuthClientAuthorization{}
|
| 35 |
- err = c.r.Post().Resource("oAuthClientAuthorizations").Body(obj).Do().Into(result)
|
|
| 35 |
+ err = c.r.Post().Resource("oauthclientauthorizations").Body(obj).Do().Into(result)
|
|
| 36 | 36 |
return |
| 37 | 37 |
} |
| 38 | 38 |
|
| 39 | 39 |
func (c *oauthClientAuthorizations) Update(obj *oauthapi.OAuthClientAuthorization) (result *oauthapi.OAuthClientAuthorization, err error) {
|
| 40 | 40 |
result = &oauthapi.OAuthClientAuthorization{}
|
| 41 |
- err = c.r.Put().Resource("oAuthClientAuthorizations").Name(obj.Name).Body(obj).Do().Into(result)
|
|
| 41 |
+ err = c.r.Put().Resource("oauthclientauthorizations").Name(obj.Name).Body(obj).Do().Into(result)
|
|
| 42 | 42 |
return |
| 43 | 43 |
} |
| 44 | 44 |
|
| 45 | 45 |
func (c *oauthClientAuthorizations) List(opts kapi.ListOptions) (result *oauthapi.OAuthClientAuthorizationList, err error) {
|
| 46 | 46 |
result = &oauthapi.OAuthClientAuthorizationList{}
|
| 47 |
- err = c.r.Get().Resource("oAuthClientAuthorizations").VersionedParams(&opts, kapi.ParameterCodec).Do().Into(result)
|
|
| 47 |
+ err = c.r.Get().Resource("oauthclientauthorizations").VersionedParams(&opts, kapi.ParameterCodec).Do().Into(result)
|
|
| 48 | 48 |
return |
| 49 | 49 |
} |
| 50 | 50 |
|
| 51 | 51 |
func (c *oauthClientAuthorizations) Get(name string) (result *oauthapi.OAuthClientAuthorization, err error) {
|
| 52 | 52 |
result = &oauthapi.OAuthClientAuthorization{}
|
| 53 |
- err = c.r.Get().Resource("oAuthClientAuthorizations").Name(name).Do().Into(result)
|
|
| 53 |
+ err = c.r.Get().Resource("oauthclientauthorizations").Name(name).Do().Into(result)
|
|
| 54 | 54 |
return |
| 55 | 55 |
} |
| 56 | 56 |
|
| 57 | 57 |
func (c *oauthClientAuthorizations) Delete(name string) (err error) {
|
| 58 |
- err = c.r.Delete().Resource("oAuthClientAuthorizations").Name(name).Do().Error()
|
|
| 58 |
+ err = c.r.Delete().Resource("oauthclientauthorizations").Name(name).Do().Error()
|
|
| 59 | 59 |
return |
| 60 | 60 |
} |
| 61 | 61 |
|
| 62 | 62 |
func (c *oauthClientAuthorizations) Watch(opts kapi.ListOptions) (watch.Interface, error) {
|
| 63 |
- return c.r.Get().Prefix("watch").Resource("oAuthClientAuthorizations").VersionedParams(&opts, kapi.ParameterCodec).Watch()
|
|
| 63 |
+ return c.r.Get().Prefix("watch").Resource("oauthclientauthorizations").VersionedParams(&opts, kapi.ParameterCodec).Watch()
|
|
| 64 | 64 |
} |
| ... | ... |
@@ -13,7 +13,7 @@ type FakeOAuthClientAuthorization struct {
|
| 13 | 13 |
} |
| 14 | 14 |
|
| 15 | 15 |
func (c *FakeOAuthClientAuthorization) Get(name string) (*oauthapi.OAuthClientAuthorization, error) {
|
| 16 |
- obj, err := c.Fake.Invokes(ktestclient.NewRootGetAction("oauthClientAuthorizations", name), &oauthapi.OAuthClientAuthorization{})
|
|
| 16 |
+ obj, err := c.Fake.Invokes(ktestclient.NewRootGetAction("oauthclientauthorizations", name), &oauthapi.OAuthClientAuthorization{})
|
|
| 17 | 17 |
if obj == nil {
|
| 18 | 18 |
return nil, err |
| 19 | 19 |
} |
| ... | ... |
@@ -22,7 +22,7 @@ func (c *FakeOAuthClientAuthorization) Get(name string) (*oauthapi.OAuthClientAu |
| 22 | 22 |
} |
| 23 | 23 |
|
| 24 | 24 |
func (c *FakeOAuthClientAuthorization) List(opts kapi.ListOptions) (*oauthapi.OAuthClientAuthorizationList, error) {
|
| 25 |
- obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("oauthClientAuthorizations", opts), &oauthapi.OAuthClientAuthorizationList{})
|
|
| 25 |
+ obj, err := c.Fake.Invokes(ktestclient.NewRootListAction("oauthclientauthorizations", opts), &oauthapi.OAuthClientAuthorizationList{})
|
|
| 26 | 26 |
if obj == nil {
|
| 27 | 27 |
return nil, err |
| 28 | 28 |
} |
| ... | ... |
@@ -31,7 +31,7 @@ func (c *FakeOAuthClientAuthorization) List(opts kapi.ListOptions) (*oauthapi.OA |
| 31 | 31 |
} |
| 32 | 32 |
|
| 33 | 33 |
func (c *FakeOAuthClientAuthorization) Create(inObj *oauthapi.OAuthClientAuthorization) (*oauthapi.OAuthClientAuthorization, error) {
|
| 34 |
- obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("oauthClientAuthorizations", inObj), inObj)
|
|
| 34 |
+ obj, err := c.Fake.Invokes(ktestclient.NewRootCreateAction("oauthclientauthorizations", inObj), inObj)
|
|
| 35 | 35 |
if obj == nil {
|
| 36 | 36 |
return nil, err |
| 37 | 37 |
} |
| ... | ... |
@@ -40,7 +40,7 @@ func (c *FakeOAuthClientAuthorization) Create(inObj *oauthapi.OAuthClientAuthori |
| 40 | 40 |
} |
| 41 | 41 |
|
| 42 | 42 |
func (c *FakeOAuthClientAuthorization) Update(inObj *oauthapi.OAuthClientAuthorization) (*oauthapi.OAuthClientAuthorization, error) {
|
| 43 |
- obj, err := c.Fake.Invokes(ktestclient.NewRootUpdateAction("oauthClientAuthorizations", inObj), inObj)
|
|
| 43 |
+ obj, err := c.Fake.Invokes(ktestclient.NewRootUpdateAction("oauthclientauthorizations", inObj), inObj)
|
|
| 44 | 44 |
if obj == nil {
|
| 45 | 45 |
return nil, err |
| 46 | 46 |
} |
| ... | ... |
@@ -49,10 +49,10 @@ func (c *FakeOAuthClientAuthorization) Update(inObj *oauthapi.OAuthClientAuthori |
| 49 | 49 |
} |
| 50 | 50 |
|
| 51 | 51 |
func (c *FakeOAuthClientAuthorization) Delete(name string) error {
|
| 52 |
- _, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("oauthClientAuthorizations", name), &oauthapi.OAuthClientAuthorization{})
|
|
| 52 |
+ _, err := c.Fake.Invokes(ktestclient.NewRootDeleteAction("oauthclientauthorizations", name), &oauthapi.OAuthClientAuthorization{})
|
|
| 53 | 53 |
return err |
| 54 | 54 |
} |
| 55 | 55 |
|
| 56 | 56 |
func (c *FakeOAuthClientAuthorization) Watch(opts kapi.ListOptions) (watch.Interface, error) {
|
| 57 |
- return c.Fake.InvokesWatch(ktestclient.NewRootWatchAction("oauthClientAuthorizations", opts))
|
|
| 57 |
+ return c.Fake.InvokesWatch(ktestclient.NewRootWatchAction("oauthclientauthorizations", opts))
|
|
| 58 | 58 |
} |