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