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