Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for destroySet (0.07 sec)

  1. cni/pkg/ipset/ipset.go

    		v6err := deps.ipsetIPHashCreate(set.V6Name, true)
    		err = errors.Join(err, v6err)
    	}
    	return set, err
    }
    
    func (m *IPSet) DestroySet() error {
    	var err error
    	err = m.Deps.destroySet(m.V4Name)
    
    	if m.V6Name != "" {
    		v6err := m.Deps.destroySet(m.V6Name)
    		err = errors.Join(err, v6err)
    	}
    	return err
    }
    
    func (m *IPSet) AddIP(ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cni/pkg/ipset/nldeps_mock.go

    	return &MockedIpsetDeps{}
    }
    
    func (m *MockedIpsetDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	args := m.Called(name, v6)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) destroySet(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. cni/pkg/ipset/nldeps_unspecified.go

    	return &realDeps{}
    }
    
    type realDeps struct{}
    
    func (m *realDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) destroySet(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. cni/pkg/ipset/nldeps_linux.go

    	// 	return nil
    	// }
    	// but that doesn't actually work, so strings.Contains the error.
    	if err != nil && strings.Contains(err.Error(), "exists") {
    		return nil
    	}
    	return err
    }
    
    func (m *realDeps) destroySet(name string) error {
    	err := netlink.IpsetDestroy(name)
    	return err
    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 18 23:53:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/server.go

    	log.Debug("removing host iptables rules")
    	s.hostIptables.DeleteHostRules()
    
    	log.Debug("destroying host ipset")
    	s.hostsideProbeIPSet.Flush()
    	if err := s.hostsideProbeIPSet.DestroySet(); err != nil {
    		log.Warnf("could not destroy host ipset on shutdown")
    	}
    
    	s.netServer.Stop()
    }
    
    func (s *meshDataplane) ConstructInitialSnapshot(ambientPods []*corev1.Pod) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                if (logger.isDebugEnabled()) {
                    logger.debug("container was destroyed.");
                }
                return;
            } catch (final Exception e) {
                if (!ComponentUtil.available()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("container was destroyed.");
                    }
                    return;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

        }
    
        protected static class ComponentHolder<T> {
            protected T instance;
    
            protected Consumer<T> destroyer;
    
            protected ComponentHolder(final T instance, final Consumer<T> destroyer) {
                this.instance = instance;
                this.destroyer = destroyer;
            }
    
            protected T get() {
                return instance;
            }
    
            protected void destroy() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_internal.h

                                        TracingTensorHandle**) = 0;
    
      // Finalize this context and make a function out of it. The context is in a
      // invalid state after this call and must be destroyed.
      virtual absl::Status Finalize(OutputList* outputs, AbstractFunction**) = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    } else if (logger.isDebugEnabled()) {
                        logger.debug("Terminated process {}.", p);
                    }
                } catch (final Exception e) {
                    logger.warn("Failed to stop destroyer.", e);
                }
            }
    
            public boolean isExecuted() {
                return executed.get();
            }
        }
    
        public void setCommandList(final List<String> commandList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Destroying LaContainer...");
                }
                SingletonLaContainerFactory.destroy();
                logger.info("Destroyed LaContainer.");
            }
        }
    
        private static int process(final Options options) {
            final Crawler crawler = ComponentUtil.getComponent(Crawler.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top