Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for arkite (5.61 sec)

  1. cni/pkg/plugin/plugin_test.go

    		cniAddServerCalled = true
    		if serverErr {
    			res.WriteHeader(http.StatusInternalServerError)
    			res.Write([]byte("server not happy"))
    			return
    		}
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    
    	return testServer.URL, func() bool {
    		testServer.Close()
    		return cniAddServerCalled
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. common/scripts/setup_env.sh

    # for the file, adds it to the host KUBECONFIG, and creates a mount for it. Note that we use a copy
    # of the original file, so that the container can write to it.
    add_KUBECONFIG_if_exists () {
      if [[ -f "$1" ]]; then
        local local_config
        local_config="$(mktemp)"
        cp "${1}" "${local_config}"
    
    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)
Back to top