Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LimitRangeItem ¶ added in v1.5.0
type LimitRangeItem struct { // ResourceName usage constraints on this kind by resource name ResourceName string `json:"resourceName,omitempty"` // ResourceType of resource that this limit applies to ResourceType string `json:"resourceType,omitempty"` // Min usage constraints on this kind by resource name Min string `json:"min,omitempty"` // Max usage constraints on this kind by resource name Max string `json:"max,omitempty"` // Default resource requirement limit value by resource name. Default string `json:"default,omitempty"` // DefaultRequest resource requirement request value by resource name. DefaultRequest string `json:"defaultRequest,omitempty"` // MaxLimitRequestRatio represents the max burst value for the named resource MaxLimitRequestRatio string `json:"maxLimitRequestRatio,omitempty"` }
LimitRange provides resource limit range values
func ToLimitRanges ¶ added in v1.5.0
func ToLimitRanges(rawLimitRange *api.LimitRange) []LimitRangeItem
Click to show internal directories.
Click to hide internal directories.