Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for ready (0.34 sec)

  1. cni/pkg/nodeagent/server.go

    	pods := s.handlers.GetAmbientPods()
    	err := s.dataplane.ConstructInitialSnapshot(pods)
    	if err != nil {
    		log.Warnf("failed to construct initial snapshot: %v", err)
    	}
    
    	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()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. internal/grid/debug.go

    			BlockConnect: ready,
    		})
    		if err != nil {
    			return nil, err
    		}
    		m := mux.NewRouter()
    		m.Handle(RoutePath, manager.Handler())
    		res.Managers = append(res.Managers, manager)
    		res.Servers = append(res.Servers, startHTTPServer(listeners[i], m))
    		res.Listeners = append(res.Listeners, listeners[i])
    		res.Mux = append(res.Mux, m)
    	}
    	xioutil.SafeClose(ready)
    	for _, m := range res.Managers {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    type ConfigWriter struct {
    	Stdout      io.Writer
    	ztunnelDump *ZtunnelDump
    	FullDump    []byte
    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	cd := ZtunnelDump{}
    	// TODO(fisherxu): migrate this to jsonpb when issue fixed in golang
    	// Issue to track -> https://github.com/golang/protobuf/issues/632
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. internal/cachevalue/cache.go

    // `.TnitOnce`.
    func New[T any]() *Cache[T] {
    	return &Cache[T]{}
    }
    
    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    func NewFromFunc[T any](ttl time.Duration, opts Opts, update func() (T, error)) *Cache[T] {
    	return &Cache[T]{
    		ttl:      ttl,
    		updateFn: update,
    		opts:     opts,
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. cmd/metacache-manager.go

    }
    
    const metacacheMaxEntries = 5000
    
    // initManager will start async saving the cache.
    func (m *metacacheManager) initManager() {
    	// Add a transient bucket.
    	// Start saver when object layer is ready.
    	go func() {
    		objAPI := newObjectLayerFn()
    		for objAPI == nil {
    			time.Sleep(time.Second)
    			objAPI = newObjectLayerFn()
    		}
    
    		t := time.NewTicker(time.Minute)
    		defer t.Stop()
    
    		var exit bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/clusters/clusters.go

    	address            string
    	port               int
    	cluster            string
    	status             core.HealthStatus
    	failedOutlierCheck bool
    }
    
    // Prime loads the clusters output into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	cd := clusters.Wrapper{}
    	err := json.Unmarshal(b, &cd)
    	if err != nil {
    		return fmt.Errorf("error unmarshalling config dump response from Envoy: %v", err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  7. cni/pkg/install/monitoring.go

    	cniInstalls = monitoring.NewSum(
    		"istio_cni_installs_total",
    		"Total number of CNI plugins installed by the Istio CNI installer",
    	)
    
    	installReady = monitoring.NewGauge(
    		"istio_cni_install_ready",
    		"Whether the CNI plugin installation is ready or not",
    	)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jul 17 20:25:52 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers.go

    		} else {
    			// If oldpod != ready && newpod != ready, but the ambient annotation was added,
    			// then assume this event was generated by the CNI plugin labeling the pod on startup,
    			// and skip the event.
    			//
    			// This isn't perfect (someone could manually annotate an unready pod,
    			// then install Istio, then the pod goes ready, and we'd miss capture) - but that
    			// seems vanishingly unlikely
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  9. cmd/healthcheck-handler.go

    	"net/http"
    	"strconv"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/kms"
    )
    
    const unavailable = "offline"
    
    // ClusterCheckHandler returns if the server is ready for requests.
    func ClusterCheckHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ClusterCheckHandler")
    
    	objLayer := newObjectLayerFn()
    	if objLayer == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. cmd/healthcheck-router.go

    import (
    	"net/http"
    
    	"github.com/minio/mux"
    )
    
    const (
    	healthCheckPath            = "/health"
    	healthCheckLivenessPath    = "/live"
    	healthCheckReadinessPath   = "/ready"
    	healthCheckClusterPath     = "/cluster"
    	healthCheckClusterReadPath = "/cluster/read"
    	healthCheckPathPrefix      = minioReservedBucketPath + healthCheckPath
    )
    
    // registerHealthCheckRouter - add handler functions for liveness and readiness routes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 11:12:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
Back to top