Documentation ¶
Overview ¶
Copyright 2018 Google LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Package fake has the automatically generated clients.
Copyright 2018 Google LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 Google LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type FakeConfigV1alpha2
- type FakeRouteRules
- func (c *FakeRouteRules) Create(routeRule *v1alpha2.RouteRule) (result *v1alpha2.RouteRule, err error)
- func (c *FakeRouteRules) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRouteRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRouteRules) Get(name string, options v1.GetOptions) (result *v1alpha2.RouteRule, err error)
- func (c *FakeRouteRules) List(opts v1.ListOptions) (result *v1alpha2.RouteRuleList, err error)
- func (c *FakeRouteRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.RouteRule, err error)
- func (c *FakeRouteRules) Update(routeRule *v1alpha2.RouteRule) (result *v1alpha2.RouteRule, err error)
- func (c *FakeRouteRules) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConfigV1alpha2 ¶
func (*FakeConfigV1alpha2) RESTClient ¶
func (c *FakeConfigV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeConfigV1alpha2) RouteRules ¶
func (c *FakeConfigV1alpha2) RouteRules(namespace string) v1alpha2.RouteRuleInterface
type FakeRouteRules ¶
type FakeRouteRules struct { Fake *FakeConfigV1alpha2 // contains filtered or unexported fields }
FakeRouteRules implements RouteRuleInterface
func (*FakeRouteRules) Create ¶
func (c *FakeRouteRules) Create(routeRule *v1alpha2.RouteRule) (result *v1alpha2.RouteRule, err error)
Create takes the representation of a routeRule and creates it. Returns the server's representation of the routeRule, and an error, if there is any.
func (*FakeRouteRules) Delete ¶
func (c *FakeRouteRules) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the routeRule and deletes it. Returns an error if one occurs.
func (*FakeRouteRules) DeleteCollection ¶
func (c *FakeRouteRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRouteRules) Get ¶
func (c *FakeRouteRules) Get(name string, options v1.GetOptions) (result *v1alpha2.RouteRule, err error)
Get takes name of the routeRule, and returns the corresponding routeRule object, and an error if there is any.
func (*FakeRouteRules) List ¶
func (c *FakeRouteRules) List(opts v1.ListOptions) (result *v1alpha2.RouteRuleList, err error)
List takes label and field selectors, and returns the list of RouteRules that match those selectors.
func (*FakeRouteRules) Patch ¶
func (c *FakeRouteRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.RouteRule, err error)
Patch applies the patch and returns the patched routeRule.
func (*FakeRouteRules) Update ¶
func (c *FakeRouteRules) Update(routeRule *v1alpha2.RouteRule) (result *v1alpha2.RouteRule, err error)
Update takes the representation of a routeRule and updates it. Returns the server's representation of the routeRule, and an error, if there is any.
func (*FakeRouteRules) Watch ¶
func (c *FakeRouteRules) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested routeRules.