Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for write (0.22 sec)

  1. common/scripts/check_clean_repo.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.
    
    function write_patch_file() {
        if [ -z "${ARTIFACTS}" ]; then
          return 0
        fi
    
        PATCH_NAME="check-clean-repo-diff.patch"
        PATCH_OUT="${ARTIFACTS}/${PATCH_NAME}"
        git diff > "${PATCH_OUT}"
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jan 11 22:57:12 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/pilot/status.go

    	if len(mappedResp) > 0 {
    		mresp, err := json.MarshalIndent(mappedResp, "", "  ")
    		if err != nil {
    			return nil, nil, err
    		}
    		_, _ = s.Writer.Write(mresp)
    		_, _ = s.Writer.Write([]byte("\n"))
    	}
    
    	return w, fullStatus, nil
    }
    
    func xdsStatusPrintln(w io.Writer, status *xdsWriterStatus) error {
    	_, err := fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    		status.proxyID, status.clusterID,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. cni/pkg/install/kubeconfig_test.go

    	tempDir := t.TempDir()
    
    	cfg := &config.InstallConfig{
    		MountedCNINetDir: tempDir,
    		KubeCAFile:       kubeCAFilepath,
    		K8sServiceHost:   k8sServiceHost,
    		K8sServicePort:   k8sServicePort,
    	}
    	// Write out a kubeconfig with one cert
    	result, err := createKubeConfig(cfg)
    	if err != nil {
    		t.Fatalf("did not expect failure: %v", err)
    	}
    	goldenFilepath := "testdata/kubeconfig-tls"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. 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 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest-generate.go

    		fname := filepath.Join(dirName, componentName) + ".yaml"
    		l.LogAndPrintf("Writing manifest to %s", fname)
    		if !dryRun {
    			if err := os.WriteFile(fname, []byte(ym), 0o644); err != nil {
    				return fmt.Errorf("could not write manifest config; %s", err)
    			}
    		}
    
    		kt, ok := v.(helmreconciler.ComponentTree)
    		if !ok {
    			// Leaf
    			return nil
    		}
    		if err := renderRecursive(manifests, kt, dirName, dryRun, l); err != nil {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      optional string cachingMode = 3;
    
      // fsType is Filesystem type to mount.
      // Must be a filesystem type supported by the host operating system.
      // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
      // +optional
      optional string fsType = 4;
    
      // readOnly Defaults to false (read/write). ReadOnly here will force
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/discovery/v1/generated.proto

      // API. This field is deprecated, and will be removed when the v1beta1
      // API is removed (no sooner than kubernetes v1.24).  While this field can
      // hold values, it is not writable through the v1 API, and any attempts to
      // write to it will be silently ignored. Topology information can be found
      // in the zone and nodeName fields instead.
      // +optional
      map<string, string> deprecatedTopology = 5;
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. cni/pkg/install/cniconfig.go

    		if err != nil {
    			return "", err
    		}
    	}
    
    	if err = file.AtomicWrite(cniConfigFilepath, cniConfig, os.FileMode(0o644)); err != nil {
    		installLog.Errorf("Failed to write CNI config file %v: %v", cniConfigFilepath, err)
    		return cniConfigFilepath, err
    	}
    
    	if cfg.chainedCNIPlugin && strings.HasSuffix(cniConfigFilepath, ".conf") {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. cni/test/install_cni.go

    	data, err := os.ReadFile(src)
    	if err != nil {
    		t.Fatalf("Failed to read file %v, err: %v", src, err)
    	}
    	if err = os.WriteFile(dest, data, os.FileMode(defaultFileMode)); err != nil {
    		t.Fatalf("Failed to write file %v, err: %v", dest, err)
    	}
    }
    
    func rmDir(dir string, t *testing.T) {
    	t.Helper()
    	err := os.RemoveAll(dir)
    	if err != nil {
    		t.Fatalf("Failed to remove dir %v, err: %v", dir, err)
    	}
    }
    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)
  10. cni/pkg/plugin/cnieventclient_test.go

    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    	defer func() { testServer.Close() }()
    
    	cniC := fakeCNIEventClient(testServer.URL)
    
    	err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top