Documentation ¶
Index ¶
- Constants
- func Available() sets.Set[string]
- func CollectKubeletConfig(ctx context.Context, cli client.Client, data *ValidatorData) error
- func CollectNodeResourceTopologies(ctx context.Context, _ client.Client, data *ValidatorData) error
- func CollectPodStatus(ctx context.Context, cli client.Client, data *ValidatorData) error
- func CollectSchedCache(ctx context.Context, cli client.Client, data *ValidatorData) error
- func Collectors() map[string]CollectFunc
- func GetKubeletConfigurationsFromTASEnabledNodes(ctx context.Context, cli client.Client) (map[string]*kubeletconfigv1beta1.KubeletConfiguration, error)
- func GetNodesByLabels(ctx context.Context, cli client.Client, userLabels string) (sets.Set[string], error)
- func GetNodesByNRO(ctx context.Context, cli client.Client) (sets.Set[string], error)
- func IsNodeResourceTopologyCRDMissing(err error) bool
- func Requested(what string) (sets.Set[string], error)
- func ValidateKubeletConfig(data ValidatorData) ([]deployervalidator.ValidationResult, error)
- func ValidateNodeResourceTopologies(data ValidatorData) ([]deployervalidator.ValidationResult, error)
- func ValidatePodStatus(data ValidatorData) ([]deployervalidator.ValidationResult, error)
- func ValidateSchedCache(data ValidatorData) ([]deployervalidator.ValidationResult, error)
- func Validators() map[string]ValidateFunc
- type CollectFunc
- type Report
- type ValidateFunc
- type ValidatorData
Constants ¶
View Source
const (
ValidatorKubeletConfig = "k8scfg"
)
View Source
const (
ValidatorNodeResourceTopologies = "nrt"
)
View Source
const (
ValidatorPodStatus = "podst"
)
View Source
const (
ValidatorSchedCache = "schedcache"
)
Variables ¶
This section is empty.
Functions ¶
func CollectKubeletConfig ¶
func CollectPodStatus ¶
func CollectSchedCache ¶
func Collectors ¶
func Collectors() map[string]CollectFunc
func GetKubeletConfigurationsFromTASEnabledNodes ¶
func GetKubeletConfigurationsFromTASEnabledNodes(ctx context.Context, cli client.Client) (map[string]*kubeletconfigv1beta1.KubeletConfiguration, error)
func GetNodesByLabels ¶
func GetNodesByNRO ¶
func ValidateKubeletConfig ¶
func ValidateKubeletConfig(data ValidatorData) ([]deployervalidator.ValidationResult, error)
func ValidateNodeResourceTopologies ¶
func ValidateNodeResourceTopologies(data ValidatorData) ([]deployervalidator.ValidationResult, error)
func ValidatePodStatus ¶
func ValidatePodStatus(data ValidatorData) ([]deployervalidator.ValidationResult, error)
func ValidateSchedCache ¶
func ValidateSchedCache(data ValidatorData) ([]deployervalidator.ValidationResult, error)
func Validators ¶
func Validators() map[string]ValidateFunc
Types ¶
type CollectFunc ¶
type Report ¶
type Report struct { Succeeded bool `json:"succeeded"` Errors []deployervalidator.ValidationResult `json:"errors,omitempty"` }
func Validate ¶
func Validate(data ValidatorData) (Report, error)
type ValidateFunc ¶
type ValidateFunc func(data ValidatorData) ([]validator.ValidationResult, error)
Click to show internal directories.
Click to hide internal directories.