- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for cmdPwd (0.19 sec)
-
src/os/exec/exec_posix_test.go
"io" "os" "os/user" "path/filepath" "reflect" "runtime" "strconv" "strings" "syscall" "testing" "time" ) func init() { registerHelperCommand("pwd", cmdPwd) } func cmdPwd(...string) { pwd, err := os.Getwd() if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } fmt.Println(pwd) } func TestCredentialNoSetGroups(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 20:21:32 UTC 2022 - 6.8K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
} } return loggingOptions } // CmdAdd is called for ADD requests func CmdAdd(args *skel.CmdArgs) (err error) { // Defer a panic recover, so that in case if panic we can still return // a proper error to the runtime. defer func() { if e := recover(); e != nil { msg := fmt.Sprintf("istio-cni panicked during cmdAdd: %v\n%v", e, string(debug.Stack())) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 10.7K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/mod.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package modcmd implements the “go mod” command. package modcmd import ( "cmd/go/internal/base" ) var CmdMod = &base.Command{ UsageLine: "go mod", Short: "module maintenance", Long: `Go mod provides access to operations on modules. Note that support for modules is built into all the go commands,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:52:29 UTC 2022 - 807 bytes - Viewed (0) -
cni/README.md
- `istio-cni` - CNI plugin executable copied to `/opt/cni/bin` - currently implemented for k8s only - on pod add, determines whether pod should have netns setup to redirect to Istio proxy. See [cmdAdd](#cmdadd-workflow) for detailed logic. - it connects to K8S using the kubeconfig and JWT token copied from install-cni to get Pod and Namespace. Since this is a short-running command, each invocation creates a new connection.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 19:29:42 UTC 2024 - 12.3K bytes - Viewed (0) -
cni/pkg/constants/constants.go
) // Internal constants const ( DefaultKubeconfigMode = 0o600 CNIAgentLogScope = "cni-agent" CNIPluginLogScope = "cni-plugin" CNIAddEventPath = "/cmdadd" UDSLogPath = "/log" // K8s liveness and readiness endpoints LivenessEndpoint = "/healthz" ReadinessEndpoint = "/readyz" ReadinessPort = "8000"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 2.8K bytes - Viewed (0) -
cni/cmd/istio-cni/main.go
// this may fail, but it should be safe to ignore according // to https://github.com/uber-go/zap/issues/328 _ = log.Sync() }() // TODO: implement plugin version funcs := skel.CNIFuncs{ Add: plugin.CmdAdd, Del: plugin.CmdDelete, Check: plugin.CmdCheck, } err := skel.PluginMainFuncsWithError(funcs, version.All, fmt.Sprintf("CNI plugin istio-cni %v", istioversion.Info.Version)) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/go/main.go
bug.CmdBug, work.CmdBuild, clean.CmdClean, doc.CmdDoc, envcmd.CmdEnv, fix.CmdFix, fmtcmd.CmdFmt, generate.CmdGenerate, modget.CmdGet, work.CmdInstall, list.CmdList, modcmd.CmdMod, workcmd.CmdWork, run.CmdRun, telemetrycmd.CmdTelemetry, test.CmdTest, tool.CmdTool, version.CmdVersion, vet.CmdVet, help.HelpBuildConstraint, help.HelpBuildmode, help.HelpC,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0)