Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for pushd (0.15 sec)

  1. bin/build_ztunnel.sh

    #   $3: Non-versioned name to use
    function download_ztunnel_if_necessary () {
      if [[ -f "$2" ]]; then
        return
      fi
      # Enter the output directory.
      mkdir -p "$(dirname "$2")"
      pushd "$(dirname "$2")"
    
      # Download and make the binary executable
      echo "Downloading ztunnel: $1 to $2"
      time ${DOWNLOAD_COMMAND} --header "${AUTH_HEADER:-}" "$1" > "$2"
      chmod +x "$2"
    
    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)
  2. bin/init.sh

    #   $2: The full path of the output binary.
    #   $3: Non-versioned name to use
    function download_envoy_if_necessary () {
      if [[ ! -f "$2" ]] ; then
        # Enter the output directory.
        mkdir -p "$(dirname "$2")"
        pushd "$(dirname "$2")"
    
        # Download and extract the binary to the output directory.
        echo "Downloading ${SIDECAR}: $1 to $2"
        time ${DOWNLOAD_COMMAND} --header "${AUTH_HEADER:-}" "$1" |\
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 25 19:11:31 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. architecture/security/istio-agent.md

    is still interested in this certificate (ie, Envoy is still connected and requesting the certificate), the SDS server will send another request
    to generate a new secret and push the updated certificate to Envoy. This ensures that we do not permanently watch certificates even after
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 22 16:45:50 GMT 2023
    - 7.2K bytes
    - Viewed (1)
  4. cni/pkg/plugin/cnieventclient.go

    	}
    	return eventC
    }
    
    func PushCNIEvent(cniClient CNIEventClient, event *skel.CmdArgs, prevResIps []*cniv1.IPConfig, podName, podNamespace string) error {
    	if event == nil {
    		return fmt.Errorf("unable to push CNI event, CmdArgs event was nil")
    	}
    
    	var ncconfigs []nodeagent.IPConfig
    	for _, ipc := range prevResIps {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/cni-watcher_test.go

    	client.RunAndWait(ctx.Done())
    
    	payload, _ := json.Marshal(valid)
    
    	// serialize our fake plugin event
    	addEvent, err := processAddEvent(payload)
    	assert.Equal(t, err, nil)
    
    	// Push it thru the handler
    	pluginServer.ReconcileCNIAddEvent(ctx, addEvent)
    
    	waitForMockCalls()
    
    	assertPodAnnotated(t, client, pod)
    	// Assert expected calls actually made
    	fs.AssertExpectations(t)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. common/scripts/setup_env.sh

    container_kubeconfig=''
    
    # docker conditional host mount (needed for make docker push)
    if [[ -d "${HOME}/.docker" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.docker,destination=/config/.docker,readonly "
    fi
    
    # gcloud conditional host mount (needed for docker push with the gcloud auth configure-docker)
    if [[ -d "${HOME}/.config/gcloud" ]]; then
    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)
  7. cni/pkg/plugin/cnieventclient_test.go

    	err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns")
    
    	assert.Error(t, err)
    	assert.Equal(t, strings.Contains(err.Error(), fmt.Sprintf("unable to push CNI event, error was %d", http.StatusInternalServerError)), true)
    }
    
    func TestPushCNIAddEventGoodPayload(t *testing.T) {
    	testPod := "testpod"
    	testNS := "testns"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top