Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ls (0.16 sec)

  1. bin/update_deps.sh

    UPDATE_BRANCH=${UPDATE_BRANCH:-"master"}
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    # Get the sha of top commit
    # $1 = repo
    function getSha() {
      git ls-remote "https://github.com/istio/${1}.git" "refs/heads/${UPDATE_BRANCH}" | cut -f 1
    }
    
    make update-common
    
    export GO111MODULE=on
    go get -u "istio.io/api@${UPDATE_BRANCH}"
    go get -u "istio.io/client-go@${UPDATE_BRANCH}"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Sep 12 14:07:30 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. cni/test/install_cni.go

    	t.Helper()
    	tempDir, err := os.MkdirTemp(dir, prefix)
    	if err != nil {
    		t.Fatalf("Couldn't get current working directory, err: %v", err)
    	}
    	t.Logf("Created temporary dir: %v", tempDir)
    	return tempDir
    }
    
    func ls(dir string, t *testing.T) []string {
    	files, err := os.ReadDir(dir)
    	t.Helper()
    	if err != nil {
    		t.Fatalf("Failed to list files, err: %v", err)
    	}
    	return slices.Map(files, func(e os.DirEntry) string {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. istioctl/pkg/checkinject/checkinject.go

    }
    
    func extractMatchedSelectorInfo(ls *metav1.LabelSelector, objLabels map[string]string) (matched bool, injLabel string) {
    	if ls == nil {
    		return true, ""
    	}
    	selector, err := metav1.LabelSelectorAsSelector(ls)
    	if err != nil {
    		return false, ""
    	}
    	matched = selector.Matches(labels.Set(objLabels))
    	if !matched {
    		return matched, ""
    	}
    	for _, me := range ls.MatchExpressions {
    		switch me.Operator {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-generate_test.go

    	// predicate is used to filter out "obvious" test cases, to avoid enumerating all cases
    	// nolint: unparam
    	predicate := func(ls LabelSet) (string, bool) {
    		if ls.namespace.Get("istio-injection") == "disabled" {
    			return "", true
    		}
    		if ls.pod.Get("sidecar.istio.io/inject") == "false" {
    			return "", true
    		}
    		return "", false
    	}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  5. Makefile.overrides.mk

    export COMMONFILES_POSTPROCESS = tools/commonfiles-postprocess.sh
    
    ifeq ($(BUILD_WITH_CONTAINER),1)
    # create phony targets for the top-level items in the repo
    PHONYS := $(shell ls | grep -v Makefile)
    .PHONY: $(PHONYS)
    $(PHONYS):
    	@$(MAKE_DOCKER) $@
    endif
    
    # istioctl-install builds then installs istioctl into $GOPATH/BIN
    # Used for debugging istioctl during dev work
    .PHONY: istioctl-install
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Mar 28 17:29:39 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top