Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 494 for dstname (0.13 sec)

  1. pkg/volume/fc/fc_util.go

    )
    
    type ioHandler interface {
    	ReadDir(dirname string) ([]os.FileInfo, error)
    	Lstat(name string) (os.FileInfo, error)
    	EvalSymlinks(path string) (string, error)
    	WriteFile(filename string, data []byte, perm os.FileMode) error
    }
    
    type osIOHandler struct{}
    
    const (
    	byPath = "/dev/disk/by-path/"
    	byID   = "/dev/disk/by-id/"
    )
    
    func (handler *osIOHandler) ReadDir(dirname string) ([]os.FileInfo, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  2. buildscripts/checkdeps.sh

    ##
    ## readlink() {
    ##     return /bin/readlink -f "$1"
    ## }
    ##
    readlink() {
    	TARGET_FILE=$1
    
    	cd $(dirname $TARGET_FILE)
    	TARGET_FILE=$(basename $TARGET_FILE)
    
    	# Iterate down a (possible) chain of symlinks
    	while [ -L "$TARGET_FILE" ]; do
    		TARGET_FILE=$(env readlink $TARGET_FILE)
    		cd $(dirname $TARGET_FILE)
    		TARGET_FILE=$(basename $TARGET_FILE)
    	done
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. fuzzing/fuzzingserver-update-expected.sh

    #!/usr/bin/env bash
    
    SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
    cd "$SCRIPT_DIR"
    
    if [ ! -f target/fuzzingserver-actual.txt ]; then
      echo "File not found. Did you run the Autobahn test script?"
      exit 1
    fi
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 275 bytes
    - Viewed (0)
  4. fuzzing/fuzzingserver-test.sh

    #!/usr/bin/env bash
    
    SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
    cd "$SCRIPT_DIR"
    
    which wstest
    if [ $? != 0 ]; then
      echo "Run 'pip install autobahntestsuite', maybe with 'sudo'."
      exit 1
    fi
    which jq
    if [ $? != 0 ]; then
      echo "Run 'brew install jq'"
      exit 1
    fi
    
    trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT
    
    set -ex
    
    wstest -m fuzzingserver -s fuzzingserver-config.json &
    sleep 2 # wait for wstest to start
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 673 bytes
    - Viewed (0)
  5. .teamcity/mvnw

      while [ -h "$PRG" ] ; do
        ls=`ls -ld "$PRG"`
        link=`expr "$ls" : '.*-> \(.*\)$'`
        if expr "$link" : '/.*' > /dev/null; then
          PRG="$link"
        else
          PRG="`dirname "$PRG"`/$link"
        fi
      done
    
      saveddir=`pwd`
    
      M2_HOME=`dirname "$PRG"`/..
    
      # make it fully qualified
      M2_HOME=`cd "$M2_HOME" && pwd`
    
      cd "$saveddir"
      # echo Using m2 at $M2_HOME
    fi
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  6. hack/update-codegen.sh

    # shellcheck disable=2046 # printf word-splitting is intentional
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    # This tool wants a different default than usual.
    KUBE_VERBOSE="${KUBE_VERBOSE:-1}"
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    source "${KUBE_ROOT}/hack/lib/protoc.sh"
    cd "${KUBE_ROOT}"
    
    kube::golang::setup_env
    
    DBG_CODEGEN="${DBG_CODEGEN:-0}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  7. prow/release-commit.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    ROOT=$(dirname "$WD")
    
    set -eux
    
    # shellcheck source=prow/lib.sh
    source "${ROOT}/prow/lib.sh"
    
    setup_gcloud_credentials
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-generate.go

    		l.LogAndPrintf("Rendering: %s", componentName)
    		dirName := filepath.Join(outputDir, componentName)
    		if !dryRun {
    			if err := os.MkdirAll(dirName, os.ModePerm); err != nil {
    				return fmt.Errorf("could not create directory %s; %s", outputDir, err)
    			}
    		}
    		fname := filepath.Join(dirName, componentName) + ".yaml"
    		l.LogAndPrintf("Writing manifest to %s", fname)
    		if !dryRun {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/certs/util.go

    func AssertCertificateHasDNSNames(t *testing.T, cert *x509.Certificate, DNSNames ...string) {
    	for _, DNSName := range DNSNames {
    		found := false
    		for _, val := range cert.DNSNames {
    			if val == DNSName {
    				found = true
    				break
    			}
    		}
    
    		if !found {
    			t.Errorf("cert does not contain DNSName %s", DNSName)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/host_stats_provider.go

    func (h hostStatsProvider) fileMetricsByDir(dirname string) (metricsProviderByPath, error) {
    	files, err := h.osInterface.ReadDir(dirname)
    	if err != nil {
    		return nil, err
    	}
    	results := metricsProviderByPath{}
    	for _, f := range files {
    		if f.IsDir() {
    			continue
    		}
    		// Only include *files* under pod log directory.
    		fpath := filepath.Join(dirname, f.Name())
    		results[fpath] = volume.NewMetricsDu(fpath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top