forked from kubernetes-client/go
/
v1_limit_range_item.go
32 lines (24 loc) · 1.3 KB
/
v1_limit_range_item.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
type V1LimitRangeItem struct {
// Default resource requirement limit value by resource name if resource limit is omitted.
Default_ map[string]string `json:"default,omitempty"`
// DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
DefaultRequest map[string]string `json:"defaultRequest,omitempty"`
// Max usage constraints on this kind by resource name.
Max map[string]string `json:"max,omitempty"`
// MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
MaxLimitRequestRatio map[string]string `json:"maxLimitRequestRatio,omitempty"`
// Min usage constraints on this kind by resource name.
Min map[string]string `json:"min,omitempty"`
// Type of resource that this limit applies to.
Type_ string `json:"type,omitempty"`
}