kubemodel

package
v1.119.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeModel

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

func NewKubeModel

func NewKubeModel(clusterUID string, dataSource source.OpenCostDataSource) (*KubeModel, error)

func (*KubeModel) ComputeKubeModelSet

func (km *KubeModel) ComputeKubeModelSet(start, end time.Time) (*kubemodel.KubeModelSet, error)

ComputeKubeModel uses the CostModel instance to compute an KubeModelSet for the window defined by the given start and end times. The KubeModels returned are unaggregated (i.e. down to the container level).

Jump to

Keyboard shortcuts

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