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.
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.
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.
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 FakeFunctions
- func (c *FakeFunctions) Create(function *v1beta1.Function) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFunctions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFunctions) Get(name string, options v1.GetOptions) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) List(opts v1.ListOptions) (result *v1beta1.FunctionList, err error)
- func (c *FakeFunctions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) Update(function *v1beta1.Function) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeHTTPTriggers
- func (c *FakeHTTPTriggers) Create(hTTPTrigger *v1beta1.HTTPTrigger) (result *v1beta1.HTTPTrigger, err error)
- func (c *FakeHTTPTriggers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeHTTPTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeHTTPTriggers) Get(name string, options v1.GetOptions) (result *v1beta1.HTTPTrigger, err error)
- func (c *FakeHTTPTriggers) List(opts v1.ListOptions) (result *v1beta1.HTTPTriggerList, err error)
- func (c *FakeHTTPTriggers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.HTTPTrigger, err error)
- func (c *FakeHTTPTriggers) Update(hTTPTrigger *v1beta1.HTTPTrigger) (result *v1beta1.HTTPTrigger, err error)
- func (c *FakeHTTPTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKafkaTriggers
- func (c *FakeKafkaTriggers) Create(kafkaTrigger *v1beta1.KafkaTrigger) (result *v1beta1.KafkaTrigger, err error)
- func (c *FakeKafkaTriggers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeKafkaTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeKafkaTriggers) Get(name string, options v1.GetOptions) (result *v1beta1.KafkaTrigger, err error)
- func (c *FakeKafkaTriggers) List(opts v1.ListOptions) (result *v1beta1.KafkaTriggerList, err error)
- func (c *FakeKafkaTriggers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.KafkaTrigger, err error)
- func (c *FakeKafkaTriggers) Update(kafkaTrigger *v1beta1.KafkaTrigger) (result *v1beta1.KafkaTrigger, err error)
- func (c *FakeKafkaTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKinesisTriggers
- func (c *FakeKinesisTriggers) Create(kinesisTrigger *v1beta1.KinesisTrigger) (result *v1beta1.KinesisTrigger, err error)
- func (c *FakeKinesisTriggers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeKinesisTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeKinesisTriggers) Get(name string, options v1.GetOptions) (result *v1beta1.KinesisTrigger, err error)
- func (c *FakeKinesisTriggers) List(opts v1.ListOptions) (result *v1beta1.KinesisTriggerList, err error)
- func (c *FakeKinesisTriggers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.KinesisTrigger, err error)
- func (c *FakeKinesisTriggers) Update(kinesisTrigger *v1beta1.KinesisTrigger) (result *v1beta1.KinesisTrigger, err error)
- func (c *FakeKinesisTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKubelessV1beta1
- func (c *FakeKubelessV1beta1) CronJobTriggers(namespace string) v1beta1.CronJobTriggerInterface
- func (c *FakeKubelessV1beta1) Functions(namespace string) v1beta1.FunctionInterface
- func (c *FakeKubelessV1beta1) HTTPTriggers(namespace string) v1beta1.HTTPTriggerInterface
- func (c *FakeKubelessV1beta1) KafkaTriggers(namespace string) v1beta1.KafkaTriggerInterface
- func (c *FakeKubelessV1beta1) KinesisTriggers(namespace string) v1beta1.KinesisTriggerInterface
- func (c *FakeKubelessV1beta1) NATSTriggers(namespace string) v1beta1.NATSTriggerInterface
- func (c *FakeKubelessV1beta1) RESTClient() rest.Interface
- type FakeNATSTriggers
- func (c *FakeNATSTriggers) Create(nATSTrigger *v1beta1.NATSTrigger) (result *v1beta1.NATSTrigger, err error)
- func (c *FakeNATSTriggers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNATSTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNATSTriggers) Get(name string, options v1.GetOptions) (result *v1beta1.NATSTrigger, err error)
- func (c *FakeNATSTriggers) List(opts v1.ListOptions) (result *v1beta1.NATSTriggerList, err error)
- func (c *FakeNATSTriggers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.NATSTrigger, err error)
- func (c *FakeNATSTriggers) Update(nATSTrigger *v1beta1.NATSTrigger) (result *v1beta1.NATSTrigger, err error)
- func (c *FakeNATSTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCronJobTriggers ¶ added in v0.5.0
type FakeCronJobTriggers struct { Fake *FakeKubelessV1beta1 // contains filtered or unexported fields }
FakeCronJobTriggers implements CronJobTriggerInterface
func (*FakeCronJobTriggers) Create ¶ added in v0.5.0
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 ¶ added in v0.5.0
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 ¶ added in v0.5.0
func (c *FakeCronJobTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCronJobTriggers) Get ¶ added in v0.5.0
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 ¶ added in v0.5.0
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 ¶ added in v0.5.0
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 ¶ added in v0.5.0
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 ¶ added in v0.5.0
func (c *FakeCronJobTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cronJobTriggers.
type FakeFunctions ¶
type FakeFunctions struct { Fake *FakeKubelessV1beta1 // contains filtered or unexported fields }
FakeFunctions implements FunctionInterface
func (*FakeFunctions) Create ¶
Create takes the representation of a function and creates it. Returns the server's representation of the function, and an error, if there is any.
func (*FakeFunctions) Delete ¶
func (c *FakeFunctions) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the function and deletes it. Returns an error if one occurs.
func (*FakeFunctions) DeleteCollection ¶
func (c *FakeFunctions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFunctions) Get ¶
func (c *FakeFunctions) Get(name string, options v1.GetOptions) (result *v1beta1.Function, err error)
Get takes name of the function, and returns the corresponding function object, and an error if there is any.
func (*FakeFunctions) List ¶
func (c *FakeFunctions) List(opts v1.ListOptions) (result *v1beta1.FunctionList, err error)
List takes label and field selectors, and returns the list of Functions that match those selectors.
func (*FakeFunctions) Patch ¶
func (c *FakeFunctions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Function, err error)
Patch applies the patch and returns the patched function.
func (*FakeFunctions) Update ¶
Update takes the representation of a function and updates it. Returns the server's representation of the function, and an error, if there is any.
func (*FakeFunctions) Watch ¶
func (c *FakeFunctions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested functions.
type FakeHTTPTriggers ¶ added in v0.5.0
type FakeHTTPTriggers struct { Fake *FakeKubelessV1beta1 // contains filtered or unexported fields }
FakeHTTPTriggers implements HTTPTriggerInterface
func (*FakeHTTPTriggers) Create ¶ added in v0.5.0
func (c *FakeHTTPTriggers) Create(hTTPTrigger *v1beta1.HTTPTrigger) (result *v1beta1.HTTPTrigger, err error)
Create takes the representation of a hTTPTrigger and creates it. Returns the server's representation of the hTTPTrigger, and an error, if there is any.
func (*FakeHTTPTriggers) Delete ¶ added in v0.5.0
func (c *FakeHTTPTriggers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the hTTPTrigger and deletes it. Returns an error if one occurs.
func (*FakeHTTPTriggers) DeleteCollection ¶ added in v0.5.0
func (c *FakeHTTPTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHTTPTriggers) Get ¶ added in v0.5.0
func (c *FakeHTTPTriggers) Get(name string, options v1.GetOptions) (result *v1beta1.HTTPTrigger, err error)
Get takes name of the hTTPTrigger, and returns the corresponding hTTPTrigger object, and an error if there is any.
func (*FakeHTTPTriggers) List ¶ added in v0.5.0
func (c *FakeHTTPTriggers) List(opts v1.ListOptions) (result *v1beta1.HTTPTriggerList, err error)
List takes label and field selectors, and returns the list of HTTPTriggers that match those selectors.
func (*FakeHTTPTriggers) Patch ¶ added in v0.5.0
func (c *FakeHTTPTriggers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.HTTPTrigger, err error)
Patch applies the patch and returns the patched hTTPTrigger.
func (*FakeHTTPTriggers) Update ¶ added in v0.5.0
func (c *FakeHTTPTriggers) Update(hTTPTrigger *v1beta1.HTTPTrigger) (result *v1beta1.HTTPTrigger, err error)
Update takes the representation of a hTTPTrigger and updates it. Returns the server's representation of the hTTPTrigger, and an error, if there is any.
func (*FakeHTTPTriggers) Watch ¶ added in v0.5.0
func (c *FakeHTTPTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hTTPTriggers.
type FakeKafkaTriggers ¶ added in v0.5.0
type FakeKafkaTriggers struct { Fake *FakeKubelessV1beta1 // contains filtered or unexported fields }
FakeKafkaTriggers implements KafkaTriggerInterface
func (*FakeKafkaTriggers) Create ¶ added in v0.5.0
func (c *FakeKafkaTriggers) Create(kafkaTrigger *v1beta1.KafkaTrigger) (result *v1beta1.KafkaTrigger, err error)
Create takes the representation of a kafkaTrigger and creates it. Returns the server's representation of the kafkaTrigger, and an error, if there is any.
func (*FakeKafkaTriggers) Delete ¶ added in v0.5.0
func (c *FakeKafkaTriggers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the kafkaTrigger and deletes it. Returns an error if one occurs.
func (*FakeKafkaTriggers) DeleteCollection ¶ added in v0.5.0
func (c *FakeKafkaTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKafkaTriggers) Get ¶ added in v0.5.0
func (c *FakeKafkaTriggers) Get(name string, options v1.GetOptions) (result *v1beta1.KafkaTrigger, err error)
Get takes name of the kafkaTrigger, and returns the corresponding kafkaTrigger object, and an error if there is any.
func (*FakeKafkaTriggers) List ¶ added in v0.5.0
func (c *FakeKafkaTriggers) List(opts v1.ListOptions) (result *v1beta1.KafkaTriggerList, err error)
List takes label and field selectors, and returns the list of KafkaTriggers that match those selectors.
func (*FakeKafkaTriggers) Patch ¶ added in v0.5.0
func (c *FakeKafkaTriggers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.KafkaTrigger, err error)
Patch applies the patch and returns the patched kafkaTrigger.
func (*FakeKafkaTriggers) Update ¶ added in v0.5.0
func (c *FakeKafkaTriggers) Update(kafkaTrigger *v1beta1.KafkaTrigger) (result *v1beta1.KafkaTrigger, err error)
Update takes the representation of a kafkaTrigger and updates it. Returns the server's representation of the kafkaTrigger, and an error, if there is any.
func (*FakeKafkaTriggers) Watch ¶ added in v0.5.0
func (c *FakeKafkaTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kafkaTriggers.
type FakeKinesisTriggers ¶
type FakeKinesisTriggers struct { Fake *FakeKubelessV1beta1 // contains filtered or unexported fields }
FakeKinesisTriggers implements KinesisTriggerInterface
func (*FakeKinesisTriggers) Create ¶
func (c *FakeKinesisTriggers) Create(kinesisTrigger *v1beta1.KinesisTrigger) (result *v1beta1.KinesisTrigger, err error)
Create takes the representation of a kinesisTrigger and creates it. Returns the server's representation of the kinesisTrigger, and an error, if there is any.
func (*FakeKinesisTriggers) Delete ¶
func (c *FakeKinesisTriggers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the kinesisTrigger and deletes it. Returns an error if one occurs.
func (*FakeKinesisTriggers) DeleteCollection ¶
func (c *FakeKinesisTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKinesisTriggers) Get ¶
func (c *FakeKinesisTriggers) Get(name string, options v1.GetOptions) (result *v1beta1.KinesisTrigger, err error)
Get takes name of the kinesisTrigger, and returns the corresponding kinesisTrigger object, and an error if there is any.
func (*FakeKinesisTriggers) List ¶
func (c *FakeKinesisTriggers) List(opts v1.ListOptions) (result *v1beta1.KinesisTriggerList, err error)
List takes label and field selectors, and returns the list of KinesisTriggers that match those selectors.
func (*FakeKinesisTriggers) Patch ¶
func (c *FakeKinesisTriggers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.KinesisTrigger, err error)
Patch applies the patch and returns the patched kinesisTrigger.
func (*FakeKinesisTriggers) Update ¶
func (c *FakeKinesisTriggers) Update(kinesisTrigger *v1beta1.KinesisTrigger) (result *v1beta1.KinesisTrigger, err error)
Update takes the representation of a kinesisTrigger and updates it. Returns the server's representation of the kinesisTrigger, and an error, if there is any.
func (*FakeKinesisTriggers) Watch ¶
func (c *FakeKinesisTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kinesisTriggers.
type FakeKubelessV1beta1 ¶
func (*FakeKubelessV1beta1) CronJobTriggers ¶ added in v0.5.0
func (c *FakeKubelessV1beta1) CronJobTriggers(namespace string) v1beta1.CronJobTriggerInterface
func (*FakeKubelessV1beta1) Functions ¶
func (c *FakeKubelessV1beta1) Functions(namespace string) v1beta1.FunctionInterface
func (*FakeKubelessV1beta1) HTTPTriggers ¶ added in v0.5.0
func (c *FakeKubelessV1beta1) HTTPTriggers(namespace string) v1beta1.HTTPTriggerInterface
func (*FakeKubelessV1beta1) KafkaTriggers ¶ added in v0.5.0
func (c *FakeKubelessV1beta1) KafkaTriggers(namespace string) v1beta1.KafkaTriggerInterface
func (*FakeKubelessV1beta1) KinesisTriggers ¶
func (c *FakeKubelessV1beta1) KinesisTriggers(namespace string) v1beta1.KinesisTriggerInterface
func (*FakeKubelessV1beta1) NATSTriggers ¶ added in v0.6.0
func (c *FakeKubelessV1beta1) NATSTriggers(namespace string) v1beta1.NATSTriggerInterface
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.
type FakeNATSTriggers ¶ added in v0.6.0
type FakeNATSTriggers struct { Fake *FakeKubelessV1beta1 // contains filtered or unexported fields }
FakeNATSTriggers implements NATSTriggerInterface
func (*FakeNATSTriggers) Create ¶ added in v0.6.0
func (c *FakeNATSTriggers) Create(nATSTrigger *v1beta1.NATSTrigger) (result *v1beta1.NATSTrigger, err error)
Create takes the representation of a nATSTrigger and creates it. Returns the server's representation of the nATSTrigger, and an error, if there is any.
func (*FakeNATSTriggers) Delete ¶ added in v0.6.0
func (c *FakeNATSTriggers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the nATSTrigger and deletes it. Returns an error if one occurs.
func (*FakeNATSTriggers) DeleteCollection ¶ added in v0.6.0
func (c *FakeNATSTriggers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNATSTriggers) Get ¶ added in v0.6.0
func (c *FakeNATSTriggers) Get(name string, options v1.GetOptions) (result *v1beta1.NATSTrigger, err error)
Get takes name of the nATSTrigger, and returns the corresponding nATSTrigger object, and an error if there is any.
func (*FakeNATSTriggers) List ¶ added in v0.6.0
func (c *FakeNATSTriggers) List(opts v1.ListOptions) (result *v1beta1.NATSTriggerList, err error)
List takes label and field selectors, and returns the list of NATSTriggers that match those selectors.
func (*FakeNATSTriggers) Patch ¶ added in v0.6.0
func (c *FakeNATSTriggers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.NATSTrigger, err error)
Patch applies the patch and returns the patched nATSTrigger.
func (*FakeNATSTriggers) Update ¶ added in v0.6.0
func (c *FakeNATSTriggers) Update(nATSTrigger *v1beta1.NATSTrigger) (result *v1beta1.NATSTrigger, err error)
Update takes the representation of a nATSTrigger and updates it. Returns the server's representation of the nATSTrigger, and an error, if there is any.
func (*FakeNATSTriggers) Watch ¶ added in v0.6.0
func (c *FakeNATSTriggers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nATSTriggers.