Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNodeConfigs
- func (c *FakeNodeConfigs) Create(ctx context.Context, nodeConfig *v1alpha1.NodeConfig, opts v1.CreateOptions) (result *v1alpha1.NodeConfig, err error)
- func (c *FakeNodeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeConfig, err error)
- func (c *FakeNodeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeConfigList, err error)
- func (c *FakeNodeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodeConfig, err error)
- func (c *FakeNodeConfigs) Update(ctx context.Context, nodeConfig *v1alpha1.NodeConfig, opts v1.UpdateOptions) (result *v1alpha1.NodeConfig, err error)
- func (c *FakeNodeConfigs) UpdateStatus(ctx context.Context, nodeConfig *v1alpha1.NodeConfig, opts v1.UpdateOptions) (*v1alpha1.NodeConfig, error)
- func (c *FakeNodeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeScyllaDBMonitorings
- func (c *FakeScyllaDBMonitorings) Create(ctx context.Context, scyllaDBMonitoring *v1alpha1.ScyllaDBMonitoring, ...) (result *v1alpha1.ScyllaDBMonitoring, err error)
- func (c *FakeScyllaDBMonitorings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeScyllaDBMonitorings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeScyllaDBMonitorings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ScyllaDBMonitoring, err error)
- func (c *FakeScyllaDBMonitorings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScyllaDBMonitoringList, err error)
- func (c *FakeScyllaDBMonitorings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ScyllaDBMonitoring, err error)
- func (c *FakeScyllaDBMonitorings) Update(ctx context.Context, scyllaDBMonitoring *v1alpha1.ScyllaDBMonitoring, ...) (result *v1alpha1.ScyllaDBMonitoring, err error)
- func (c *FakeScyllaDBMonitorings) UpdateStatus(ctx context.Context, scyllaDBMonitoring *v1alpha1.ScyllaDBMonitoring, ...) (*v1alpha1.ScyllaDBMonitoring, error)
- func (c *FakeScyllaDBMonitorings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeScyllaOperatorConfigs
- func (c *FakeScyllaOperatorConfigs) Create(ctx context.Context, scyllaOperatorConfig *v1alpha1.ScyllaOperatorConfig, ...) (result *v1alpha1.ScyllaOperatorConfig, err error)
- func (c *FakeScyllaOperatorConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeScyllaOperatorConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeScyllaOperatorConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ScyllaOperatorConfig, err error)
- func (c *FakeScyllaOperatorConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScyllaOperatorConfigList, err error)
- func (c *FakeScyllaOperatorConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ScyllaOperatorConfig, err error)
- func (c *FakeScyllaOperatorConfigs) Update(ctx context.Context, scyllaOperatorConfig *v1alpha1.ScyllaOperatorConfig, ...) (result *v1alpha1.ScyllaOperatorConfig, err error)
- func (c *FakeScyllaOperatorConfigs) UpdateStatus(ctx context.Context, scyllaOperatorConfig *v1alpha1.ScyllaOperatorConfig, ...) (*v1alpha1.ScyllaOperatorConfig, error)
- func (c *FakeScyllaOperatorConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeScyllaV1alpha1
- func (c *FakeScyllaV1alpha1) NodeConfigs() v1alpha1.NodeConfigInterface
- func (c *FakeScyllaV1alpha1) RESTClient() rest.Interface
- func (c *FakeScyllaV1alpha1) ScyllaDBMonitorings(namespace string) v1alpha1.ScyllaDBMonitoringInterface
- func (c *FakeScyllaV1alpha1) ScyllaOperatorConfigs() v1alpha1.ScyllaOperatorConfigInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNodeConfigs ¶
type FakeNodeConfigs struct {
Fake *FakeScyllaV1alpha1
}
FakeNodeConfigs implements NodeConfigInterface
func (*FakeNodeConfigs) Create ¶
func (c *FakeNodeConfigs) Create(ctx context.Context, nodeConfig *v1alpha1.NodeConfig, opts v1.CreateOptions) (result *v1alpha1.NodeConfig, err error)
Create takes the representation of a nodeConfig and creates it. Returns the server's representation of the nodeConfig, and an error, if there is any.
func (*FakeNodeConfigs) Delete ¶
func (c *FakeNodeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeConfig and deletes it. Returns an error if one occurs.
func (*FakeNodeConfigs) DeleteCollection ¶
func (c *FakeNodeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeConfigs) Get ¶
func (c *FakeNodeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeConfig, err error)
Get takes name of the nodeConfig, and returns the corresponding nodeConfig object, and an error if there is any.
func (*FakeNodeConfigs) List ¶
func (c *FakeNodeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeConfigList, err error)
List takes label and field selectors, and returns the list of NodeConfigs that match those selectors.
func (*FakeNodeConfigs) Patch ¶
func (c *FakeNodeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodeConfig, err error)
Patch applies the patch and returns the patched nodeConfig.
func (*FakeNodeConfigs) Update ¶
func (c *FakeNodeConfigs) Update(ctx context.Context, nodeConfig *v1alpha1.NodeConfig, opts v1.UpdateOptions) (result *v1alpha1.NodeConfig, err error)
Update takes the representation of a nodeConfig and updates it. Returns the server's representation of the nodeConfig, and an error, if there is any.
func (*FakeNodeConfigs) UpdateStatus ¶
func (c *FakeNodeConfigs) UpdateStatus(ctx context.Context, nodeConfig *v1alpha1.NodeConfig, opts v1.UpdateOptions) (*v1alpha1.NodeConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodeConfigs) Watch ¶
func (c *FakeNodeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeConfigs.
type FakeScyllaDBMonitorings ¶ added in v1.9.0
type FakeScyllaDBMonitorings struct { Fake *FakeScyllaV1alpha1 // contains filtered or unexported fields }
FakeScyllaDBMonitorings implements ScyllaDBMonitoringInterface
func (*FakeScyllaDBMonitorings) Create ¶ added in v1.9.0
func (c *FakeScyllaDBMonitorings) Create(ctx context.Context, scyllaDBMonitoring *v1alpha1.ScyllaDBMonitoring, opts v1.CreateOptions) (result *v1alpha1.ScyllaDBMonitoring, err error)
Create takes the representation of a scyllaDBMonitoring and creates it. Returns the server's representation of the scyllaDBMonitoring, and an error, if there is any.
func (*FakeScyllaDBMonitorings) Delete ¶ added in v1.9.0
func (c *FakeScyllaDBMonitorings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the scyllaDBMonitoring and deletes it. Returns an error if one occurs.
func (*FakeScyllaDBMonitorings) DeleteCollection ¶ added in v1.9.0
func (c *FakeScyllaDBMonitorings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScyllaDBMonitorings) Get ¶ added in v1.9.0
func (c *FakeScyllaDBMonitorings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ScyllaDBMonitoring, err error)
Get takes name of the scyllaDBMonitoring, and returns the corresponding scyllaDBMonitoring object, and an error if there is any.
func (*FakeScyllaDBMonitorings) List ¶ added in v1.9.0
func (c *FakeScyllaDBMonitorings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScyllaDBMonitoringList, err error)
List takes label and field selectors, and returns the list of ScyllaDBMonitorings that match those selectors.
func (*FakeScyllaDBMonitorings) Patch ¶ added in v1.9.0
func (c *FakeScyllaDBMonitorings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ScyllaDBMonitoring, err error)
Patch applies the patch and returns the patched scyllaDBMonitoring.
func (*FakeScyllaDBMonitorings) Update ¶ added in v1.9.0
func (c *FakeScyllaDBMonitorings) Update(ctx context.Context, scyllaDBMonitoring *v1alpha1.ScyllaDBMonitoring, opts v1.UpdateOptions) (result *v1alpha1.ScyllaDBMonitoring, err error)
Update takes the representation of a scyllaDBMonitoring and updates it. Returns the server's representation of the scyllaDBMonitoring, and an error, if there is any.
func (*FakeScyllaDBMonitorings) UpdateStatus ¶ added in v1.9.0
func (c *FakeScyllaDBMonitorings) UpdateStatus(ctx context.Context, scyllaDBMonitoring *v1alpha1.ScyllaDBMonitoring, opts v1.UpdateOptions) (*v1alpha1.ScyllaDBMonitoring, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeScyllaDBMonitorings) Watch ¶ added in v1.9.0
func (c *FakeScyllaDBMonitorings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scyllaDBMonitorings.
type FakeScyllaOperatorConfigs ¶
type FakeScyllaOperatorConfigs struct {
Fake *FakeScyllaV1alpha1
}
FakeScyllaOperatorConfigs implements ScyllaOperatorConfigInterface
func (*FakeScyllaOperatorConfigs) Create ¶
func (c *FakeScyllaOperatorConfigs) Create(ctx context.Context, scyllaOperatorConfig *v1alpha1.ScyllaOperatorConfig, opts v1.CreateOptions) (result *v1alpha1.ScyllaOperatorConfig, err error)
Create takes the representation of a scyllaOperatorConfig and creates it. Returns the server's representation of the scyllaOperatorConfig, and an error, if there is any.
func (*FakeScyllaOperatorConfigs) Delete ¶
func (c *FakeScyllaOperatorConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the scyllaOperatorConfig and deletes it. Returns an error if one occurs.
func (*FakeScyllaOperatorConfigs) DeleteCollection ¶
func (c *FakeScyllaOperatorConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScyllaOperatorConfigs) Get ¶
func (c *FakeScyllaOperatorConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ScyllaOperatorConfig, err error)
Get takes name of the scyllaOperatorConfig, and returns the corresponding scyllaOperatorConfig object, and an error if there is any.
func (*FakeScyllaOperatorConfigs) List ¶
func (c *FakeScyllaOperatorConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScyllaOperatorConfigList, err error)
List takes label and field selectors, and returns the list of ScyllaOperatorConfigs that match those selectors.
func (*FakeScyllaOperatorConfigs) Patch ¶
func (c *FakeScyllaOperatorConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ScyllaOperatorConfig, err error)
Patch applies the patch and returns the patched scyllaOperatorConfig.
func (*FakeScyllaOperatorConfigs) Update ¶
func (c *FakeScyllaOperatorConfigs) Update(ctx context.Context, scyllaOperatorConfig *v1alpha1.ScyllaOperatorConfig, opts v1.UpdateOptions) (result *v1alpha1.ScyllaOperatorConfig, err error)
Update takes the representation of a scyllaOperatorConfig and updates it. Returns the server's representation of the scyllaOperatorConfig, and an error, if there is any.
func (*FakeScyllaOperatorConfigs) UpdateStatus ¶
func (c *FakeScyllaOperatorConfigs) UpdateStatus(ctx context.Context, scyllaOperatorConfig *v1alpha1.ScyllaOperatorConfig, opts v1.UpdateOptions) (*v1alpha1.ScyllaOperatorConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeScyllaOperatorConfigs) Watch ¶
func (c *FakeScyllaOperatorConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scyllaOperatorConfigs.
type FakeScyllaV1alpha1 ¶
func (*FakeScyllaV1alpha1) NodeConfigs ¶
func (c *FakeScyllaV1alpha1) NodeConfigs() v1alpha1.NodeConfigInterface
func (*FakeScyllaV1alpha1) RESTClient ¶
func (c *FakeScyllaV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeScyllaV1alpha1) ScyllaDBMonitorings ¶ added in v1.9.0
func (c *FakeScyllaV1alpha1) ScyllaDBMonitorings(namespace string) v1alpha1.ScyllaDBMonitoringInterface
func (*FakeScyllaV1alpha1) ScyllaOperatorConfigs ¶
func (c *FakeScyllaV1alpha1) ScyllaOperatorConfigs() v1alpha1.ScyllaOperatorConfigInterface