Documentation ¶
Overview ¶
Copyright 2017 The Kubernetes sample-controller Authors.
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 2017 The Kubernetes sample-controller Authors.
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 2017 The Kubernetes sample-controller Authors.
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 FakeHTTPChecks
- func (c *FakeHTTPChecks) Create(hTTPCheck *v1alpha1.HTTPCheck) (result *v1alpha1.HTTPCheck, err error)
- func (c *FakeHTTPChecks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeHTTPChecks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeHTTPChecks) Get(name string, options v1.GetOptions) (result *v1alpha1.HTTPCheck, err error)
- func (c *FakeHTTPChecks) List(opts v1.ListOptions) (result *v1alpha1.HTTPCheckList, err error)
- func (c *FakeHTTPChecks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.HTTPCheck, err error)
- func (c *FakeHTTPChecks) Update(hTTPCheck *v1alpha1.HTTPCheck) (result *v1alpha1.HTTPCheck, err error)
- func (c *FakeHTTPChecks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePingdomV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHTTPChecks ¶
type FakeHTTPChecks struct { Fake *FakePingdomV1alpha1 // contains filtered or unexported fields }
FakeHTTPChecks implements HTTPCheckInterface
func (*FakeHTTPChecks) Create ¶
func (c *FakeHTTPChecks) Create(hTTPCheck *v1alpha1.HTTPCheck) (result *v1alpha1.HTTPCheck, err error)
Create takes the representation of a hTTPCheck and creates it. Returns the server's representation of the hTTPCheck, and an error, if there is any.
func (*FakeHTTPChecks) Delete ¶
func (c *FakeHTTPChecks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the hTTPCheck and deletes it. Returns an error if one occurs.
func (*FakeHTTPChecks) DeleteCollection ¶
func (c *FakeHTTPChecks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHTTPChecks) Get ¶
func (c *FakeHTTPChecks) Get(name string, options v1.GetOptions) (result *v1alpha1.HTTPCheck, err error)
Get takes name of the hTTPCheck, and returns the corresponding hTTPCheck object, and an error if there is any.
func (*FakeHTTPChecks) List ¶
func (c *FakeHTTPChecks) List(opts v1.ListOptions) (result *v1alpha1.HTTPCheckList, err error)
List takes label and field selectors, and returns the list of HTTPChecks that match those selectors.
func (*FakeHTTPChecks) Patch ¶
func (c *FakeHTTPChecks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.HTTPCheck, err error)
Patch applies the patch and returns the patched hTTPCheck.
func (*FakeHTTPChecks) Update ¶
func (c *FakeHTTPChecks) Update(hTTPCheck *v1alpha1.HTTPCheck) (result *v1alpha1.HTTPCheck, err error)
Update takes the representation of a hTTPCheck and updates it. Returns the server's representation of the hTTPCheck, and an error, if there is any.
func (*FakeHTTPChecks) Watch ¶
func (c *FakeHTTPChecks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hTTPChecks.
type FakePingdomV1alpha1 ¶
func (*FakePingdomV1alpha1) HTTPChecks ¶
func (c *FakePingdomV1alpha1) HTTPChecks(namespace string) v1alpha1.HTTPCheckInterface
func (*FakePingdomV1alpha1) RESTClient ¶
func (c *FakePingdomV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.