Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64Ptr ¶
Float64Ptr gives a pointer to a variable with the same value as f.
func Once ¶
func Once(src MetricsSource, gcm *v3.Service)
Once polls the backend and puts the data to the given service one time.
Types ¶
type MetricsSource ¶
type MetricsSource interface { GetTimeSeriesReq() (*v3.CreateTimeSeriesRequest, error) Name() string ProjectPath() string }
MetricsSource is an object that provides kubernetes metrics in Stackdriver format, probably from a backend like the kubelet.
Click to show internal directories.
Click to hide internal directories.