Re-Generate k8s.io/apimachinery/pkg/util/sets
This commit is contained in:
		@@ -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.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user