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