Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for exists (0.22 sec)

  1. cni/pkg/iptables/testdata/hostprobe_ipv6.golden

    iptables -t nat -N ISTIO_POSTRT
    iptables -t nat -A POSTROUTING -j ISTIO_POSTRT
    iptables -t nat -A ISTIO_POSTRT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes-v4 dst -j SNAT --to-source 169.254.7.127
    ip6tables -t nat -N ISTIO_POSTRT
    ip6tables -t nat -A POSTROUTING -j ISTIO_POSTRT
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 473 bytes
    - Viewed (0)
  2. cni/pkg/util/podutil_test.go

    			name: "pod has sidecar and namespace has ambient enabled",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithSidecar,
    			},
    			want: false,
    		},
    		// TODO: when there exists a means for users to signal the intent to exclude a pod from ambient without requiring the use of
    		// the ambient redirection annotation, this annotation should no longer be checked by this function and this case should return 'true'
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. cni/pkg/iptables/testdata/hostprobe.golden

    iptables -t nat -N ISTIO_POSTRT
    iptables -t nat -A POSTROUTING -j ISTIO_POSTRT
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 222 bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            // System scoped version which should
            //
            d.setScope(Artifact.SCOPE_SYSTEM);
            File file = new File(getBasedir(), "src/test/repository-system/maven-core-2.1.0.jar");
            assertTrue(file.exists());
            d.setSystemPath(file.getCanonicalPath());
    
            artifact = repositorySystem.createDependencyArtifact(d);
    
            //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java

            Map.Entry<Artifact, Path> res = session.resolveArtifact(coord);
            assertNotNull(res);
            assertNotNull(res.getValue());
            assertTrue(Files.exists(res.getValue()));
    
            Node node = session.collectDependencies(session.createDependencyCoordinate(coord));
            assertNotNull(node);
            assertEquals(8, node.getChildren().size());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables_linux.go

    	"net"
    
    	"github.com/vishvananda/netlink"
    	"golang.org/x/sys/unix"
    )
    
    func AddInpodMarkIPRule(cfg *Config) error {
    	err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd)
    	if errors.Is(err, unix.EEXIST) {
    		log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err)
    		return nil
    	}
    	return err
    }
    
    func DelInpodMarkIPRule(cfg *Config) error {
    	return forEachInpodMarkIPRule(cfg, netlink.RuleDel)
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

        public boolean isMerged() {
            return merged;
        }
    
        protected abstract void merge(Metadata recessive);
    
        static Metadata read(Path metadataPath) throws RepositoryException {
            if (!Files.exists(metadataPath)) {
                return Metadata.newInstance();
            }
    
            try (InputStream input = Files.newInputStream(metadataPath)) {
                return new MetadataStaxReader().read(input, false);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. cni/pkg/util/podutil.go

    			"status",
    		)
    	if errors.IsNotFound(err) {
    		return nil
    	}
    	return err
    }
    
    // Get any IPs currently assigned to the Pod.
    //
    // If 'PodIPs' exists, it is preferred (and should be guaranteed to contain the address in 'PodIP'),
    // otherwise fallback to 'PodIP'.
    //
    // Note that very early in the pod's lifecycle (before all the node CNI plugin invocations finish)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. internal/logger/logrotate.go

    }
    
    // Options define configuration options for Writer
    type Options struct {
    	// Directory defines the directory where log files will be written to.
    	// If the directory does not exist, it will be created.
    	Directory string
    
    	// MaximumFileSize defines the maximum size of each log file in bytes.
    	MaximumFileSize int64
    
    	// FileNameFunc specifies the name a new file will take.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. cni/pkg/ipset/nldeps_linux.go

    	} else {
    		family = unix.AF_INET
    	}
    	err := netlink.IpsetCreate(name, "hash:ip", netlink.IpsetCreateOptions{Comments: true, Replace: true, Family: family})
    	if ipsetErr, ok := err.(nl.IPSetError); ok && ipsetErr == nl.IPSET_ERR_EXIST {
    		return nil
    	}
    
    	return err
    }
    
    func (m *realDeps) destroySet(name string) error {
    	err := netlink.IpsetDestroy(name)
    	return err
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top