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