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