Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFledgedV1alpha1
- type FakeImageCaches
- func (c *FakeImageCaches) Create(imageCache *v1alpha1.ImageCache) (result *v1alpha1.ImageCache, err error)
- func (c *FakeImageCaches) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeImageCaches) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeImageCaches) Get(name string, options v1.GetOptions) (result *v1alpha1.ImageCache, err error)
- func (c *FakeImageCaches) List(opts v1.ListOptions) (result *v1alpha1.ImageCacheList, err error)
- func (c *FakeImageCaches) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ImageCache, err error)
- func (c *FakeImageCaches) Update(imageCache *v1alpha1.ImageCache) (result *v1alpha1.ImageCache, err error)
- func (c *FakeImageCaches) UpdateStatus(imageCache *v1alpha1.ImageCache) (*v1alpha1.ImageCache, error)
- func (c *FakeImageCaches) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFledgedV1alpha1 ¶
func (*FakeFledgedV1alpha1) ImageCaches ¶
func (c *FakeFledgedV1alpha1) ImageCaches(namespace string) v1alpha1.ImageCacheInterface
func (*FakeFledgedV1alpha1) RESTClient ¶
func (c *FakeFledgedV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeImageCaches ¶
type FakeImageCaches struct { Fake *FakeFledgedV1alpha1 // contains filtered or unexported fields }
FakeImageCaches implements ImageCacheInterface
func (*FakeImageCaches) Create ¶
func (c *FakeImageCaches) Create(imageCache *v1alpha1.ImageCache) (result *v1alpha1.ImageCache, err error)
Create takes the representation of a imageCache and creates it. Returns the server's representation of the imageCache, and an error, if there is any.
func (*FakeImageCaches) Delete ¶
func (c *FakeImageCaches) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the imageCache and deletes it. Returns an error if one occurs.
func (*FakeImageCaches) DeleteCollection ¶
func (c *FakeImageCaches) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImageCaches) Get ¶
func (c *FakeImageCaches) Get(name string, options v1.GetOptions) (result *v1alpha1.ImageCache, err error)
Get takes name of the imageCache, and returns the corresponding imageCache object, and an error if there is any.
func (*FakeImageCaches) List ¶
func (c *FakeImageCaches) List(opts v1.ListOptions) (result *v1alpha1.ImageCacheList, err error)
List takes label and field selectors, and returns the list of ImageCaches that match those selectors.
func (*FakeImageCaches) Patch ¶
func (c *FakeImageCaches) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ImageCache, err error)
Patch applies the patch and returns the patched imageCache.
func (*FakeImageCaches) Update ¶
func (c *FakeImageCaches) Update(imageCache *v1alpha1.ImageCache) (result *v1alpha1.ImageCache, err error)
Update takes the representation of a imageCache and updates it. Returns the server's representation of the imageCache, and an error, if there is any.
func (*FakeImageCaches) UpdateStatus ¶
func (c *FakeImageCaches) UpdateStatus(imageCache *v1alpha1.ImageCache) (*v1alpha1.ImageCache, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeImageCaches) Watch ¶
func (c *FakeImageCaches) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imageCaches.