Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for stop (0.27 sec)

  1. cni/pkg/nodeagent/server.go

    	}
    
    	log.Info("CNI ambient server marking ready")
    	s.Ready()
    	s.dataplane.Start(s.ctx)
    	s.handlers.Start()
    }
    
    func (s *Server) Stop() {
    	log.Info("CNI ambient server terminating, cleaning up node net rules")
    
    	s.cniServerStopFunc()
    	s.dataplane.Stop()
    }
    
    type meshDataplane struct {
    	kubeClient kubernetes.Interface
    	netServer  MeshDataplane
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	mc idp ldap policy attach old-minio readwrite --group=CN=project.c,ou=groups,ou=swengg,dc=min,dc=io
    
    	mc idp ldap policy entities old-minio
    
    	mc admin cluster iam export old-minio
    	set +x
    
    	mc admin service stop old-minio
    }
    
    import_iam_content_in_new_minio() {
    	echo "Importing IAM content in new minio instance."
    	# Assume current minio binary exists.
    	MINIO_CI_CD=1 ./minio server /tmp/data/{1...4} &
    	sleep 5
    
    	set -x
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    	Status    rebalStatus `msg:"status"`  // Current state of rebalance operation. One of Started|Stopped|Completed|Failed.
    }
    
    // rebalanceMeta contains information pertaining to an ongoing rebalance operation.
    type rebalanceMeta struct {
    	cancel          context.CancelFunc `msg:"-"` // to be invoked on rebalance-stop
    	lastRefreshedAt time.Time          `msg:"-"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    	// Retention configuration, needed to be passed along with lifecycle if set.
    	Retention lock.Retention `msg:"-"`
    
    	// Replication configuration
    	Replication replicationConfig `msg:"-"`
    
    	// StopDiskAtLimit will stop listing on each disk when limit number off objects has been returned.
    	StopDiskAtLimit bool
    
    	// pool and set of where the cache is located.
    	pool, set int
    }
    
    func init() {
    	gob.Register(listPathOptions{})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    // Once the disk has been deemed ok, it will return to online status.
    func (p *xlStorageDiskIDCheck) monitorDiskStatus(spent time.Duration, fn string) {
    	t := time.NewTicker(5 * time.Second)
    	defer t.Stop()
    
    	for range t.C {
    		if contextCanceled(p.diskCtx) {
    			return
    		}
    
    		err := p.storage.WriteAll(context.Background(), minioMetaTmpBucket, fn, toWrite)
    		if err != nil {
    			continue
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. cmd/storage-rest-server.go

    			}
    			xioutil.SafeClose(doneCh)
    			return
    		}
    		defer xioutil.SafeClose(doneCh)
    		// Initiate ticker after body has been read.
    		ticker := time.NewTicker(time.Second * 10)
    		defer ticker.Stop()
    
    		for {
    			select {
    			case <-ticker.C:
    				// The done() might have been called
    				// concurrently, check for it before we
    				// write the filler byte.
    				select {
    				case err := <-doneCh:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    					EnableIPv6:      cfg.InstallConfig.AmbientIPv6,
    				})
    			if err != nil {
    				return fmt.Errorf("failed to create ambient nodeagent service: %v", err)
    			}
    
    			ambientAgent.Start()
    			defer ambientAgent.Stop()
    
    			log.Info("Ambient node agent started, starting installer...")
    
    		} else {
    			// Ambient not enabled, so this readiness flag is no-op'd
    			watchServerReady.Store(true)
    		}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. cmd/erasure.go

    	go func() {
    		// Add jitter to the update time so multiple sets don't sync up.
    		updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64())
    		t := time.NewTicker(updateTime)
    		defer t.Stop()
    		defer saverWg.Done()
    		var lastSave time.Time
    
    		for {
    			select {
    			case <-t.C:
    				if cache.Info.LastUpdate.Equal(lastSave) {
    					continue
    				}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  9. cni/pkg/nodeagent/net.go

    		hostsideProbeIPSet:   probeSet,
    	}
    }
    
    func (s *NetServer) Start(ctx context.Context) {
    	log.Debug("starting ztunnel server")
    	go s.ztunnelServer.Run(ctx)
    }
    
    func (s *NetServer) Stop() {
    	log.Debug("removing host iptables rules")
    	s.iptablesConfigurator.DeleteHostRules()
    
    	log.Debug("destroying host ipset")
    	s.hostsideProbeIPSet.Flush()
    	if err := s.hostsideProbeIPSet.DestroySet(); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  10. istioctl/pkg/waypoint/waypoint.go

    				}
    				return err
    			}
    			if waitReady {
    				startTime := time.Now()
    				ticker := time.NewTicker(1 * time.Second)
    				defer ticker.Stop()
    				for range ticker.C {
    					programmed := false
    					gwc, err := kubeClient.GatewayAPI().GatewayV1().Gateways(ctx.NamespaceOrDefault(ctx.Namespace())).Get(context.TODO(), gw.Name, metav1.GetOptions{})
    					if err == nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top