Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AlertNotificationExpansion
- type AlertNotificationInterface
- type AlertNotificationsGetter
- type DashboardExpansion
- type DashboardInterface
- type DashboardsGetter
- type DataSourceExpansion
- type DataSourceInterface
- type DataSourcesGetter
- type FolderExpansion
- type FolderInterface
- type FoldersGetter
- type GrafanaV1alpha1Client
- func (c *GrafanaV1alpha1Client) AlertNotifications(namespace string) AlertNotificationInterface
- func (c *GrafanaV1alpha1Client) Dashboards(namespace string) DashboardInterface
- func (c *GrafanaV1alpha1Client) DataSources(namespace string) DataSourceInterface
- func (c *GrafanaV1alpha1Client) Folders(namespace string) FolderInterface
- func (c *GrafanaV1alpha1Client) RESTClient() rest.Interface
- type GrafanaV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertNotificationExpansion ¶
type AlertNotificationExpansion interface{}
type AlertNotificationInterface ¶
type AlertNotificationInterface interface { Create(*v1alpha1.AlertNotification) (*v1alpha1.AlertNotification, error) Update(*v1alpha1.AlertNotification) (*v1alpha1.AlertNotification, error) UpdateStatus(*v1alpha1.AlertNotification) (*v1alpha1.AlertNotification, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.AlertNotification, error) List(opts v1.ListOptions) (*v1alpha1.AlertNotificationList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AlertNotification, err error) AlertNotificationExpansion }
AlertNotificationInterface has methods to work with AlertNotification resources.
type AlertNotificationsGetter ¶
type AlertNotificationsGetter interface {
AlertNotifications(namespace string) AlertNotificationInterface
}
AlertNotificationsGetter has a method to return a AlertNotificationInterface. A group's client should implement this interface.
type DashboardExpansion ¶
type DashboardExpansion interface{}
type DashboardInterface ¶
type DashboardInterface interface { Create(*v1alpha1.Dashboard) (*v1alpha1.Dashboard, error) Update(*v1alpha1.Dashboard) (*v1alpha1.Dashboard, error) UpdateStatus(*v1alpha1.Dashboard) (*v1alpha1.Dashboard, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Dashboard, error) List(opts v1.ListOptions) (*v1alpha1.DashboardList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Dashboard, err error) DashboardExpansion }
DashboardInterface has methods to work with Dashboard resources.
type DashboardsGetter ¶
type DashboardsGetter interface {
Dashboards(namespace string) DashboardInterface
}
DashboardsGetter has a method to return a DashboardInterface. A group's client should implement this interface.
type DataSourceExpansion ¶
type DataSourceExpansion interface{}
type DataSourceInterface ¶
type DataSourceInterface interface { Create(*v1alpha1.DataSource) (*v1alpha1.DataSource, error) Update(*v1alpha1.DataSource) (*v1alpha1.DataSource, error) UpdateStatus(*v1alpha1.DataSource) (*v1alpha1.DataSource, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.DataSource, error) List(opts v1.ListOptions) (*v1alpha1.DataSourceList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DataSource, err error) DataSourceExpansion }
DataSourceInterface has methods to work with DataSource resources.
type DataSourcesGetter ¶
type DataSourcesGetter interface {
DataSources(namespace string) DataSourceInterface
}
DataSourcesGetter has a method to return a DataSourceInterface. A group's client should implement this interface.
type FolderExpansion ¶
type FolderExpansion interface{}
type FolderInterface ¶
type FolderInterface interface { Create(*v1alpha1.Folder) (*v1alpha1.Folder, error) Update(*v1alpha1.Folder) (*v1alpha1.Folder, error) UpdateStatus(*v1alpha1.Folder) (*v1alpha1.Folder, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Folder, error) List(opts v1.ListOptions) (*v1alpha1.FolderList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Folder, err error) FolderExpansion }
FolderInterface has methods to work with Folder resources.
type FoldersGetter ¶
type FoldersGetter interface {
Folders(namespace string) FolderInterface
}
FoldersGetter has a method to return a FolderInterface. A group's client should implement this interface.
type GrafanaV1alpha1Client ¶
type GrafanaV1alpha1Client struct {
// contains filtered or unexported fields
}
GrafanaV1alpha1Client is used to interact with features provided by the grafana.com group.
func New ¶
func New(c rest.Interface) *GrafanaV1alpha1Client
New creates a new GrafanaV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*GrafanaV1alpha1Client, error)
NewForConfig creates a new GrafanaV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *GrafanaV1alpha1Client
NewForConfigOrDie creates a new GrafanaV1alpha1Client for the given config and panics if there is an error in the config.
func (*GrafanaV1alpha1Client) AlertNotifications ¶
func (c *GrafanaV1alpha1Client) AlertNotifications(namespace string) AlertNotificationInterface
func (*GrafanaV1alpha1Client) Dashboards ¶
func (c *GrafanaV1alpha1Client) Dashboards(namespace string) DashboardInterface
func (*GrafanaV1alpha1Client) DataSources ¶
func (c *GrafanaV1alpha1Client) DataSources(namespace string) DataSourceInterface
func (*GrafanaV1alpha1Client) Folders ¶
func (c *GrafanaV1alpha1Client) Folders(namespace string) FolderInterface
func (*GrafanaV1alpha1Client) RESTClient ¶
func (c *GrafanaV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type GrafanaV1alpha1Interface ¶
type GrafanaV1alpha1Interface interface { RESTClient() rest.Interface AlertNotificationsGetter DashboardsGetter DataSourcesGetter FoldersGetter }