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