Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for deployed (0.25 sec)

  1. cmd/update.go

    	return env.Get("KUBERNETES_SERVICE_HOST", "") != ""
    }
    
    // IsBOSH returns true if minio is deployed from a bosh package
    func IsBOSH() bool {
    	// "/var/vcap/bosh" exists in BOSH deployed instance.
    	_, err := os.Stat("/var/vcap/bosh")
    	if osIsNotExist(err) {
    		return false
    	}
    
    	// Log error, as we will not propagate it to caller
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/service.go

    // restartProcess starts a new process passing it the active fd's. It
    // doesn't fork, but starts a new process using the same environment and
    // arguments as when it was originally started. This allows for a newly
    // deployed binary to be started. It returns the pid of the newly started
    // process when successful.
    func restartProcess() error {
    	if runtime.GOOS == globalWindowsOSName {
    		cmd := exec.Command(os.Args[0], os.Args[1:]...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. istioctl/pkg/wait/wait.go

    			} else {
    				w = withContext(ctx)
    				w.Go(func(result chan string) error {
    					result <- generation
    					return nil
    				})
    			}
    			// wait for all deployed versions to be contained in generations
    			t := time.NewTicker(pollInterval)
    			printVerbosef(cmd, "getting first version from chan")
    			firstVersion, err := w.BlockingRead()
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. internal/event/target/nsq.go

    		if xnet.IsConnRefusedErr(err) {
    			return false, store.ErrNotConnected
    		}
    		return false, err
    	}
    	return true, nil
    }
    
    // Save - saves the events to the store which will be replayed when the nsq connection is active.
    func (target *NSQTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		return target.store.Put(eventData)
    	}
    
    	if err := target.init(); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  5. internal/event/target/elasticsearch.go

    	if err != nil {
    		return false, err
    	}
    
    	return target.client.ping(ctx, target.args)
    }
    
    // Save - saves the events to the store if queuestore is configured, which will be replayed when the elasticsearch connection is active.
    func (target *ElasticsearchTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		return target.store.Put(eventData)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  6. internal/event/target/mqtt.go

    		return err
    	}
    
    	// Delete the event from store.
    	return target.store.Del(key.Name)
    }
    
    // Save - saves the events to the store if queuestore is configured, which will
    // be replayed when the mqtt connection is active.
    func (target *MQTTTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		return target.store.Put(eventData)
    	}
    	if err := target.init(); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  7. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().StringVarP(&revisionSpecified, "revision", "", "default",
    		"analyze a specific revision deployed.")
    	return analysisCmd
    }
    
    func gatherFiles(cmd *cobra.Command, args []string) ([]local.ReaderSource, error) {
    	var readers []local.ReaderSource
    	for _, f := range args {
    		var r *os.File
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. internal/event/target/amqp.go

    		if !confirmed.Ack {
    			return fmt.Errorf("failed delivery of delivery tag: %d", confirmed.DeliveryTag)
    		}
    	}
    
    	return nil
    }
    
    // Save - saves the events to the store which will be replayed when the amqp connection is active.
    func (target *AMQPTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		return target.store.Put(eventData)
    	}
    	if err := target.init(); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
  9. internal/logger/target/kafka/kafka.go

    }
    
    // Send log message 'e' to kafka target.
    func (h *Target) Send(ctx context.Context, entry interface{}) error {
    	if h.store != nil {
    		// save the entry to the queue store which will be replayed to the target.
    		return h.store.Put(entry)
    	}
    	h.logChMu.RLock()
    	defer h.logChMu.RUnlock()
    	if h.logCh == nil {
    		// We are closing...
    		return nil
    	}
    
    	select {
    	case h.logCh <- entry:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  10. internal/event/target/postgresql.go

    		if IsConnErr(err) {
    			return false, store.ErrNotConnected
    		}
    		return false, err
    	}
    	return true, nil
    }
    
    // Save - saves the events to the store if questore is configured, which will be replayed when the PostgreSQL connection is active.
    func (target *PostgreSQLTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		return target.store.Put(eventData)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top