validator

package
v0.5.17 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUAdvisorValidator

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

func NewCPUAdvisorValidator

func NewCPUAdvisorValidator(state state.State, machineInfo *machine.KatalystMachineInfo) *CPUAdvisorValidator

func (*CPUAdvisorValidator) Validate

func (*CPUAdvisorValidator) ValidateRequest added in v0.5.17

func (c *CPUAdvisorValidator) ValidateRequest(req *advisorapi.GetAdviceRequest) error

ValidateRequest validates the GetAdvice request. We validate the request because we cannot infer the container metadata from sys-advisor response.

Jump to

Keyboard shortcuts

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