@@ -84,14 +84,19 @@ type NodeResources struct {
8484}
8585
8686type NodeResourceFilters struct {
87- CPUCapacity string `json:"cpuCapacity,omitempty" yaml:"cpuCapacity,omitempty"`
88- CPUAllocatable string `json:"cpuAllocatable,omitempty" yaml:"cpuAllocatable,omitempty"`
89- MemoryCapacity string `json:"memoryCapacity,omitempty" yaml:"memoryCapacity,omitempty"`
90- MemoryAllocatable string `json:"memoryAllocatable,omitempty" yaml:"memoryAllocatable,omitempty"`
91- PodCapacity string `json:"podCapacity,omitempty" yaml:"podCapacity,omitempty"`
92- PodAllocatable string `json:"podAllocatable,omitempty" yaml:"podAllocatable,omitempty"`
93- EphemeralStorageCapacity string `json:"ephemeralStorageCapacity,omitempty" yaml:"ephemeralStorageCapacity,omitempty"`
94- EphemeralStorageAllocatable string `json:"ephemeralStorageAllocatable,omitempty" yaml:"ephemeralStorageAllocatable,omitempty"`
87+ CPUCapacity string `json:"cpuCapacity,omitempty" yaml:"cpuCapacity,omitempty"`
88+ CPUAllocatable string `json:"cpuAllocatable,omitempty" yaml:"cpuAllocatable,omitempty"`
89+ MemoryCapacity string `json:"memoryCapacity,omitempty" yaml:"memoryCapacity,omitempty"`
90+ MemoryAllocatable string `json:"memoryAllocatable,omitempty" yaml:"memoryAllocatable,omitempty"`
91+ PodCapacity string `json:"podCapacity,omitempty" yaml:"podCapacity,omitempty"`
92+ PodAllocatable string `json:"podAllocatable,omitempty" yaml:"podAllocatable,omitempty"`
93+ EphemeralStorageCapacity string `json:"ephemeralStorageCapacity,omitempty" yaml:"ephemeralStorageCapacity,omitempty"`
94+ EphemeralStorageAllocatable string `json:"ephemeralStorageAllocatable,omitempty" yaml:"ephemeralStorageAllocatable,omitempty"`
95+ Selector * NodeResourceSelectors `json:"selector,omitempty" yaml:"selector,omitempty"`
96+ }
97+
98+ type NodeResourceSelectors struct {
99+ MatchLabel map [string ]string `json:"matchLabel,omitempty" yaml:"matchLabel,omitempty"`
95100}
96101
97102type TextAnalyze struct {
0 commit comments