costmodel

package
v1.113.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(opts *CostModelOpts) error

func GetLogLevel added in v1.111.0

func GetLogLevel(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func Healthz

func Healthz(w http.ResponseWriter, _ *http.Request, _ httprouter.Params)

func SetLogLevel added in v1.111.0

func SetLogLevel(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func StartExportWorker added in v1.103.0

func StartExportWorker(ctx context.Context, model costmodel.AllocationModel) error

Types

type CostModelOpts

type CostModelOpts struct {
}

CostModelOpts contain configuration options that can be passed to the Execute() method

type LogLevelRequestResponse added in v1.111.0

type LogLevelRequestResponse struct {
	Level string `json:"level"`
}

Jump to

Keyboard shortcuts

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