v1beta2

package
v0.92.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyzerExpansion

type AnalyzerExpansion interface{}

type AnalyzerInterface

type AnalyzerInterface interface {
	Create(ctx context.Context, analyzer *v1beta2.Analyzer, opts v1.CreateOptions) (*v1beta2.Analyzer, error)
	Update(ctx context.Context, analyzer *v1beta2.Analyzer, opts v1.UpdateOptions) (*v1beta2.Analyzer, error)
	UpdateStatus(ctx context.Context, analyzer *v1beta2.Analyzer, opts v1.UpdateOptions) (*v1beta2.Analyzer, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.Analyzer, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.AnalyzerList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Analyzer, err error)
	AnalyzerExpansion
}

AnalyzerInterface has methods to work with Analyzer resources.

type AnalyzersGetter

type AnalyzersGetter interface {
	Analyzers(namespace string) AnalyzerInterface
}

AnalyzersGetter has a method to return a AnalyzerInterface. A group's client should implement this interface.

type CollectorExpansion

type CollectorExpansion interface{}

type CollectorInterface

type CollectorInterface interface {
	Create(ctx context.Context, collector *v1beta2.Collector, opts v1.CreateOptions) (*v1beta2.Collector, error)
	Update(ctx context.Context, collector *v1beta2.Collector, opts v1.UpdateOptions) (*v1beta2.Collector, error)
	UpdateStatus(ctx context.Context, collector *v1beta2.Collector, opts v1.UpdateOptions) (*v1beta2.Collector, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.Collector, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.CollectorList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Collector, err error)
	CollectorExpansion
}

CollectorInterface has methods to work with Collector resources.

type CollectorsGetter

type CollectorsGetter interface {
	Collectors(namespace string) CollectorInterface
}

CollectorsGetter has a method to return a CollectorInterface. A group's client should implement this interface.

type HostCollectorExpansion added in v0.17.0

type HostCollectorExpansion interface{}

type HostCollectorInterface added in v0.17.0

type HostCollectorInterface interface {
	Create(ctx context.Context, hostCollector *v1beta2.HostCollector, opts v1.CreateOptions) (*v1beta2.HostCollector, error)
	Update(ctx context.Context, hostCollector *v1beta2.HostCollector, opts v1.UpdateOptions) (*v1beta2.HostCollector, error)
	UpdateStatus(ctx context.Context, hostCollector *v1beta2.HostCollector, opts v1.UpdateOptions) (*v1beta2.HostCollector, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.HostCollector, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.HostCollectorList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.HostCollector, err error)
	HostCollectorExpansion
}

HostCollectorInterface has methods to work with HostCollector resources.

type HostCollectorsGetter added in v0.17.0

type HostCollectorsGetter interface {
	HostCollectors(namespace string) HostCollectorInterface
}

HostCollectorsGetter has a method to return a HostCollectorInterface. A group's client should implement this interface.

type HostPreflightExpansion added in v0.10.0

type HostPreflightExpansion interface{}

type HostPreflightInterface added in v0.10.0

type HostPreflightInterface interface {
	Create(ctx context.Context, hostPreflight *v1beta2.HostPreflight, opts v1.CreateOptions) (*v1beta2.HostPreflight, error)
	Update(ctx context.Context, hostPreflight *v1beta2.HostPreflight, opts v1.UpdateOptions) (*v1beta2.HostPreflight, error)
	UpdateStatus(ctx context.Context, hostPreflight *v1beta2.HostPreflight, opts v1.UpdateOptions) (*v1beta2.HostPreflight, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.HostPreflight, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.HostPreflightList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.HostPreflight, err error)
	HostPreflightExpansion
}

HostPreflightInterface has methods to work with HostPreflight resources.

type HostPreflightsGetter added in v0.10.0

type HostPreflightsGetter interface {
	HostPreflights(namespace string) HostPreflightInterface
}

HostPreflightsGetter has a method to return a HostPreflightInterface. A group's client should implement this interface.

type PreflightExpansion

type PreflightExpansion interface{}

type PreflightInterface

type PreflightInterface interface {
	Create(ctx context.Context, preflight *v1beta2.Preflight, opts v1.CreateOptions) (*v1beta2.Preflight, error)
	Update(ctx context.Context, preflight *v1beta2.Preflight, opts v1.UpdateOptions) (*v1beta2.Preflight, error)
	UpdateStatus(ctx context.Context, preflight *v1beta2.Preflight, opts v1.UpdateOptions) (*v1beta2.Preflight, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.Preflight, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.PreflightList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Preflight, err error)
	PreflightExpansion
}

PreflightInterface has methods to work with Preflight resources.

type PreflightsGetter

type PreflightsGetter interface {
	Preflights(namespace string) PreflightInterface
}

PreflightsGetter has a method to return a PreflightInterface. A group's client should implement this interface.

type RedactorExpansion

type RedactorExpansion interface{}

type RedactorInterface

type RedactorInterface interface {
	Create(ctx context.Context, redactor *v1beta2.Redactor, opts v1.CreateOptions) (*v1beta2.Redactor, error)
	Update(ctx context.Context, redactor *v1beta2.Redactor, opts v1.UpdateOptions) (*v1beta2.Redactor, error)
	UpdateStatus(ctx context.Context, redactor *v1beta2.Redactor, opts v1.UpdateOptions) (*v1beta2.Redactor, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.Redactor, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.RedactorList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Redactor, err error)
	RedactorExpansion
}

RedactorInterface has methods to work with Redactor resources.

type RedactorsGetter

type RedactorsGetter interface {
	Redactors(namespace string) RedactorInterface
}

RedactorsGetter has a method to return a RedactorInterface. A group's client should implement this interface.

type RemoteCollectorExpansion added in v0.17.0

type RemoteCollectorExpansion interface{}

type RemoteCollectorInterface added in v0.17.0

type RemoteCollectorInterface interface {
	Create(ctx context.Context, remoteCollector *v1beta2.RemoteCollector, opts v1.CreateOptions) (*v1beta2.RemoteCollector, error)
	Update(ctx context.Context, remoteCollector *v1beta2.RemoteCollector, opts v1.UpdateOptions) (*v1beta2.RemoteCollector, error)
	UpdateStatus(ctx context.Context, remoteCollector *v1beta2.RemoteCollector, opts v1.UpdateOptions) (*v1beta2.RemoteCollector, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.RemoteCollector, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.RemoteCollectorList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.RemoteCollector, err error)
	RemoteCollectorExpansion
}

RemoteCollectorInterface has methods to work with RemoteCollector resources.

type RemoteCollectorsGetter added in v0.17.0

type RemoteCollectorsGetter interface {
	RemoteCollectors(namespace string) RemoteCollectorInterface
}

RemoteCollectorsGetter has a method to return a RemoteCollectorInterface. A group's client should implement this interface.

type SupportBundleExpansion

type SupportBundleExpansion interface{}

type SupportBundleInterface

type SupportBundleInterface interface {
	Create(ctx context.Context, supportBundle *v1beta2.SupportBundle, opts v1.CreateOptions) (*v1beta2.SupportBundle, error)
	Update(ctx context.Context, supportBundle *v1beta2.SupportBundle, opts v1.UpdateOptions) (*v1beta2.SupportBundle, error)
	UpdateStatus(ctx context.Context, supportBundle *v1beta2.SupportBundle, opts v1.UpdateOptions) (*v1beta2.SupportBundle, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta2.SupportBundle, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta2.SupportBundleList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.SupportBundle, err error)
	SupportBundleExpansion
}

SupportBundleInterface has methods to work with SupportBundle resources.

type SupportBundlesGetter

type SupportBundlesGetter interface {
	SupportBundles(namespace string) SupportBundleInterface
}

SupportBundlesGetter has a method to return a SupportBundleInterface. A group's client should implement this interface.

type TroubleshootV1beta2Client

type TroubleshootV1beta2Client struct {
	// contains filtered or unexported fields
}

TroubleshootV1beta2Client is used to interact with features provided by the troubleshoot.sh group.

func New

New creates a new TroubleshootV1beta2Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*TroubleshootV1beta2Client, error)

NewForConfig creates a new TroubleshootV1beta2Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v0.55.0

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*TroubleshootV1beta2Client, error)

NewForConfigAndClient creates a new TroubleshootV1beta2Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *TroubleshootV1beta2Client

NewForConfigOrDie creates a new TroubleshootV1beta2Client for the given config and panics if there is an error in the config.

func (*TroubleshootV1beta2Client) Analyzers

func (c *TroubleshootV1beta2Client) Analyzers(namespace string) AnalyzerInterface

func (*TroubleshootV1beta2Client) Collectors

func (c *TroubleshootV1beta2Client) Collectors(namespace string) CollectorInterface

func (*TroubleshootV1beta2Client) HostCollectors added in v0.17.0

func (c *TroubleshootV1beta2Client) HostCollectors(namespace string) HostCollectorInterface

func (*TroubleshootV1beta2Client) HostPreflights added in v0.10.0

func (c *TroubleshootV1beta2Client) HostPreflights(namespace string) HostPreflightInterface

func (*TroubleshootV1beta2Client) Preflights

func (c *TroubleshootV1beta2Client) Preflights(namespace string) PreflightInterface

func (*TroubleshootV1beta2Client) RESTClient

func (c *TroubleshootV1beta2Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*TroubleshootV1beta2Client) Redactors

func (c *TroubleshootV1beta2Client) Redactors(namespace string) RedactorInterface

func (*TroubleshootV1beta2Client) RemoteCollectors added in v0.17.0

func (c *TroubleshootV1beta2Client) RemoteCollectors(namespace string) RemoteCollectorInterface

func (*TroubleshootV1beta2Client) SupportBundles

func (c *TroubleshootV1beta2Client) SupportBundles(namespace string) SupportBundleInterface

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL