Documentation
¶
Index ¶
- type Client
- func (cli *Client) Cluster() types.Cluster
- func (cli *Client) Component() types.Component
- func (cli *Client) Container(namespace, pod, name, filter string) types.Container
- func (cli *Client) GetMetadata(namespace string) []types.Metadata
- func (cli *Client) GetMetricLabelSet(expr string, start, end time.Time) []map[string]string
- func (cli *Client) Namespace(workspace, name, filter string) types.Namespace
- func (cli *Client) Node(name, filter string) types.Node
- func (cli *Client) PVC(namespace, storageClass, name, filter string) types.PVC
- func (cli *Client) Pod(node, namespace, workloadKind, workloadName, name, filter string) types.Pod
- func (cli *Client) Query(expr string) types.MetricQuery
- func (cli *Client) Workload(namespace, kind, filter string) types.Workload
- func (cli *Client) Workspace(name, filter string) types.Workspace
- type Options
- type Query
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
prometheusapiv1.API
}
func (*Client) GetMetadata ¶
TODO: this interface bound to implementation
func (*Client) GetMetricLabelSet ¶
Click to show internal directories.
Click to hide internal directories.