Merge pull request #81372 from alvaroaleman/bump-sets
Bump gengo to have set insert|delete return the set
This commit is contained in:
		
							
								
								
									
										4
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								go.mod
									
									
									
									
									
								
							| @@ -153,7 +153,7 @@ require ( | |||||||
| 	k8s.io/component-base v0.0.0 | 	k8s.io/component-base v0.0.0 | ||||||
| 	k8s.io/cri-api v0.0.0 | 	k8s.io/cri-api v0.0.0 | ||||||
| 	k8s.io/csi-translation-lib v0.0.0 | 	k8s.io/csi-translation-lib v0.0.0 | ||||||
| 	k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 | 	k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 | ||||||
| 	k8s.io/heapster v1.2.0-beta.1 | 	k8s.io/heapster v1.2.0-beta.1 | ||||||
| 	k8s.io/klog v0.4.0 | 	k8s.io/klog v0.4.0 | ||||||
| 	k8s.io/kube-aggregator v0.0.0 | 	k8s.io/kube-aggregator v0.0.0 | ||||||
| @@ -441,7 +441,7 @@ replace ( | |||||||
| 	k8s.io/component-base => ./staging/src/k8s.io/component-base | 	k8s.io/component-base => ./staging/src/k8s.io/component-base | ||||||
| 	k8s.io/cri-api => ./staging/src/k8s.io/cri-api | 	k8s.io/cri-api => ./staging/src/k8s.io/cri-api | ||||||
| 	k8s.io/csi-translation-lib => ./staging/src/k8s.io/csi-translation-lib | 	k8s.io/csi-translation-lib => ./staging/src/k8s.io/csi-translation-lib | ||||||
| 	k8s.io/gengo => k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 | 	k8s.io/gengo => k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 | ||||||
| 	k8s.io/heapster => k8s.io/heapster v1.2.0-beta.1 | 	k8s.io/heapster => k8s.io/heapster v1.2.0-beta.1 | ||||||
| 	k8s.io/klog => k8s.io/klog v0.4.0 | 	k8s.io/klog => k8s.io/klog v0.4.0 | ||||||
| 	k8s.io/kube-aggregator => ./staging/src/k8s.io/kube-aggregator | 	k8s.io/kube-aggregator => ./staging/src/k8s.io/kube-aggregator | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								go.sum
									
									
									
									
									
								
							| @@ -474,8 +474,8 @@ gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= | |||||||
| gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= | gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= | ||||||
| gotest.tools/gotestsum v0.3.5 h1:VePOWRsuWFYpfp/G8mbmOZKxO5T3501SEGQRUdvq7h0= | gotest.tools/gotestsum v0.3.5 h1:VePOWRsuWFYpfp/G8mbmOZKxO5T3501SEGQRUdvq7h0= | ||||||
| gotest.tools/gotestsum v0.3.5/go.mod h1:Mnf3e5FUzXbkCfynWBGOwLssY7gTQgCHObK9tMpAriY= | gotest.tools/gotestsum v0.3.5/go.mod h1:Mnf3e5FUzXbkCfynWBGOwLssY7gTQgCHObK9tMpAriY= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 h1:/gJp8cw8+k4AxBNGZ5u5eRoCOzH3WVpY02K654HNiyU= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
| k8s.io/heapster v1.2.0-beta.1 h1:lUsE/AHOMHpi3MLlBEkaU8Esxm5QhdyCrv1o7ot0s84= | k8s.io/heapster v1.2.0-beta.1 h1:lUsE/AHOMHpi3MLlBEkaU8Esxm5QhdyCrv1o7ot0s84= | ||||||
| k8s.io/heapster v1.2.0-beta.1/go.mod h1:h1uhptVXMwC8xtZBYsPXKVi8fpdlYkTs6k949KozGrM= | k8s.io/heapster v1.2.0-beta.1/go.mod h1:h1uhptVXMwC8xtZBYsPXKVi8fpdlYkTs6k949KozGrM= | ||||||
| k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | ||||||
|   | |||||||
| @@ -303,6 +303,8 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | |||||||
| gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= | gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 h1:/gJp8cw8+k4AxBNGZ5u5eRoCOzH3WVpY02K654HNiyU= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
| k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | ||||||
|   | |||||||
| @@ -46,17 +46,19 @@ func ByteKeySet(theMap interface{}) Byte { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Insert adds items to the set. | // Insert adds items to the set. | ||||||
| func (s Byte) Insert(items ...byte) { | func (s Byte) Insert(items ...byte) Byte { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		s[item] = Empty{} | 		s[item] = Empty{} | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Delete removes all items from the set. | // Delete removes all items from the set. | ||||||
| func (s Byte) Delete(items ...byte) { | func (s Byte) Delete(items ...byte) Byte { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		delete(s, item) | 		delete(s, item) | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Has returns true if and only if item is contained in the set. | // Has returns true if and only if item is contained in the set. | ||||||
|   | |||||||
| @@ -46,17 +46,19 @@ func IntKeySet(theMap interface{}) Int { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Insert adds items to the set. | // Insert adds items to the set. | ||||||
| func (s Int) Insert(items ...int) { | func (s Int) Insert(items ...int) Int { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		s[item] = Empty{} | 		s[item] = Empty{} | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Delete removes all items from the set. | // Delete removes all items from the set. | ||||||
| func (s Int) Delete(items ...int) { | func (s Int) Delete(items ...int) Int { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		delete(s, item) | 		delete(s, item) | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Has returns true if and only if item is contained in the set. | // Has returns true if and only if item is contained in the set. | ||||||
|   | |||||||
| @@ -46,17 +46,19 @@ func Int32KeySet(theMap interface{}) Int32 { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Insert adds items to the set. | // Insert adds items to the set. | ||||||
| func (s Int32) Insert(items ...int32) { | func (s Int32) Insert(items ...int32) Int32 { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		s[item] = Empty{} | 		s[item] = Empty{} | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Delete removes all items from the set. | // Delete removes all items from the set. | ||||||
| func (s Int32) Delete(items ...int32) { | func (s Int32) Delete(items ...int32) Int32 { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		delete(s, item) | 		delete(s, item) | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Has returns true if and only if item is contained in the set. | // Has returns true if and only if item is contained in the set. | ||||||
|   | |||||||
| @@ -46,17 +46,19 @@ func Int64KeySet(theMap interface{}) Int64 { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Insert adds items to the set. | // Insert adds items to the set. | ||||||
| func (s Int64) Insert(items ...int64) { | func (s Int64) Insert(items ...int64) Int64 { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		s[item] = Empty{} | 		s[item] = Empty{} | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Delete removes all items from the set. | // Delete removes all items from the set. | ||||||
| func (s Int64) Delete(items ...int64) { | func (s Int64) Delete(items ...int64) Int64 { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		delete(s, item) | 		delete(s, item) | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Has returns true if and only if item is contained in the set. | // Has returns true if and only if item is contained in the set. | ||||||
|   | |||||||
| @@ -46,17 +46,19 @@ func StringKeySet(theMap interface{}) String { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Insert adds items to the set. | // Insert adds items to the set. | ||||||
| func (s String) Insert(items ...string) { | func (s String) Insert(items ...string) String { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		s[item] = Empty{} | 		s[item] = Empty{} | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Delete removes all items from the set. | // Delete removes all items from the set. | ||||||
| func (s String) Delete(items ...string) { | func (s String) Delete(items ...string) String { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		delete(s, item) | 		delete(s, item) | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Has returns true if and only if item is contained in the set. | // Has returns true if and only if item is contained in the set. | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ require ( | |||||||
| 	github.com/spf13/pflag v1.0.3 | 	github.com/spf13/pflag v1.0.3 | ||||||
| 	gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485 | 	gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485 | ||||||
| 	gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e // indirect | 	gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e // indirect | ||||||
| 	k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 | 	k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 | ||||||
| 	k8s.io/klog v0.4.0 | 	k8s.io/klog v0.4.0 | ||||||
| 	k8s.io/kube-openapi v0.0.0-20190709113604-33be087ad058 | 	k8s.io/kube-openapi v0.0.0-20190709113604-33be087ad058 | ||||||
| ) | ) | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								staging/src/k8s.io/code-generator/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								staging/src/k8s.io/code-generator/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -95,6 +95,8 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= | |||||||
| gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 h1:/gJp8cw8+k4AxBNGZ5u5eRoCOzH3WVpY02K654HNiyU= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
| k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | ||||||
| k8s.io/klog v0.4.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= | k8s.io/klog v0.4.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								staging/src/k8s.io/kube-aggregator/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								staging/src/k8s.io/kube-aggregator/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -259,6 +259,8 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | |||||||
| gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= | gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 h1:/gJp8cw8+k4AxBNGZ5u5eRoCOzH3WVpY02K654HNiyU= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
| k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | ||||||
|   | |||||||
							
								
								
									
										1
									
								
								staging/src/k8s.io/kubectl/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1
									
								
								staging/src/k8s.io/kubectl/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -224,6 +224,7 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | |||||||
| gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= | gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= | ||||||
| gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= | gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
| k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								staging/src/k8s.io/metrics/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								staging/src/k8s.io/metrics/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -140,6 +140,8 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= | |||||||
| gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 h1:/gJp8cw8+k4AxBNGZ5u5eRoCOzH3WVpY02K654HNiyU= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
| k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								staging/src/k8s.io/node-api/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								staging/src/k8s.io/node-api/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -142,6 +142,8 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= | |||||||
| gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 h1:/gJp8cw8+k4AxBNGZ5u5eRoCOzH3WVpY02K654HNiyU= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
| k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								staging/src/k8s.io/sample-apiserver/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								staging/src/k8s.io/sample-apiserver/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -256,6 +256,8 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | |||||||
| gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= | gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 h1:/gJp8cw8+k4AxBNGZ5u5eRoCOzH3WVpY02K654HNiyU= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
| k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								staging/src/k8s.io/sample-controller/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								staging/src/k8s.io/sample-controller/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -143,6 +143,8 @@ gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= | |||||||
| gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= | ||||||
| k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 h1:/gJp8cw8+k4AxBNGZ5u5eRoCOzH3WVpY02K654HNiyU= | ||||||
|  | k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= | ||||||
| k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= | ||||||
| k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ= | ||||||
|   | |||||||
							
								
								
									
										22
									
								
								vendor/k8s.io/gengo/examples/deepcopy-gen/generators/deepcopy.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								vendor/k8s.io/gengo/examples/deepcopy-gen/generators/deepcopy.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -718,7 +718,7 @@ func (g *genDeepCopy) doMap(t *types.Type, sw *generator.SnippetWriter) { | |||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	if !ut.Key.IsAssignable() { | 	if !ut.Key.IsAssignable() { | ||||||
| 		klog.Fatalf("Hit an unsupported type %v.", uet) | 		klog.Fatalf("Hit an unsupported type %v for: %v", uet, t) | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	sw.Do("*out = make($.|raw$, len(*in))\n", t) | 	sw.Do("*out = make($.|raw$, len(*in))\n", t) | ||||||
| @@ -745,6 +745,10 @@ func (g *genDeepCopy) doMap(t *types.Type, sw *generator.SnippetWriter) { | |||||||
| 	case uet.IsAssignable(): | 	case uet.IsAssignable(): | ||||||
| 		sw.Do("(*out)[key] = val\n", nil) | 		sw.Do("(*out)[key] = val\n", nil) | ||||||
| 	case uet.Kind == types.Interface: | 	case uet.Kind == types.Interface: | ||||||
|  | 		// Note: do not generate code that won't compile as `DeepCopyinterface{}()` is not a valid function | ||||||
|  | 		if uet.Name.Name == "interface{}" { | ||||||
|  | 			klog.Fatalf("DeepCopy of %q is unsupported. Instead, use named interfaces with DeepCopy<named-interface> as one of the methods.", uet.Name.Name) | ||||||
|  | 		} | ||||||
| 		sw.Do("if val == nil {(*out)[key]=nil} else {\n", nil) | 		sw.Do("if val == nil {(*out)[key]=nil} else {\n", nil) | ||||||
| 		// Note: if t.Elem has been an alias "J" of an interface "I" in Go, we will see it | 		// Note: if t.Elem has been an alias "J" of an interface "I" in Go, we will see it | ||||||
| 		// as kind Interface of name "J" here, i.e. generate val.DeepCopyJ(). The golang | 		// as kind Interface of name "J" here, i.e. generate val.DeepCopyJ(). The golang | ||||||
| @@ -761,7 +765,7 @@ func (g *genDeepCopy) doMap(t *types.Type, sw *generator.SnippetWriter) { | |||||||
| 	case uet.Kind == types.Struct: | 	case uet.Kind == types.Struct: | ||||||
| 		sw.Do("(*out)[key] = *val.DeepCopy()\n", uet) | 		sw.Do("(*out)[key] = *val.DeepCopy()\n", uet) | ||||||
| 	default: | 	default: | ||||||
| 		klog.Fatalf("Hit an unsupported type %v.", uet) | 		klog.Fatalf("Hit an unsupported type %v for %v", uet, t) | ||||||
| 	} | 	} | ||||||
| 	sw.Do("}\n", nil) | 	sw.Do("}\n", nil) | ||||||
| } | } | ||||||
| @@ -793,6 +797,10 @@ func (g *genDeepCopy) doSlice(t *types.Type, sw *generator.SnippetWriter) { | |||||||
| 			g.generateFor(ut.Elem, sw) | 			g.generateFor(ut.Elem, sw) | ||||||
| 			sw.Do("}\n", nil) | 			sw.Do("}\n", nil) | ||||||
| 		} else if uet.Kind == types.Interface { | 		} else if uet.Kind == types.Interface { | ||||||
|  | 			// Note: do not generate code that won't compile as `DeepCopyinterface{}()` is not a valid function | ||||||
|  | 			if uet.Name.Name == "interface{}" { | ||||||
|  | 				klog.Fatalf("DeepCopy of %q is unsupported. Instead, use named interfaces with DeepCopy<named-interface> as one of the methods.", uet.Name.Name) | ||||||
|  | 			} | ||||||
| 			sw.Do("if (*in)[i] != nil {\n", nil) | 			sw.Do("if (*in)[i] != nil {\n", nil) | ||||||
| 			// Note: if t.Elem has been an alias "J" of an interface "I" in Go, we will see it | 			// Note: if t.Elem has been an alias "J" of an interface "I" in Go, we will see it | ||||||
| 			// as kind Interface of name "J" here, i.e. generate val.DeepCopyJ(). The golang | 			// as kind Interface of name "J" here, i.e. generate val.DeepCopyJ(). The golang | ||||||
| @@ -802,7 +810,7 @@ func (g *genDeepCopy) doSlice(t *types.Type, sw *generator.SnippetWriter) { | |||||||
| 		} else if uet.Kind == types.Struct { | 		} else if uet.Kind == types.Struct { | ||||||
| 			sw.Do("(*in)[i].DeepCopyInto(&(*out)[i])\n", nil) | 			sw.Do("(*in)[i].DeepCopyInto(&(*out)[i])\n", nil) | ||||||
| 		} else { | 		} else { | ||||||
| 			klog.Fatalf("Hit an unsupported type %v.", uet) | 			klog.Fatalf("Hit an unsupported type %v for %v", uet, t) | ||||||
| 		} | 		} | ||||||
| 		sw.Do("}\n", nil) | 		sw.Do("}\n", nil) | ||||||
| 	} | 	} | ||||||
| @@ -863,6 +871,10 @@ func (g *genDeepCopy) doStruct(t *types.Type, sw *generator.SnippetWriter) { | |||||||
| 				sw.Do("in.$.name$.DeepCopyInto(&out.$.name$)\n", args) | 				sw.Do("in.$.name$.DeepCopyInto(&out.$.name$)\n", args) | ||||||
| 			} | 			} | ||||||
| 		case uft.Kind == types.Interface: | 		case uft.Kind == types.Interface: | ||||||
|  | 			// Note: do not generate code that won't compile as `DeepCopyinterface{}()` is not a valid function | ||||||
|  | 			if uft.Name.Name == "interface{}" { | ||||||
|  | 				klog.Fatalf("DeepCopy of %q is unsupported. Instead, use named interfaces with DeepCopy<named-interface> as one of the methods.", uft.Name.Name) | ||||||
|  | 			} | ||||||
| 			sw.Do("if in.$.name$ != nil {\n", args) | 			sw.Do("if in.$.name$ != nil {\n", args) | ||||||
| 			// Note: if t.Elem has been an alias "J" of an interface "I" in Go, we will see it | 			// Note: if t.Elem has been an alias "J" of an interface "I" in Go, we will see it | ||||||
| 			// as kind Interface of name "J" here, i.e. generate val.DeepCopyJ(). The golang | 			// as kind Interface of name "J" here, i.e. generate val.DeepCopyJ(). The golang | ||||||
| @@ -870,7 +882,7 @@ func (g *genDeepCopy) doStruct(t *types.Type, sw *generator.SnippetWriter) { | |||||||
| 			sw.Do(fmt.Sprintf("out.$.name$ = in.$.name$.DeepCopy%s()\n", uft.Name.Name), args) | 			sw.Do(fmt.Sprintf("out.$.name$ = in.$.name$.DeepCopy%s()\n", uft.Name.Name), args) | ||||||
| 			sw.Do("}\n", nil) | 			sw.Do("}\n", nil) | ||||||
| 		default: | 		default: | ||||||
| 			klog.Fatalf("Hit an unsupported type %v.", uft) | 			klog.Fatalf("Hit an unsupported type %v for %v, from %v", uft, ft, t) | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| @@ -907,6 +919,6 @@ func (g *genDeepCopy) doPointer(t *types.Type, sw *generator.SnippetWriter) { | |||||||
| 		sw.Do("*out = new($.Elem|raw$)\n", ut) | 		sw.Do("*out = new($.Elem|raw$)\n", ut) | ||||||
| 		sw.Do("(*in).DeepCopyInto(*out)\n", nil) | 		sw.Do("(*in).DeepCopyInto(*out)\n", nil) | ||||||
| 	default: | 	default: | ||||||
| 		klog.Fatalf("Hit an unsupported type %v.", uet) | 		klog.Fatalf("Hit an unsupported type %v for %v", uet, t) | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								vendor/k8s.io/gengo/examples/set-gen/generators/sets.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/k8s.io/gengo/examples/set-gen/generators/sets.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -205,17 +205,19 @@ func $.type|public$KeySet(theMap interface{}) $.type|public$ { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Insert adds items to the set. | // Insert adds items to the set. | ||||||
| func (s $.type|public$) Insert(items ...$.type|raw$) { | func (s $.type|public$) Insert(items ...$.type|raw$) $.type|public$ { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		s[item] = Empty{} | 		s[item] = Empty{} | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Delete removes all items from the set. | // Delete removes all items from the set. | ||||||
| func (s $.type|public$) Delete(items ...$.type|raw$) { | func (s $.type|public$) Delete(items ...$.type|raw$) $.type|public$ { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		delete(s, item) | 		delete(s, item) | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Has returns true if and only if item is contained in the set. | // Has returns true if and only if item is contained in the set. | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								vendor/k8s.io/gengo/examples/set-gen/sets/byte.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/k8s.io/gengo/examples/set-gen/sets/byte.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -46,17 +46,19 @@ func ByteKeySet(theMap interface{}) Byte { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Insert adds items to the set. | // Insert adds items to the set. | ||||||
| func (s Byte) Insert(items ...byte) { | func (s Byte) Insert(items ...byte) Byte { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		s[item] = Empty{} | 		s[item] = Empty{} | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Delete removes all items from the set. | // Delete removes all items from the set. | ||||||
| func (s Byte) Delete(items ...byte) { | func (s Byte) Delete(items ...byte) Byte { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		delete(s, item) | 		delete(s, item) | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Has returns true if and only if item is contained in the set. | // Has returns true if and only if item is contained in the set. | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								vendor/k8s.io/gengo/examples/set-gen/sets/int.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/k8s.io/gengo/examples/set-gen/sets/int.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -46,17 +46,19 @@ func IntKeySet(theMap interface{}) Int { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Insert adds items to the set. | // Insert adds items to the set. | ||||||
| func (s Int) Insert(items ...int) { | func (s Int) Insert(items ...int) Int { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		s[item] = Empty{} | 		s[item] = Empty{} | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Delete removes all items from the set. | // Delete removes all items from the set. | ||||||
| func (s Int) Delete(items ...int) { | func (s Int) Delete(items ...int) Int { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		delete(s, item) | 		delete(s, item) | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Has returns true if and only if item is contained in the set. | // Has returns true if and only if item is contained in the set. | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								vendor/k8s.io/gengo/examples/set-gen/sets/int64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/k8s.io/gengo/examples/set-gen/sets/int64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -46,17 +46,19 @@ func Int64KeySet(theMap interface{}) Int64 { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Insert adds items to the set. | // Insert adds items to the set. | ||||||
| func (s Int64) Insert(items ...int64) { | func (s Int64) Insert(items ...int64) Int64 { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		s[item] = Empty{} | 		s[item] = Empty{} | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Delete removes all items from the set. | // Delete removes all items from the set. | ||||||
| func (s Int64) Delete(items ...int64) { | func (s Int64) Delete(items ...int64) Int64 { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		delete(s, item) | 		delete(s, item) | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Has returns true if and only if item is contained in the set. | // Has returns true if and only if item is contained in the set. | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								vendor/k8s.io/gengo/examples/set-gen/sets/string.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/k8s.io/gengo/examples/set-gen/sets/string.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -46,17 +46,19 @@ func StringKeySet(theMap interface{}) String { | |||||||
| } | } | ||||||
|  |  | ||||||
| // Insert adds items to the set. | // Insert adds items to the set. | ||||||
| func (s String) Insert(items ...string) { | func (s String) Insert(items ...string) String { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		s[item] = Empty{} | 		s[item] = Empty{} | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Delete removes all items from the set. | // Delete removes all items from the set. | ||||||
| func (s String) Delete(items ...string) { | func (s String) Delete(items ...string) String { | ||||||
| 	for _, item := range items { | 	for _, item := range items { | ||||||
| 		delete(s, item) | 		delete(s, item) | ||||||
| 	} | 	} | ||||||
|  | 	return s | ||||||
| } | } | ||||||
|  |  | ||||||
| // Has returns true if and only if item is contained in the set. | // Has returns true if and only if item is contained in the set. | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1582,7 +1582,7 @@ k8s.io/cri-api/pkg/apis/testing | |||||||
| # k8s.io/csi-translation-lib v0.0.0 => ./staging/src/k8s.io/csi-translation-lib | # k8s.io/csi-translation-lib v0.0.0 => ./staging/src/k8s.io/csi-translation-lib | ||||||
| k8s.io/csi-translation-lib | k8s.io/csi-translation-lib | ||||||
| k8s.io/csi-translation-lib/plugins | k8s.io/csi-translation-lib/plugins | ||||||
| # k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 => k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 | # k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 => k8s.io/gengo v0.0.0-20190813173942-955ffa8fcfc9 | ||||||
| k8s.io/gengo/args | k8s.io/gengo/args | ||||||
| k8s.io/gengo/examples/deepcopy-gen/generators | k8s.io/gengo/examples/deepcopy-gen/generators | ||||||
| k8s.io/gengo/examples/defaulter-gen/generators | k8s.io/gengo/examples/defaulter-gen/generators | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot