Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterAlertExpansion
- type ClusterAlertInterface
- type ClusterAlertsGetter
- type IncidentExpansion
- type IncidentInterface
- type IncidentsGetter
- type MonitoringV1alpha1Client
- func (c *MonitoringV1alpha1Client) ClusterAlerts(namespace string) ClusterAlertInterface
- func (c *MonitoringV1alpha1Client) Incidents(namespace string) IncidentInterface
- func (c *MonitoringV1alpha1Client) NodeAlerts(namespace string) NodeAlertInterface
- func (c *MonitoringV1alpha1Client) PodAlerts(namespace string) PodAlertInterface
- func (c *MonitoringV1alpha1Client) RESTClient() rest.Interface
- func (c *MonitoringV1alpha1Client) SearchlightPlugins() SearchlightPluginInterface
- type MonitoringV1alpha1Interface
- type NodeAlertExpansion
- type NodeAlertInterface
- type NodeAlertsGetter
- type PodAlertExpansion
- type PodAlertInterface
- type PodAlertsGetter
- type SearchlightPluginExpansion
- type SearchlightPluginInterface
- type SearchlightPluginsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterAlertExpansion ¶
type ClusterAlertExpansion interface{}
type ClusterAlertInterface ¶
type ClusterAlertInterface interface { Create(*v1alpha1.ClusterAlert) (*v1alpha1.ClusterAlert, error) Update(*v1alpha1.ClusterAlert) (*v1alpha1.ClusterAlert, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.ClusterAlert, error) List(opts v1.ListOptions) (*v1alpha1.ClusterAlertList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterAlert, err error) ClusterAlertExpansion }
ClusterAlertInterface has methods to work with ClusterAlert resources.
type ClusterAlertsGetter ¶
type ClusterAlertsGetter interface {
ClusterAlerts(namespace string) ClusterAlertInterface
}
ClusterAlertsGetter has a method to return a ClusterAlertInterface. A group's client should implement this interface.
type IncidentExpansion ¶
type IncidentExpansion interface{}
type IncidentInterface ¶
type IncidentInterface interface { Create(*v1alpha1.Incident) (*v1alpha1.Incident, error) Update(*v1alpha1.Incident) (*v1alpha1.Incident, error) UpdateStatus(*v1alpha1.Incident) (*v1alpha1.Incident, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Incident, error) List(opts v1.ListOptions) (*v1alpha1.IncidentList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Incident, err error) IncidentExpansion }
IncidentInterface has methods to work with Incident resources.
type IncidentsGetter ¶
type IncidentsGetter interface {
Incidents(namespace string) IncidentInterface
}
IncidentsGetter has a method to return a IncidentInterface. A group's client should implement this interface.
type MonitoringV1alpha1Client ¶
type MonitoringV1alpha1Client struct {
// contains filtered or unexported fields
}
MonitoringV1alpha1Client is used to interact with features provided by the monitoring.appscode.com group.
func New ¶
func New(c rest.Interface) *MonitoringV1alpha1Client
New creates a new MonitoringV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MonitoringV1alpha1Client, error)
NewForConfig creates a new MonitoringV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MonitoringV1alpha1Client
NewForConfigOrDie creates a new MonitoringV1alpha1Client for the given config and panics if there is an error in the config.
func (*MonitoringV1alpha1Client) ClusterAlerts ¶
func (c *MonitoringV1alpha1Client) ClusterAlerts(namespace string) ClusterAlertInterface
func (*MonitoringV1alpha1Client) Incidents ¶
func (c *MonitoringV1alpha1Client) Incidents(namespace string) IncidentInterface
func (*MonitoringV1alpha1Client) NodeAlerts ¶
func (c *MonitoringV1alpha1Client) NodeAlerts(namespace string) NodeAlertInterface
func (*MonitoringV1alpha1Client) PodAlerts ¶
func (c *MonitoringV1alpha1Client) PodAlerts(namespace string) PodAlertInterface
func (*MonitoringV1alpha1Client) RESTClient ¶
func (c *MonitoringV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*MonitoringV1alpha1Client) SearchlightPlugins ¶
func (c *MonitoringV1alpha1Client) SearchlightPlugins() SearchlightPluginInterface
type MonitoringV1alpha1Interface ¶
type MonitoringV1alpha1Interface interface { RESTClient() rest.Interface ClusterAlertsGetter IncidentsGetter NodeAlertsGetter PodAlertsGetter SearchlightPluginsGetter }
type NodeAlertExpansion ¶
type NodeAlertExpansion interface{}
type NodeAlertInterface ¶
type NodeAlertInterface interface { Create(*v1alpha1.NodeAlert) (*v1alpha1.NodeAlert, error) Update(*v1alpha1.NodeAlert) (*v1alpha1.NodeAlert, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.NodeAlert, error) List(opts v1.ListOptions) (*v1alpha1.NodeAlertList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodeAlert, err error) NodeAlertExpansion }
NodeAlertInterface has methods to work with NodeAlert resources.
type NodeAlertsGetter ¶
type NodeAlertsGetter interface {
NodeAlerts(namespace string) NodeAlertInterface
}
NodeAlertsGetter has a method to return a NodeAlertInterface. A group's client should implement this interface.
type PodAlertExpansion ¶
type PodAlertExpansion interface{}
type PodAlertInterface ¶
type PodAlertInterface interface { Create(*v1alpha1.PodAlert) (*v1alpha1.PodAlert, error) Update(*v1alpha1.PodAlert) (*v1alpha1.PodAlert, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.PodAlert, error) List(opts v1.ListOptions) (*v1alpha1.PodAlertList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PodAlert, err error) PodAlertExpansion }
PodAlertInterface has methods to work with PodAlert resources.
type PodAlertsGetter ¶
type PodAlertsGetter interface {
PodAlerts(namespace string) PodAlertInterface
}
PodAlertsGetter has a method to return a PodAlertInterface. A group's client should implement this interface.
type SearchlightPluginExpansion ¶
type SearchlightPluginExpansion interface{}
type SearchlightPluginInterface ¶
type SearchlightPluginInterface interface { Create(*v1alpha1.SearchlightPlugin) (*v1alpha1.SearchlightPlugin, error) Update(*v1alpha1.SearchlightPlugin) (*v1alpha1.SearchlightPlugin, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.SearchlightPlugin, error) List(opts v1.ListOptions) (*v1alpha1.SearchlightPluginList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SearchlightPlugin, err error) SearchlightPluginExpansion }
SearchlightPluginInterface has methods to work with SearchlightPlugin resources.
type SearchlightPluginsGetter ¶
type SearchlightPluginsGetter interface {
SearchlightPlugins() SearchlightPluginInterface
}
SearchlightPluginsGetter has a method to return a SearchlightPluginInterface. A group's client should implement this interface.