Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeChaosV1alpha1
- type FakePodTerminators
- func (c *FakePodTerminators) Create(podTerminator *v1alpha1.PodTerminator) (result *v1alpha1.PodTerminator, err error)
- func (c *FakePodTerminators) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePodTerminators) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePodTerminators) Get(name string, options v1.GetOptions) (result *v1alpha1.PodTerminator, err error)
- func (c *FakePodTerminators) List(opts v1.ListOptions) (result *v1alpha1.PodTerminatorList, err error)
- func (c *FakePodTerminators) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PodTerminator, err error)
- func (c *FakePodTerminators) Update(podTerminator *v1alpha1.PodTerminator) (result *v1alpha1.PodTerminator, err error)
- func (c *FakePodTerminators) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeChaosV1alpha1 ¶
func (*FakeChaosV1alpha1) PodTerminators ¶
func (c *FakeChaosV1alpha1) PodTerminators() v1alpha1.PodTerminatorInterface
func (*FakeChaosV1alpha1) RESTClient ¶
func (c *FakeChaosV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePodTerminators ¶
type FakePodTerminators struct {
Fake *FakeChaosV1alpha1
}
FakePodTerminators implements PodTerminatorInterface
func (*FakePodTerminators) Create ¶
func (c *FakePodTerminators) Create(podTerminator *v1alpha1.PodTerminator) (result *v1alpha1.PodTerminator, err error)
Create takes the representation of a podTerminator and creates it. Returns the server's representation of the podTerminator, and an error, if there is any.
func (*FakePodTerminators) Delete ¶
func (c *FakePodTerminators) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the podTerminator and deletes it. Returns an error if one occurs.
func (*FakePodTerminators) DeleteCollection ¶
func (c *FakePodTerminators) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodTerminators) Get ¶
func (c *FakePodTerminators) Get(name string, options v1.GetOptions) (result *v1alpha1.PodTerminator, err error)
Get takes name of the podTerminator, and returns the corresponding podTerminator object, and an error if there is any.
func (*FakePodTerminators) List ¶
func (c *FakePodTerminators) List(opts v1.ListOptions) (result *v1alpha1.PodTerminatorList, err error)
List takes label and field selectors, and returns the list of PodTerminators that match those selectors.
func (*FakePodTerminators) Patch ¶
func (c *FakePodTerminators) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PodTerminator, err error)
Patch applies the patch and returns the patched podTerminator.
func (*FakePodTerminators) Update ¶
func (c *FakePodTerminators) Update(podTerminator *v1alpha1.PodTerminator) (result *v1alpha1.PodTerminator, err error)
Update takes the representation of a podTerminator and updates it. Returns the server's representation of the podTerminator, and an error, if there is any.
func (*FakePodTerminators) Watch ¶
func (c *FakePodTerminators) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podTerminators.