Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ClientInterface // contains filtered or unexported fields }
Client is the client struct for Kiali Monitoring API over Kubernetes API to get MonitoringDashboards
func (*Client) GetDashboard ¶
func (in *Client) GetDashboard(namespace, name string) (*v1alpha1.MonitoringDashboard, error)
GetDashboard returns a MonitoringDashboard for the given name
func (*Client) GetDashboards ¶
func (in *Client) GetDashboards(namespace string) ([]v1alpha1.MonitoringDashboard, error)
GetDashboards returns all MonitoringDashboards from the given namespace
type ClientInterface ¶
type ClientInterface interface { GetDashboard(namespace string, name string) (*v1alpha1.MonitoringDashboard, error) GetDashboards(namespace string) ([]v1alpha1.MonitoringDashboard, error) }
ClientInterface for mocks (only mocked function are necessary here)
Click to show internal directories.
Click to hide internal directories.