Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigV1alpha1
- type FakeInsightsDataGathers
- func (c *FakeInsightsDataGathers) Apply(ctx context.Context, ...) (result *v1alpha1.InsightsDataGather, err error)
- func (c *FakeInsightsDataGathers) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.InsightsDataGather, err error)
- func (c *FakeInsightsDataGathers) Create(ctx context.Context, insightsDataGather *v1alpha1.InsightsDataGather, ...) (result *v1alpha1.InsightsDataGather, err error)
- func (c *FakeInsightsDataGathers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInsightsDataGathers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInsightsDataGathers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InsightsDataGather, err error)
- func (c *FakeInsightsDataGathers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InsightsDataGatherList, err error)
- func (c *FakeInsightsDataGathers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.InsightsDataGather, err error)
- func (c *FakeInsightsDataGathers) Update(ctx context.Context, insightsDataGather *v1alpha1.InsightsDataGather, ...) (result *v1alpha1.InsightsDataGather, err error)
- func (c *FakeInsightsDataGathers) UpdateStatus(ctx context.Context, insightsDataGather *v1alpha1.InsightsDataGather, ...) (*v1alpha1.InsightsDataGather, error)
- func (c *FakeInsightsDataGathers) 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 FakeConfigV1alpha1 ¶
func (*FakeConfigV1alpha1) InsightsDataGathers ¶
func (c *FakeConfigV1alpha1) InsightsDataGathers() v1alpha1.InsightsDataGatherInterface
func (*FakeConfigV1alpha1) RESTClient ¶
func (c *FakeConfigV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeInsightsDataGathers ¶
type FakeInsightsDataGathers struct {
Fake *FakeConfigV1alpha1
}
FakeInsightsDataGathers implements InsightsDataGatherInterface
func (*FakeInsightsDataGathers) Apply ¶
func (c *FakeInsightsDataGathers) Apply(ctx context.Context, insightsDataGather *configv1alpha1.InsightsDataGatherApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.InsightsDataGather, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied insightsDataGather.
func (*FakeInsightsDataGathers) ApplyStatus ¶
func (c *FakeInsightsDataGathers) ApplyStatus(ctx context.Context, insightsDataGather *configv1alpha1.InsightsDataGatherApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.InsightsDataGather, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeInsightsDataGathers) Create ¶
func (c *FakeInsightsDataGathers) Create(ctx context.Context, insightsDataGather *v1alpha1.InsightsDataGather, opts v1.CreateOptions) (result *v1alpha1.InsightsDataGather, err error)
Create takes the representation of a insightsDataGather and creates it. Returns the server's representation of the insightsDataGather, and an error, if there is any.
func (*FakeInsightsDataGathers) Delete ¶
func (c *FakeInsightsDataGathers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the insightsDataGather and deletes it. Returns an error if one occurs.
func (*FakeInsightsDataGathers) DeleteCollection ¶
func (c *FakeInsightsDataGathers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInsightsDataGathers) Get ¶
func (c *FakeInsightsDataGathers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InsightsDataGather, err error)
Get takes name of the insightsDataGather, and returns the corresponding insightsDataGather object, and an error if there is any.
func (*FakeInsightsDataGathers) List ¶
func (c *FakeInsightsDataGathers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InsightsDataGatherList, err error)
List takes label and field selectors, and returns the list of InsightsDataGathers that match those selectors.
func (*FakeInsightsDataGathers) Patch ¶
func (c *FakeInsightsDataGathers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.InsightsDataGather, err error)
Patch applies the patch and returns the patched insightsDataGather.
func (*FakeInsightsDataGathers) Update ¶
func (c *FakeInsightsDataGathers) Update(ctx context.Context, insightsDataGather *v1alpha1.InsightsDataGather, opts v1.UpdateOptions) (result *v1alpha1.InsightsDataGather, err error)
Update takes the representation of a insightsDataGather and updates it. Returns the server's representation of the insightsDataGather, and an error, if there is any.
func (*FakeInsightsDataGathers) UpdateStatus ¶
func (c *FakeInsightsDataGathers) UpdateStatus(ctx context.Context, insightsDataGather *v1alpha1.InsightsDataGather, opts v1.UpdateOptions) (*v1alpha1.InsightsDataGather, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInsightsDataGathers) Watch ¶
func (c *FakeInsightsDataGathers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested insightsDataGathers.