Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Cut (0.37 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	d := c.ztunnelDump
    	serviceNames := map[string]string{}
    	workloadNames := map[string]string{}
    	for netIP, s := range d.Services {
    		_, ip, _ := strings.Cut(netIP, "/")
    		serviceNames[ip] = s.Hostname
    	}
    	for netIP, s := range d.Workloads {
    		_, ip, _ := strings.Cut(netIP, "/")
    		workloadNames[ip] = s.Name + "." + s.Namespace
    	}
    	lookupIP := func(addr string) string {
    		if filter.Raw {
    			return addr
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/services.go

    		return cmp.Compare(a.Hostname, b.Hostname)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tSERVICE NAME\tSERVICE VIP\tWAYPOINT")
    
    	for _, svc := range svcs {
    		var ip string
    		if len(svc.Addresses) > 0 {
    			_, ip, _ = strings.Cut(svc.Addresses[0], "/")
    		}
    		waypoint := serviceWaypointName(svc, zDump.Services)
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    			svc.Namespace, svc.Name, ip, waypoint)
    	}
    	return w.Flush()
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. bin/build_ztunnel.sh

      AUTH_HEADER="Authorization: Bearer $(gcloud auth print-access-token)"
      export AUTH_HEADER
    fi
    
    ZTUNNEL_REPO_SHA="${ZTUNNEL_REPO_SHA:-$(grep ZTUNNEL_REPO_SHA istio.deps  -A 4 | grep lastStableSHA | cut -f 4 -d '"')}"
    ISTIO_ZTUNNEL_VERSION="${ISTIO_ZTUNNEL_VERSION:-${ZTUNNEL_REPO_SHA}}"
    ISTIO_ZTUNNEL_RELEASE_URL="${ISTIO_ZTUNNEL_RELEASE_URL:-${ISTIO_ZTUNNEL_BASE_URL}/ztunnel-${ISTIO_ZTUNNEL_VERSION}-${TARGET_ARCH}}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. Makefile.core.mk

    GOPATH ?= $(shell cd ${ISTIO_GO}/../../..; pwd)
    export GOPATH
    
    # If GOPATH is made up of several paths, use the first one for our targets in this Makefile
    GO_TOP := $(shell echo ${GOPATH} | cut -d ':' -f1)
    export GO_TOP
    
    GO ?= go
    
    GOARCH_LOCAL := $(TARGET_ARCH)
    GOOS_LOCAL := $(TARGET_OS)
    
    #-----------------------------------------------------------------------------
    # Output control
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  5. common/scripts/setup_env.sh

      IMAGE_VERSION=master-b0f2fd3b4240c8178b14de4689d0e663e11868ff
    fi
    if [[ "${IMAGE_NAME:-}" == "" ]]; then
      IMAGE_NAME=build-tools
    fi
    
    DOCKER_GID="${DOCKER_GID:-$(grep '^docker:' /etc/group | cut -f3 -d:)}"
    
    TIMEZONE=$(readlink "$readlink_flags" /etc/localtime | sed -e 's/^.*zoneinfo\///')
    
    TARGET_OUT="${TARGET_OUT:-$(pwd)/out/${TARGET_OS}_${TARGET_ARCH}}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/core/v1/generated.proto

    }
    
    // PodAttachOptions is the query options to a Pod's remote attach call.
    // ---
    // TODO: merge w/ PodExecOptions below for stdin, stdout, etc
    // and also when we cut V2, we should export a "StreamOptions" or somesuch that contains Stdin, Stdout, Stder and TTY
    message PodAttachOptions {
      // Stdin if true, redirects the standard input stream of the pod for this call.
      // Defaults to false.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    }
    
    func checkFromVersion(ctx cli.Context, revision, version string) (diag.Messages, error) {
    	cli, err := ctx.CLIClientWithRevision(revision)
    	if err != nil {
    		return nil, err
    	}
    	major, minors, ok := strings.Cut(version, ".")
    	if !ok {
    		return nil, fmt.Errorf("invalid version %v, expected format like '1.0'", version)
    	}
    	if major != "1" {
    		return nil, fmt.Errorf("expected major version 1, got %v", version)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top