Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAnalyzers
- func (c *FakeAnalyzers) Create(ctx context.Context, analyzer *v1beta2.Analyzer, opts v1.CreateOptions) (result *v1beta2.Analyzer, err error)
- func (c *FakeAnalyzers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAnalyzers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAnalyzers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Analyzer, err error)
- func (c *FakeAnalyzers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.AnalyzerList, err error)
- func (c *FakeAnalyzers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Analyzer, err error)
- func (c *FakeAnalyzers) Update(ctx context.Context, analyzer *v1beta2.Analyzer, opts v1.UpdateOptions) (result *v1beta2.Analyzer, err error)
- func (c *FakeAnalyzers) UpdateStatus(ctx context.Context, analyzer *v1beta2.Analyzer, opts v1.UpdateOptions) (*v1beta2.Analyzer, error)
- func (c *FakeAnalyzers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCollectors
- func (c *FakeCollectors) Create(ctx context.Context, collector *v1beta2.Collector, opts v1.CreateOptions) (result *v1beta2.Collector, err error)
- func (c *FakeCollectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCollectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCollectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Collector, err error)
- func (c *FakeCollectors) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.CollectorList, err error)
- func (c *FakeCollectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Collector, err error)
- func (c *FakeCollectors) Update(ctx context.Context, collector *v1beta2.Collector, opts v1.UpdateOptions) (result *v1beta2.Collector, err error)
- func (c *FakeCollectors) UpdateStatus(ctx context.Context, collector *v1beta2.Collector, opts v1.UpdateOptions) (*v1beta2.Collector, error)
- func (c *FakeCollectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHostCollectors
- func (c *FakeHostCollectors) Create(ctx context.Context, hostCollector *v1beta2.HostCollector, ...) (result *v1beta2.HostCollector, err error)
- func (c *FakeHostCollectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHostCollectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHostCollectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.HostCollector, err error)
- func (c *FakeHostCollectors) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.HostCollectorList, err error)
- func (c *FakeHostCollectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.HostCollector, err error)
- func (c *FakeHostCollectors) Update(ctx context.Context, hostCollector *v1beta2.HostCollector, ...) (result *v1beta2.HostCollector, err error)
- func (c *FakeHostCollectors) UpdateStatus(ctx context.Context, hostCollector *v1beta2.HostCollector, ...) (*v1beta2.HostCollector, error)
- func (c *FakeHostCollectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHostPreflights
- func (c *FakeHostPreflights) Create(ctx context.Context, hostPreflight *v1beta2.HostPreflight, ...) (result *v1beta2.HostPreflight, err error)
- func (c *FakeHostPreflights) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHostPreflights) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHostPreflights) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.HostPreflight, err error)
- func (c *FakeHostPreflights) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.HostPreflightList, err error)
- func (c *FakeHostPreflights) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.HostPreflight, err error)
- func (c *FakeHostPreflights) Update(ctx context.Context, hostPreflight *v1beta2.HostPreflight, ...) (result *v1beta2.HostPreflight, err error)
- func (c *FakeHostPreflights) UpdateStatus(ctx context.Context, hostPreflight *v1beta2.HostPreflight, ...) (*v1beta2.HostPreflight, error)
- func (c *FakeHostPreflights) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePreflights
- func (c *FakePreflights) Create(ctx context.Context, preflight *v1beta2.Preflight, opts v1.CreateOptions) (result *v1beta2.Preflight, err error)
- func (c *FakePreflights) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePreflights) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePreflights) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Preflight, err error)
- func (c *FakePreflights) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.PreflightList, err error)
- func (c *FakePreflights) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Preflight, err error)
- func (c *FakePreflights) Update(ctx context.Context, preflight *v1beta2.Preflight, opts v1.UpdateOptions) (result *v1beta2.Preflight, err error)
- func (c *FakePreflights) UpdateStatus(ctx context.Context, preflight *v1beta2.Preflight, opts v1.UpdateOptions) (*v1beta2.Preflight, error)
- func (c *FakePreflights) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRedactors
- func (c *FakeRedactors) Create(ctx context.Context, redactor *v1beta2.Redactor, opts v1.CreateOptions) (result *v1beta2.Redactor, err error)
- func (c *FakeRedactors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRedactors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRedactors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Redactor, err error)
- func (c *FakeRedactors) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.RedactorList, err error)
- func (c *FakeRedactors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Redactor, err error)
- func (c *FakeRedactors) Update(ctx context.Context, redactor *v1beta2.Redactor, opts v1.UpdateOptions) (result *v1beta2.Redactor, err error)
- func (c *FakeRedactors) UpdateStatus(ctx context.Context, redactor *v1beta2.Redactor, opts v1.UpdateOptions) (*v1beta2.Redactor, error)
- func (c *FakeRedactors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRemoteCollectors
- func (c *FakeRemoteCollectors) Create(ctx context.Context, remoteCollector *v1beta2.RemoteCollector, ...) (result *v1beta2.RemoteCollector, err error)
- func (c *FakeRemoteCollectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRemoteCollectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRemoteCollectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.RemoteCollector, err error)
- func (c *FakeRemoteCollectors) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.RemoteCollectorList, err error)
- func (c *FakeRemoteCollectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.RemoteCollector, err error)
- func (c *FakeRemoteCollectors) Update(ctx context.Context, remoteCollector *v1beta2.RemoteCollector, ...) (result *v1beta2.RemoteCollector, err error)
- func (c *FakeRemoteCollectors) UpdateStatus(ctx context.Context, remoteCollector *v1beta2.RemoteCollector, ...) (*v1beta2.RemoteCollector, error)
- func (c *FakeRemoteCollectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSupportBundles
- func (c *FakeSupportBundles) Create(ctx context.Context, supportBundle *v1beta2.SupportBundle, ...) (result *v1beta2.SupportBundle, err error)
- func (c *FakeSupportBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSupportBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSupportBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.SupportBundle, err error)
- func (c *FakeSupportBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SupportBundleList, err error)
- func (c *FakeSupportBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.SupportBundle, err error)
- func (c *FakeSupportBundles) Update(ctx context.Context, supportBundle *v1beta2.SupportBundle, ...) (result *v1beta2.SupportBundle, err error)
- func (c *FakeSupportBundles) UpdateStatus(ctx context.Context, supportBundle *v1beta2.SupportBundle, ...) (*v1beta2.SupportBundle, error)
- func (c *FakeSupportBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTroubleshootV1beta2
- func (c *FakeTroubleshootV1beta2) Analyzers(namespace string) v1beta2.AnalyzerInterface
- func (c *FakeTroubleshootV1beta2) Collectors(namespace string) v1beta2.CollectorInterface
- func (c *FakeTroubleshootV1beta2) HostCollectors(namespace string) v1beta2.HostCollectorInterface
- func (c *FakeTroubleshootV1beta2) HostPreflights(namespace string) v1beta2.HostPreflightInterface
- func (c *FakeTroubleshootV1beta2) Preflights(namespace string) v1beta2.PreflightInterface
- func (c *FakeTroubleshootV1beta2) RESTClient() rest.Interface
- func (c *FakeTroubleshootV1beta2) Redactors(namespace string) v1beta2.RedactorInterface
- func (c *FakeTroubleshootV1beta2) RemoteCollectors(namespace string) v1beta2.RemoteCollectorInterface
- func (c *FakeTroubleshootV1beta2) SupportBundles(namespace string) v1beta2.SupportBundleInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAnalyzers ¶
type FakeAnalyzers struct { Fake *FakeTroubleshootV1beta2 // contains filtered or unexported fields }
FakeAnalyzers implements AnalyzerInterface
func (*FakeAnalyzers) Create ¶
func (c *FakeAnalyzers) Create(ctx context.Context, analyzer *v1beta2.Analyzer, opts v1.CreateOptions) (result *v1beta2.Analyzer, err error)
Create takes the representation of a analyzer and creates it. Returns the server's representation of the analyzer, and an error, if there is any.
func (*FakeAnalyzers) Delete ¶
func (c *FakeAnalyzers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the analyzer and deletes it. Returns an error if one occurs.
func (*FakeAnalyzers) DeleteCollection ¶
func (c *FakeAnalyzers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAnalyzers) Get ¶
func (c *FakeAnalyzers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Analyzer, err error)
Get takes name of the analyzer, and returns the corresponding analyzer object, and an error if there is any.
func (*FakeAnalyzers) List ¶
func (c *FakeAnalyzers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.AnalyzerList, err error)
List takes label and field selectors, and returns the list of Analyzers that match those selectors.
func (*FakeAnalyzers) Patch ¶
func (c *FakeAnalyzers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Analyzer, err error)
Patch applies the patch and returns the patched analyzer.
func (*FakeAnalyzers) Update ¶
func (c *FakeAnalyzers) Update(ctx context.Context, analyzer *v1beta2.Analyzer, opts v1.UpdateOptions) (result *v1beta2.Analyzer, err error)
Update takes the representation of a analyzer and updates it. Returns the server's representation of the analyzer, and an error, if there is any.
func (*FakeAnalyzers) UpdateStatus ¶
func (c *FakeAnalyzers) UpdateStatus(ctx context.Context, analyzer *v1beta2.Analyzer, opts v1.UpdateOptions) (*v1beta2.Analyzer, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAnalyzers) Watch ¶
func (c *FakeAnalyzers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested analyzers.
type FakeCollectors ¶
type FakeCollectors struct { Fake *FakeTroubleshootV1beta2 // contains filtered or unexported fields }
FakeCollectors implements CollectorInterface
func (*FakeCollectors) Create ¶
func (c *FakeCollectors) Create(ctx context.Context, collector *v1beta2.Collector, opts v1.CreateOptions) (result *v1beta2.Collector, err error)
Create takes the representation of a collector and creates it. Returns the server's representation of the collector, and an error, if there is any.
func (*FakeCollectors) Delete ¶
func (c *FakeCollectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the collector and deletes it. Returns an error if one occurs.
func (*FakeCollectors) DeleteCollection ¶
func (c *FakeCollectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCollectors) Get ¶
func (c *FakeCollectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Collector, err error)
Get takes name of the collector, and returns the corresponding collector object, and an error if there is any.
func (*FakeCollectors) List ¶
func (c *FakeCollectors) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.CollectorList, err error)
List takes label and field selectors, and returns the list of Collectors that match those selectors.
func (*FakeCollectors) Patch ¶
func (c *FakeCollectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Collector, err error)
Patch applies the patch and returns the patched collector.
func (*FakeCollectors) Update ¶
func (c *FakeCollectors) Update(ctx context.Context, collector *v1beta2.Collector, opts v1.UpdateOptions) (result *v1beta2.Collector, err error)
Update takes the representation of a collector and updates it. Returns the server's representation of the collector, and an error, if there is any.
func (*FakeCollectors) UpdateStatus ¶
func (c *FakeCollectors) UpdateStatus(ctx context.Context, collector *v1beta2.Collector, opts v1.UpdateOptions) (*v1beta2.Collector, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCollectors) Watch ¶
func (c *FakeCollectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested collectors.
type FakeHostCollectors ¶ added in v0.17.0
type FakeHostCollectors struct { Fake *FakeTroubleshootV1beta2 // contains filtered or unexported fields }
FakeHostCollectors implements HostCollectorInterface
func (*FakeHostCollectors) Create ¶ added in v0.17.0
func (c *FakeHostCollectors) Create(ctx context.Context, hostCollector *v1beta2.HostCollector, opts v1.CreateOptions) (result *v1beta2.HostCollector, err error)
Create takes the representation of a hostCollector and creates it. Returns the server's representation of the hostCollector, and an error, if there is any.
func (*FakeHostCollectors) Delete ¶ added in v0.17.0
func (c *FakeHostCollectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the hostCollector and deletes it. Returns an error if one occurs.
func (*FakeHostCollectors) DeleteCollection ¶ added in v0.17.0
func (c *FakeHostCollectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHostCollectors) Get ¶ added in v0.17.0
func (c *FakeHostCollectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.HostCollector, err error)
Get takes name of the hostCollector, and returns the corresponding hostCollector object, and an error if there is any.
func (*FakeHostCollectors) List ¶ added in v0.17.0
func (c *FakeHostCollectors) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.HostCollectorList, err error)
List takes label and field selectors, and returns the list of HostCollectors that match those selectors.
func (*FakeHostCollectors) Patch ¶ added in v0.17.0
func (c *FakeHostCollectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.HostCollector, err error)
Patch applies the patch and returns the patched hostCollector.
func (*FakeHostCollectors) Update ¶ added in v0.17.0
func (c *FakeHostCollectors) Update(ctx context.Context, hostCollector *v1beta2.HostCollector, opts v1.UpdateOptions) (result *v1beta2.HostCollector, err error)
Update takes the representation of a hostCollector and updates it. Returns the server's representation of the hostCollector, and an error, if there is any.
func (*FakeHostCollectors) UpdateStatus ¶ added in v0.17.0
func (c *FakeHostCollectors) UpdateStatus(ctx context.Context, hostCollector *v1beta2.HostCollector, opts v1.UpdateOptions) (*v1beta2.HostCollector, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHostCollectors) Watch ¶ added in v0.17.0
func (c *FakeHostCollectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hostCollectors.
type FakeHostPreflights ¶ added in v0.10.0
type FakeHostPreflights struct { Fake *FakeTroubleshootV1beta2 // contains filtered or unexported fields }
FakeHostPreflights implements HostPreflightInterface
func (*FakeHostPreflights) Create ¶ added in v0.10.0
func (c *FakeHostPreflights) Create(ctx context.Context, hostPreflight *v1beta2.HostPreflight, opts v1.CreateOptions) (result *v1beta2.HostPreflight, err error)
Create takes the representation of a hostPreflight and creates it. Returns the server's representation of the hostPreflight, and an error, if there is any.
func (*FakeHostPreflights) Delete ¶ added in v0.10.0
func (c *FakeHostPreflights) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the hostPreflight and deletes it. Returns an error if one occurs.
func (*FakeHostPreflights) DeleteCollection ¶ added in v0.10.0
func (c *FakeHostPreflights) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHostPreflights) Get ¶ added in v0.10.0
func (c *FakeHostPreflights) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.HostPreflight, err error)
Get takes name of the hostPreflight, and returns the corresponding hostPreflight object, and an error if there is any.
func (*FakeHostPreflights) List ¶ added in v0.10.0
func (c *FakeHostPreflights) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.HostPreflightList, err error)
List takes label and field selectors, and returns the list of HostPreflights that match those selectors.
func (*FakeHostPreflights) Patch ¶ added in v0.10.0
func (c *FakeHostPreflights) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.HostPreflight, err error)
Patch applies the patch and returns the patched hostPreflight.
func (*FakeHostPreflights) Update ¶ added in v0.10.0
func (c *FakeHostPreflights) Update(ctx context.Context, hostPreflight *v1beta2.HostPreflight, opts v1.UpdateOptions) (result *v1beta2.HostPreflight, err error)
Update takes the representation of a hostPreflight and updates it. Returns the server's representation of the hostPreflight, and an error, if there is any.
func (*FakeHostPreflights) UpdateStatus ¶ added in v0.10.0
func (c *FakeHostPreflights) UpdateStatus(ctx context.Context, hostPreflight *v1beta2.HostPreflight, opts v1.UpdateOptions) (*v1beta2.HostPreflight, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHostPreflights) Watch ¶ added in v0.10.0
func (c *FakeHostPreflights) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hostPreflights.
type FakePreflights ¶
type FakePreflights struct { Fake *FakeTroubleshootV1beta2 // contains filtered or unexported fields }
FakePreflights implements PreflightInterface
func (*FakePreflights) Create ¶
func (c *FakePreflights) Create(ctx context.Context, preflight *v1beta2.Preflight, opts v1.CreateOptions) (result *v1beta2.Preflight, err error)
Create takes the representation of a preflight and creates it. Returns the server's representation of the preflight, and an error, if there is any.
func (*FakePreflights) Delete ¶
func (c *FakePreflights) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the preflight and deletes it. Returns an error if one occurs.
func (*FakePreflights) DeleteCollection ¶
func (c *FakePreflights) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePreflights) Get ¶
func (c *FakePreflights) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Preflight, err error)
Get takes name of the preflight, and returns the corresponding preflight object, and an error if there is any.
func (*FakePreflights) List ¶
func (c *FakePreflights) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.PreflightList, err error)
List takes label and field selectors, and returns the list of Preflights that match those selectors.
func (*FakePreflights) Patch ¶
func (c *FakePreflights) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Preflight, err error)
Patch applies the patch and returns the patched preflight.
func (*FakePreflights) Update ¶
func (c *FakePreflights) Update(ctx context.Context, preflight *v1beta2.Preflight, opts v1.UpdateOptions) (result *v1beta2.Preflight, err error)
Update takes the representation of a preflight and updates it. Returns the server's representation of the preflight, and an error, if there is any.
func (*FakePreflights) UpdateStatus ¶
func (c *FakePreflights) UpdateStatus(ctx context.Context, preflight *v1beta2.Preflight, opts v1.UpdateOptions) (*v1beta2.Preflight, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePreflights) Watch ¶
func (c *FakePreflights) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested preflights.
type FakeRedactors ¶
type FakeRedactors struct { Fake *FakeTroubleshootV1beta2 // contains filtered or unexported fields }
FakeRedactors implements RedactorInterface
func (*FakeRedactors) Create ¶
func (c *FakeRedactors) Create(ctx context.Context, redactor *v1beta2.Redactor, opts v1.CreateOptions) (result *v1beta2.Redactor, err error)
Create takes the representation of a redactor and creates it. Returns the server's representation of the redactor, and an error, if there is any.
func (*FakeRedactors) Delete ¶
func (c *FakeRedactors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the redactor and deletes it. Returns an error if one occurs.
func (*FakeRedactors) DeleteCollection ¶
func (c *FakeRedactors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRedactors) Get ¶
func (c *FakeRedactors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Redactor, err error)
Get takes name of the redactor, and returns the corresponding redactor object, and an error if there is any.
func (*FakeRedactors) List ¶
func (c *FakeRedactors) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.RedactorList, err error)
List takes label and field selectors, and returns the list of Redactors that match those selectors.
func (*FakeRedactors) Patch ¶
func (c *FakeRedactors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Redactor, err error)
Patch applies the patch and returns the patched redactor.
func (*FakeRedactors) Update ¶
func (c *FakeRedactors) Update(ctx context.Context, redactor *v1beta2.Redactor, opts v1.UpdateOptions) (result *v1beta2.Redactor, err error)
Update takes the representation of a redactor and updates it. Returns the server's representation of the redactor, and an error, if there is any.
func (*FakeRedactors) UpdateStatus ¶
func (c *FakeRedactors) UpdateStatus(ctx context.Context, redactor *v1beta2.Redactor, opts v1.UpdateOptions) (*v1beta2.Redactor, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRedactors) Watch ¶
func (c *FakeRedactors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested redactors.
type FakeRemoteCollectors ¶ added in v0.17.0
type FakeRemoteCollectors struct { Fake *FakeTroubleshootV1beta2 // contains filtered or unexported fields }
FakeRemoteCollectors implements RemoteCollectorInterface
func (*FakeRemoteCollectors) Create ¶ added in v0.17.0
func (c *FakeRemoteCollectors) Create(ctx context.Context, remoteCollector *v1beta2.RemoteCollector, opts v1.CreateOptions) (result *v1beta2.RemoteCollector, err error)
Create takes the representation of a remoteCollector and creates it. Returns the server's representation of the remoteCollector, and an error, if there is any.
func (*FakeRemoteCollectors) Delete ¶ added in v0.17.0
func (c *FakeRemoteCollectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the remoteCollector and deletes it. Returns an error if one occurs.
func (*FakeRemoteCollectors) DeleteCollection ¶ added in v0.17.0
func (c *FakeRemoteCollectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRemoteCollectors) Get ¶ added in v0.17.0
func (c *FakeRemoteCollectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.RemoteCollector, err error)
Get takes name of the remoteCollector, and returns the corresponding remoteCollector object, and an error if there is any.
func (*FakeRemoteCollectors) List ¶ added in v0.17.0
func (c *FakeRemoteCollectors) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.RemoteCollectorList, err error)
List takes label and field selectors, and returns the list of RemoteCollectors that match those selectors.
func (*FakeRemoteCollectors) Patch ¶ added in v0.17.0
func (c *FakeRemoteCollectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.RemoteCollector, err error)
Patch applies the patch and returns the patched remoteCollector.
func (*FakeRemoteCollectors) Update ¶ added in v0.17.0
func (c *FakeRemoteCollectors) Update(ctx context.Context, remoteCollector *v1beta2.RemoteCollector, opts v1.UpdateOptions) (result *v1beta2.RemoteCollector, err error)
Update takes the representation of a remoteCollector and updates it. Returns the server's representation of the remoteCollector, and an error, if there is any.
func (*FakeRemoteCollectors) UpdateStatus ¶ added in v0.17.0
func (c *FakeRemoteCollectors) UpdateStatus(ctx context.Context, remoteCollector *v1beta2.RemoteCollector, opts v1.UpdateOptions) (*v1beta2.RemoteCollector, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRemoteCollectors) Watch ¶ added in v0.17.0
func (c *FakeRemoteCollectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested remoteCollectors.
type FakeSupportBundles ¶
type FakeSupportBundles struct { Fake *FakeTroubleshootV1beta2 // contains filtered or unexported fields }
FakeSupportBundles implements SupportBundleInterface
func (*FakeSupportBundles) Create ¶
func (c *FakeSupportBundles) Create(ctx context.Context, supportBundle *v1beta2.SupportBundle, opts v1.CreateOptions) (result *v1beta2.SupportBundle, err error)
Create takes the representation of a supportBundle and creates it. Returns the server's representation of the supportBundle, and an error, if there is any.
func (*FakeSupportBundles) Delete ¶
func (c *FakeSupportBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the supportBundle and deletes it. Returns an error if one occurs.
func (*FakeSupportBundles) DeleteCollection ¶
func (c *FakeSupportBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSupportBundles) Get ¶
func (c *FakeSupportBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.SupportBundle, err error)
Get takes name of the supportBundle, and returns the corresponding supportBundle object, and an error if there is any.
func (*FakeSupportBundles) List ¶
func (c *FakeSupportBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SupportBundleList, err error)
List takes label and field selectors, and returns the list of SupportBundles that match those selectors.
func (*FakeSupportBundles) Patch ¶
func (c *FakeSupportBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.SupportBundle, err error)
Patch applies the patch and returns the patched supportBundle.
func (*FakeSupportBundles) Update ¶
func (c *FakeSupportBundles) Update(ctx context.Context, supportBundle *v1beta2.SupportBundle, opts v1.UpdateOptions) (result *v1beta2.SupportBundle, err error)
Update takes the representation of a supportBundle and updates it. Returns the server's representation of the supportBundle, and an error, if there is any.
func (*FakeSupportBundles) UpdateStatus ¶
func (c *FakeSupportBundles) UpdateStatus(ctx context.Context, supportBundle *v1beta2.SupportBundle, opts v1.UpdateOptions) (*v1beta2.SupportBundle, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSupportBundles) Watch ¶
func (c *FakeSupportBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested supportBundles.
type FakeTroubleshootV1beta2 ¶
func (*FakeTroubleshootV1beta2) Analyzers ¶
func (c *FakeTroubleshootV1beta2) Analyzers(namespace string) v1beta2.AnalyzerInterface
func (*FakeTroubleshootV1beta2) Collectors ¶
func (c *FakeTroubleshootV1beta2) Collectors(namespace string) v1beta2.CollectorInterface
func (*FakeTroubleshootV1beta2) HostCollectors ¶ added in v0.17.0
func (c *FakeTroubleshootV1beta2) HostCollectors(namespace string) v1beta2.HostCollectorInterface
func (*FakeTroubleshootV1beta2) HostPreflights ¶ added in v0.10.0
func (c *FakeTroubleshootV1beta2) HostPreflights(namespace string) v1beta2.HostPreflightInterface
func (*FakeTroubleshootV1beta2) Preflights ¶
func (c *FakeTroubleshootV1beta2) Preflights(namespace string) v1beta2.PreflightInterface
func (*FakeTroubleshootV1beta2) RESTClient ¶
func (c *FakeTroubleshootV1beta2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeTroubleshootV1beta2) Redactors ¶
func (c *FakeTroubleshootV1beta2) Redactors(namespace string) v1beta2.RedactorInterface
func (*FakeTroubleshootV1beta2) RemoteCollectors ¶ added in v0.17.0
func (c *FakeTroubleshootV1beta2) RemoteCollectors(namespace string) v1beta2.RemoteCollectorInterface
func (*FakeTroubleshootV1beta2) SupportBundles ¶
func (c *FakeTroubleshootV1beta2) SupportBundles(namespace string) v1beta2.SupportBundleInterface