v1

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 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 ClusterPodMonitoringExpansion

type ClusterPodMonitoringExpansion interface{}

type ClusterPodMonitoringInterface

type ClusterPodMonitoringInterface interface {
	Create(ctx context.Context, clusterPodMonitoring *v1.ClusterPodMonitoring, opts metav1.CreateOptions) (*v1.ClusterPodMonitoring, error)
	Update(ctx context.Context, clusterPodMonitoring *v1.ClusterPodMonitoring, opts metav1.UpdateOptions) (*v1.ClusterPodMonitoring, error)
	UpdateStatus(ctx context.Context, clusterPodMonitoring *v1.ClusterPodMonitoring, opts metav1.UpdateOptions) (*v1.ClusterPodMonitoring, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ClusterPodMonitoring, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterPodMonitoringList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterPodMonitoring, err error)
	ClusterPodMonitoringExpansion
}

ClusterPodMonitoringInterface has methods to work with ClusterPodMonitoring resources.

type ClusterPodMonitoringsGetter

type ClusterPodMonitoringsGetter interface {
	ClusterPodMonitorings() ClusterPodMonitoringInterface
}

ClusterPodMonitoringsGetter has a method to return a ClusterPodMonitoringInterface. A group's client should implement this interface.

type ClusterRulesExpansion

type ClusterRulesExpansion interface{}

type ClusterRulesGetter

type ClusterRulesGetter interface {
	ClusterRules() ClusterRulesInterface
}

ClusterRulesGetter has a method to return a ClusterRulesInterface. A group's client should implement this interface.

type ClusterRulesInterface

type ClusterRulesInterface interface {
	Create(ctx context.Context, clusterRules *v1.ClusterRules, opts metav1.CreateOptions) (*v1.ClusterRules, error)
	Update(ctx context.Context, clusterRules *v1.ClusterRules, opts metav1.UpdateOptions) (*v1.ClusterRules, error)
	UpdateStatus(ctx context.Context, clusterRules *v1.ClusterRules, opts metav1.UpdateOptions) (*v1.ClusterRules, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ClusterRules, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterRulesList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterRules, err error)
	ClusterRulesExpansion
}

ClusterRulesInterface has methods to work with ClusterRules resources.

type GlobalRulesExpansion

type GlobalRulesExpansion interface{}

type GlobalRulesGetter

type GlobalRulesGetter interface {
	GlobalRules() GlobalRulesInterface
}

GlobalRulesGetter has a method to return a GlobalRulesInterface. A group's client should implement this interface.

type GlobalRulesInterface

type GlobalRulesInterface interface {
	Create(ctx context.Context, globalRules *v1.GlobalRules, opts metav1.CreateOptions) (*v1.GlobalRules, error)
	Update(ctx context.Context, globalRules *v1.GlobalRules, opts metav1.UpdateOptions) (*v1.GlobalRules, error)
	UpdateStatus(ctx context.Context, globalRules *v1.GlobalRules, opts metav1.UpdateOptions) (*v1.GlobalRules, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.GlobalRules, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.GlobalRulesList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GlobalRules, err error)
	GlobalRulesExpansion
}

GlobalRulesInterface has methods to work with GlobalRules resources.

type MonitoringV1Client

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

MonitoringV1Client is used to interact with features provided by the monitoring.googleapis.com group.

func New

New creates a new MonitoringV1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v0.4.1

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

NewForConfigAndClient creates a new MonitoringV1Client 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) *MonitoringV1Client

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

func (*MonitoringV1Client) ClusterPodMonitorings

func (c *MonitoringV1Client) ClusterPodMonitorings() ClusterPodMonitoringInterface

func (*MonitoringV1Client) ClusterRules

func (c *MonitoringV1Client) ClusterRules() ClusterRulesInterface

func (*MonitoringV1Client) GlobalRules

func (c *MonitoringV1Client) GlobalRules() GlobalRulesInterface

func (*MonitoringV1Client) OperatorConfigs

func (c *MonitoringV1Client) OperatorConfigs(namespace string) OperatorConfigInterface

func (*MonitoringV1Client) PodMonitorings

func (c *MonitoringV1Client) PodMonitorings(namespace string) PodMonitoringInterface

func (*MonitoringV1Client) RESTClient

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

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

func (*MonitoringV1Client) Rules

func (c *MonitoringV1Client) Rules(namespace string) RulesInterface

type OperatorConfigExpansion

type OperatorConfigExpansion interface{}

type OperatorConfigInterface

type OperatorConfigInterface interface {
	Create(ctx context.Context, operatorConfig *v1.OperatorConfig, opts metav1.CreateOptions) (*v1.OperatorConfig, error)
	Update(ctx context.Context, operatorConfig *v1.OperatorConfig, opts metav1.UpdateOptions) (*v1.OperatorConfig, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.OperatorConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.OperatorConfigList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.OperatorConfig, err error)
	OperatorConfigExpansion
}

OperatorConfigInterface has methods to work with OperatorConfig resources.

type OperatorConfigsGetter

type OperatorConfigsGetter interface {
	OperatorConfigs(namespace string) OperatorConfigInterface
}

OperatorConfigsGetter has a method to return a OperatorConfigInterface. A group's client should implement this interface.

type PodMonitoringExpansion

type PodMonitoringExpansion interface{}

type PodMonitoringInterface

type PodMonitoringInterface interface {
	Create(ctx context.Context, podMonitoring *v1.PodMonitoring, opts metav1.CreateOptions) (*v1.PodMonitoring, error)
	Update(ctx context.Context, podMonitoring *v1.PodMonitoring, opts metav1.UpdateOptions) (*v1.PodMonitoring, error)
	UpdateStatus(ctx context.Context, podMonitoring *v1.PodMonitoring, opts metav1.UpdateOptions) (*v1.PodMonitoring, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PodMonitoring, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PodMonitoringList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PodMonitoring, err error)
	PodMonitoringExpansion
}

PodMonitoringInterface has methods to work with PodMonitoring resources.

type PodMonitoringsGetter

type PodMonitoringsGetter interface {
	PodMonitorings(namespace string) PodMonitoringInterface
}

PodMonitoringsGetter has a method to return a PodMonitoringInterface. A group's client should implement this interface.

type RulesExpansion

type RulesExpansion interface{}

type RulesGetter

type RulesGetter interface {
	Rules(namespace string) RulesInterface
}

RulesGetter has a method to return a RulesInterface. A group's client should implement this interface.

type RulesInterface

type RulesInterface interface {
	Create(ctx context.Context, rules *v1.Rules, opts metav1.CreateOptions) (*v1.Rules, error)
	Update(ctx context.Context, rules *v1.Rules, opts metav1.UpdateOptions) (*v1.Rules, error)
	UpdateStatus(ctx context.Context, rules *v1.Rules, opts metav1.UpdateOptions) (*v1.Rules, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Rules, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RulesList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Rules, err error)
	RulesExpansion
}

RulesInterface has methods to work with Rules resources.

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