Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Janitor ¶ added in v1.121.0
type Janitor struct {
// contains filtered or unexported fields
}
Janitor removes KubeModelSet files from storage that exceed the retention period for each resolution. Retention durations are read from the standard RESOLUTION_*_RETENTION env vars.
func NewJanitor ¶ added in v1.121.0
func NewJanitor(store storage.Storage, appName, clusterId string, resolutions []time.Duration) *Janitor
NewJanitor creates a Janitor for the given storage backend, cluster, and active resolutions.
type Pipeline ¶ added in v1.121.0
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline manages the KubeModel export controller group and the retention janitor.
func NewPipeline ¶ added in v1.121.0
func NewPipeline(appName, clusterUID string, store storage.Storage, cm ocexporter.ComputePipelineSource) (*Pipeline, error)
NewPipeline creates a new pipeline with preset settings
Click to show internal directories.
Click to hide internal directories.