Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for appendRule (0.19 sec)

  1. tools/istio-iptables/pkg/capture/run.go

    			// interface.
    			// Mark all inbound packets.
    			cfg.ruleBuilder.AppendRule(iptableslog.UndefinedCommand, constants.ISTIODIVERT, constants.MANGLE, "-j", constants.MARK, "--set-mark",
    				cfg.cfg.InboundTProxyMark)
    			cfg.ruleBuilder.AppendRule(iptableslog.UndefinedCommand, constants.ISTIODIVERT, constants.MANGLE, "-j", constants.ACCEPT)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. cni/pkg/iptables/iptables.go

    	// without polluting the main table too much.
    
    	// -t mangle -A PREROUTING -j ISTIO_PRERT
    	iptablesBuilder.AppendRule(
    		iptableslog.UndefinedCommand, iptablesconstants.PREROUTING, iptablesconstants.MANGLE,
    		"-j", ChainInpodPrerouting,
    	)
    
    	// -t mangle -A OUTPUT -p tcp -j ISTIO_OUTPUT
    	iptablesBuilder.AppendRule(
    		iptableslog.UndefinedCommand, iptablesconstants.OUTPUT, iptablesconstants.MANGLE,
    		"-j", ChainInpodOutput,
    	)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. cmd/storage-rest_test.go

    		}
    	}
    }
    
    func testStorageAPIRenameFile(t *testing.T, storage StorageAPI) {
    	err := storage.AppendFile(context.Background(), "foo", "myobject", []byte("foo"))
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    
    	err = storage.AppendFile(context.Background(), "foo", "otherobject", []byte("foo"))
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. cmd/storage-rest-client.go

    func (client *storageRESTClient) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    	return errInvalidArgument
    }
    
    // AppendFile - append to a file.
    func (client *storageRESTClient) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    	values.Set(storageRESTFilePath, path)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    		return p.storage.ReadFile(ctx, volume, path, offset, buf, verifier)
    	})
    }
    
    // Legacy API - does not have any deadlines
    func (p *xlStorageDiskIDCheck) AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricAppendFile, volume, path)
    	if err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. src/fmt/print.go

    		}
    	}
    	if w, ok := state.Width(); ok {
    		b = strconv.AppendInt(b, int64(w), 10)
    	}
    	if p, ok := state.Precision(); ok {
    		b = append(b, '.')
    		b = strconv.AppendInt(b, int64(p), 10)
    	}
    	b = utf8.AppendRune(b, verb)
    	return string(b)
    }
    
    // Use simple []byte instead of bytes.Buffer to avoid large dependency.
    type buffer []byte
    
    func (b *buffer) write(p []byte) {
    	*b = append(*b, p...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  7. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

     * with maven-shared-utils, while Maven has migrated to JLine (into which Jansi has been merged
     * since JLine 3.25.0).
     */
    @SuppressWarnings({"checkstyle:MagicNumber", "unused"})
    public class Ansi implements Appendable {
    
        private static final char FIRST_ESC_CHAR = 27;
        private static final char SECOND_ESC_CHAR = '[';
    
        /**
         * <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#Colors">ANSI 8 colors</a> for fluent API
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    	filePath := r.Form.Get(storageRESTFilePath)
    
    	buf := make([]byte, r.ContentLength)
    	_, err := io.ReadFull(r.Body, buf)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	err = s.getStorage().AppendFile(r.Context(), volume, filePath, buf)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    	}
    }
    
    // CreateFileHandler - copy the contents from the request.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top