Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMaistraV1alpha1
- type FakeSessions
- func (c *FakeSessions) Create(ctx context.Context, session *v1alpha1.Session, opts v1.CreateOptions) (result *v1alpha1.Session, err error)
- func (c *FakeSessions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSessions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSessions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Session, err error)
- func (c *FakeSessions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SessionList, err error)
- func (c *FakeSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Session, err error)
- func (c *FakeSessions) Update(ctx context.Context, session *v1alpha1.Session, opts v1.UpdateOptions) (result *v1alpha1.Session, err error)
- func (c *FakeSessions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMaistraV1alpha1 ¶
func (*FakeMaistraV1alpha1) RESTClient ¶
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 ¶
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 ¶
func (c *FakeSessions) Create(ctx context.Context, session *v1alpha1.Session, opts v1.CreateOptions) (result *v1alpha1.Session, err error)
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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSessions) Get ¶
func (c *FakeSessions) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Session, err error)
Patch applies the patch and returns the patched session.
func (*FakeSessions) Update ¶
func (c *FakeSessions) Update(ctx context.Context, session *v1alpha1.Session, opts v1.UpdateOptions) (result *v1alpha1.Session, err error)
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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sessions.