Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ArbiterV1alpha1Client
- func (c *ArbiterV1alpha1Client) ObservabilityActionPolicies(namespace string) ObservabilityActionPolicyInterface
- func (c *ArbiterV1alpha1Client) ObservabilityIndicants(namespace string) ObservabilityIndicantInterface
- func (c *ArbiterV1alpha1Client) RESTClient() rest.Interface
- func (c *ArbiterV1alpha1Client) Schedulers(namespace string) SchedulerInterface
- func (c *ArbiterV1alpha1Client) Scores(namespace string) ScoreInterface
- type ArbiterV1alpha1Interface
- type ObservabilityActionPoliciesGetter
- type ObservabilityActionPolicyExpansion
- type ObservabilityActionPolicyInterface
- type ObservabilityIndicantExpansion
- type ObservabilityIndicantInterface
- type ObservabilityIndicantsGetter
- type SchedulerExpansion
- type SchedulerInterface
- type SchedulersGetter
- type ScoreExpansion
- type ScoreInterface
- type ScoresGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArbiterV1alpha1Client ¶
type ArbiterV1alpha1Client struct {
// contains filtered or unexported fields
}
ArbiterV1alpha1Client is used to interact with features provided by the arbiter.k8s.com.cn group.
func New ¶
func New(c rest.Interface) *ArbiterV1alpha1Client
New creates a new ArbiterV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ArbiterV1alpha1Client, error)
NewForConfig creates a new ArbiterV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new ArbiterV1alpha1Client 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) *ArbiterV1alpha1Client
NewForConfigOrDie creates a new ArbiterV1alpha1Client for the given config and panics if there is an error in the config.
func (*ArbiterV1alpha1Client) ObservabilityActionPolicies ¶
func (c *ArbiterV1alpha1Client) ObservabilityActionPolicies(namespace string) ObservabilityActionPolicyInterface
func (*ArbiterV1alpha1Client) ObservabilityIndicants ¶
func (c *ArbiterV1alpha1Client) ObservabilityIndicants(namespace string) ObservabilityIndicantInterface
func (*ArbiterV1alpha1Client) RESTClient ¶
func (c *ArbiterV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ArbiterV1alpha1Client) Schedulers ¶
func (c *ArbiterV1alpha1Client) Schedulers(namespace string) SchedulerInterface
func (*ArbiterV1alpha1Client) Scores ¶
func (c *ArbiterV1alpha1Client) Scores(namespace string) ScoreInterface
type ArbiterV1alpha1Interface ¶
type ArbiterV1alpha1Interface interface { RESTClient() rest.Interface ObservabilityActionPoliciesGetter ObservabilityIndicantsGetter SchedulersGetter ScoresGetter }
type ObservabilityActionPoliciesGetter ¶
type ObservabilityActionPoliciesGetter interface {
ObservabilityActionPolicies(namespace string) ObservabilityActionPolicyInterface
}
ObservabilityActionPoliciesGetter has a method to return a ObservabilityActionPolicyInterface. A group's client should implement this interface.
type ObservabilityActionPolicyExpansion ¶
type ObservabilityActionPolicyExpansion interface{}
type ObservabilityActionPolicyInterface ¶
type ObservabilityActionPolicyInterface interface { Create(ctx context.Context, observabilityActionPolicy *v1alpha1.ObservabilityActionPolicy, opts v1.CreateOptions) (*v1alpha1.ObservabilityActionPolicy, error) Update(ctx context.Context, observabilityActionPolicy *v1alpha1.ObservabilityActionPolicy, opts v1.UpdateOptions) (*v1alpha1.ObservabilityActionPolicy, 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) (*v1alpha1.ObservabilityActionPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ObservabilityActionPolicyList, 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 *v1alpha1.ObservabilityActionPolicy, err error) ObservabilityActionPolicyExpansion }
ObservabilityActionPolicyInterface has methods to work with ObservabilityActionPolicy resources.
type ObservabilityIndicantExpansion ¶
type ObservabilityIndicantExpansion interface{}
type ObservabilityIndicantInterface ¶
type ObservabilityIndicantInterface interface { Create(ctx context.Context, observabilityIndicant *v1alpha1.ObservabilityIndicant, opts v1.CreateOptions) (*v1alpha1.ObservabilityIndicant, error) Update(ctx context.Context, observabilityIndicant *v1alpha1.ObservabilityIndicant, opts v1.UpdateOptions) (*v1alpha1.ObservabilityIndicant, 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) (*v1alpha1.ObservabilityIndicant, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ObservabilityIndicantList, 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 *v1alpha1.ObservabilityIndicant, err error) ObservabilityIndicantExpansion }
ObservabilityIndicantInterface has methods to work with ObservabilityIndicant resources.
type ObservabilityIndicantsGetter ¶
type ObservabilityIndicantsGetter interface {
ObservabilityIndicants(namespace string) ObservabilityIndicantInterface
}
ObservabilityIndicantsGetter has a method to return a ObservabilityIndicantInterface. A group's client should implement this interface.
type SchedulerExpansion ¶
type SchedulerExpansion interface{}
type SchedulerInterface ¶
type SchedulerInterface interface { Create(ctx context.Context, scheduler *v1alpha1.Scheduler, opts v1.CreateOptions) (*v1alpha1.Scheduler, error) Update(ctx context.Context, scheduler *v1alpha1.Scheduler, opts v1.UpdateOptions) (*v1alpha1.Scheduler, 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) (*v1alpha1.Scheduler, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SchedulerList, 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 *v1alpha1.Scheduler, err error) SchedulerExpansion }
SchedulerInterface has methods to work with Scheduler resources.
type SchedulersGetter ¶
type SchedulersGetter interface {
Schedulers(namespace string) SchedulerInterface
}
SchedulersGetter has a method to return a SchedulerInterface. A group's client should implement this interface.
type ScoreExpansion ¶
type ScoreExpansion interface{}
type ScoreInterface ¶
type ScoreInterface interface { Create(ctx context.Context, score *v1alpha1.Score, opts v1.CreateOptions) (*v1alpha1.Score, error) Update(ctx context.Context, score *v1alpha1.Score, opts v1.UpdateOptions) (*v1alpha1.Score, error) UpdateStatus(ctx context.Context, score *v1alpha1.Score, opts v1.UpdateOptions) (*v1alpha1.Score, 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) (*v1alpha1.Score, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ScoreList, 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 *v1alpha1.Score, err error) ScoreExpansion }
ScoreInterface has methods to work with Score resources.
type ScoresGetter ¶
type ScoresGetter interface {
Scores(namespace string) ScoreInterface
}
ScoresGetter has a method to return a ScoreInterface. A group's client should implement this interface.