Documentation ¶
Index ¶
- func Execute(opts *CostModelOpts) error
- func GetLogLevel(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func Healthz(w http.ResponseWriter, _ *http.Request, _ httprouter.Params)
- func SetLogLevel(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func StartExportWorker(ctx context.Context, model costmodel.AllocationModel) error
- type CostModelOpts
- type LogLevelRequestResponse
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"`
}
Click to show internal directories.
Click to hide internal directories.