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