Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for ready (0.17 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. cmd/storage-rest-server.go

    // the Close() function is called.
    type closeNotifier struct {
    	rc   io.ReadCloser
    	done chan struct{}
    }
    
    func (c *closeNotifier) Read(p []byte) (n int, err error) {
    	n, err = c.rc.Read(p)
    	if err != nil {
    		if c.done != nil {
    			xioutil.SafeClose(c.done)
    			c.done = nil
    		}
    	}
    	return n, err
    }
    
    func (c *closeNotifier) Close() error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. internal/config/api/api.go

    	EnvAPIObjectMaxVersions           = "MINIO_API_OBJECT_MAX_VERSIONS"
    	EnvAPIObjectMaxVersionsLegacy     = "_MINIO_OBJECT_MAX_VERSIONS"
    )
    
    // Deprecated key and ENVs
    const (
    	apiReadyDeadline            = "ready_deadline"
    	apiReplicationWorkers       = "replication_workers"
    	apiReplicationFailedWorkers = "replication_failed_workers"
    )
    
    // DefaultKVS - default storage class config
    var (
    	DefaultKVS = config.KVS{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  7. cmd/signature-v4_test.go

    				"X-Amz-Date":           now.Format(iso8601Format),
    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			region:   region,
    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (6) Should error if the request is not ready yet, ie X-Amz-Date is in the future.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":      signV4Algorithm,
    				"X-Amz-Date":           now.Add(1 * time.Hour).Format(iso8601Format),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  8. 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)
  9. 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)
  10. 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)
Back to top