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 (c *CPUAdvisorValidator) Validate(resp *advisorapi.ListAndWatchResponse) error
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.
Click to show internal directories.
Click to hide internal directories.