Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cmdPwd (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top