- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for cmdtesting (0.24 sec)
-
pkg/volume/util/operationexecutor/operation_generator_test.go
"k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/uuid" fakeclient "k8s.io/client-go/kubernetes/fake" "k8s.io/component-base/metrics/testutil" "k8s.io/kubernetes/pkg/volume" csitesting "k8s.io/kubernetes/pkg/volume/csi/testing" volumetesting "k8s.io/kubernetes/pkg/volume/testing" "k8s.io/kubernetes/pkg/volume/util" volumetypes "k8s.io/kubernetes/pkg/volume/util/types" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.2K bytes - Viewed (0) -
pkg/volume/projected/projected_test.go
Spec: v1.PodSpec{ServiceAccountName: "foo"}, } scheme.Default(pod) client := &fake.Clientset{} client.AddReactor("create", "serviceaccounts", clitesting.ReactionFunc(func(action clitesting.Action) (bool, runtime.Object, error) { tr := action.(clitesting.CreateAction).GetObject().(*authenticationv1.TokenRequest) scheme.Default(tr) if len(tr.Spec.Audiences) == 0 { tr.Spec.Audiences = []string{"https://api"}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 40.5K bytes - Viewed (0) -
tools/istio-iptables/pkg/dependencies/implementation_linux.go
} func (r *RealDependencies) executeXTables(cmd constants.IptablesCmd, iptVer *IptablesVersion, ignoreErrors bool, stdin io.ReadSeeker, args ...string) error { mode := "without lock" cmdBin := iptVer.CmdToString(cmd) if cmdBin == "" { return fmt.Errorf("called without iptables binary, cannot execute!: %+v", iptVer) } var c *exec.Cmd needLock := iptVer.IsWriteCmd(cmd) && !iptVer.NoLocks()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 12 20:49:10 UTC 2024 - 12K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
var data string if isIpv4 { data = iptablesBuilder.BuildV4Restore() } else { data = iptablesBuilder.BuildV6Restore() } log.Infof("Running %s with the following input:\n%v", iptVer.CmdToString(cmd), strings.TrimSpace(data)) // --noflush to prevent flushing/deleting previous contents from table return cfg.ext.Run(cmd, iptVer, strings.NewReader(data), "--noflush", "-v") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:18 UTC 2024 - 19.9K bytes - Viewed (0) -
tools/istio-iptables/pkg/capture/run.go
if isIpv4 { data = cfg.ruleBuilder.BuildV4Restore() } else { data = cfg.ruleBuilder.BuildV6Restore() } log.Infof("Running iptables restore with: %s and the following input:\n%v", iptVer.CmdToString(constants.IPTablesRestore), strings.TrimSpace(data)) // --noflush to prevent flushing/deleting previous contents from table return cfg.ext.Run(constants.IPTablesRestore, iptVer, strings.NewReader(data), "--noflush") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 03:53:23 UTC 2024 - 35.4K bytes - Viewed (0)