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