Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskUsageFetcher ¶
type MetricsFetcherFn ¶
type MetricsFetcherFn func(guid string) (*v1beta1.PodMetricsList, error)
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func NewProxy ¶
func NewProxy(logger *log.Logger, metricsFetcherFn MetricsFetcherFn, diskUsageFetcher DiskUsageFetcher) *Proxy
func (*Proxy) Meta ¶
func (m *Proxy) Meta(context.Context, *logcache_v1.MetaRequest) (*logcache_v1.MetaResponse, error)
func (*Proxy) Read ¶
func (m *Proxy) Read(_ context.Context, req *logcache_v1.ReadRequest) (*logcache_v1.ReadResponse, error)
Directories ¶
Path | Synopsis |
---|---|
Package diskusage grabs pod disk usage from k8s
|
Package diskusage grabs pod disk usage from k8s |
diskusagefakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.