File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ pkg/apis/certificates
31
31
pkg/apis/certificates/v1beta1
32
32
pkg/apis/certificates/validation
33
33
pkg/apis/core
34
- pkg/apis/core/helper
35
34
pkg/apis/core/helper/qos
36
35
pkg/apis/core/v1
37
36
pkg/apis/core/v1/helper
Original file line number Diff line number Diff line change @@ -276,10 +276,12 @@ var standardFinalizers = sets.NewString(
276
276
metav1 .FinalizerDeleteDependents ,
277
277
)
278
278
279
+ // IsStandardFinalizerName checks if the input string is a standard finalizer name
279
280
func IsStandardFinalizerName (str string ) bool {
280
281
return standardFinalizers .Has (str )
281
282
}
282
283
284
+ // LoadBalancerStatusEqual checks if the status of the load balancer is equal to the target status
283
285
// TODO: make method on LoadBalancerStatus?
284
286
func LoadBalancerStatusEqual (l , r * core.LoadBalancerStatus ) bool {
285
287
return ingressSliceEqual (l .Ingress , r .Ingress )
@@ -324,7 +326,7 @@ func GetAccessModesAsString(modes []core.PersistentVolumeAccessMode) string {
324
326
return strings .Join (modesStr , "," )
325
327
}
326
328
327
- // GetAccessModesAsString returns an array of AccessModes from a string created by GetAccessModesAsString
329
+ // GetAccessModesFromString returns an array of AccessModes from a string created by GetAccessModesAsString
328
330
func GetAccessModesFromString (modes string ) []core.PersistentVolumeAccessMode {
329
331
strmodes := strings .Split (modes , "," )
330
332
accessModes := []core.PersistentVolumeAccessMode {}
You can’t perform that action at this time.
0 commit comments