- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestIPVar (0.63 sec)
-
pkg/util/flag/flags_test.go
"github.com/spf13/pflag" v1 "k8s.io/api/core/v1" apiequality "k8s.io/apimachinery/pkg/api/equality" "k8s.io/apimachinery/pkg/api/resource" kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config" ) func TestIPVar(t *testing.T) { defaultIP := "0.0.0.0" testCases := []struct { argc string expectErr bool expectVal string }{ { argc: "blah --ip=1.2.3.4", expectVal: "1.2.3.4", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 14 10:45:23 UTC 2021 - 8.8K bytes - Viewed (0)