stats

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CFProcessRepository

type CFProcessRepository interface {
	GetProcess(context.Context, authorization.Info, string) (repositories.ProcessRecord, error)
}

type LogCacheGaugesCollector

type LogCacheGaugesCollector struct {
	// contains filtered or unexported fields
}

func NewGaugesCollector

func NewGaugesCollector(logCacheURL string, httpClient *http.Client) *LogCacheGaugesCollector

func (*LogCacheGaugesCollector) CollectProcessGauges

func (c *LogCacheGaugesCollector) CollectProcessGauges(ctx context.Context, appGUID, processGUID string) ([]ProcessGauges, error)

type ProcessGauges

type ProcessGauges struct {
	Index     int
	CPU       *float64
	Mem       *int64
	Disk      *int64
	MemQuota  *int64
	DiskQuota *int64
}

type ProcessInstanceState

type ProcessInstanceState struct {
	ID        int
	Type      string
	State     korifiv1alpha1.InstanceState
	Timestamp *metav1.Time
}

type ProcessInstancesStateCollector

type ProcessInstancesStateCollector struct {
	// contains filtered or unexported fields
}

func NewProcessInstanceStateCollector

func NewProcessInstanceStateCollector(processRepo CFProcessRepository) *ProcessInstancesStateCollector

func (*ProcessInstancesStateCollector) CollectProcessInstancesStates

func (c *ProcessInstancesStateCollector) CollectProcessInstancesStates(ctx context.Context, processGUID string) ([]ProcessInstanceState, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL