Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 797 for Save (0.26 sec)

  1. cmd/tier-handlers.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"encoding/json"
    	"io"
    	"net/http"
    	"strconv"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 19:52:44 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. internal/logger/console.go

    	// and freely move in the screen.
    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		for {
    			// Save the attributes of the current cursor helps
    			// us save the text color of the passed error message
    			ansiSaveAttributes()
    			// Print banner with or without the log tag
    			if !tagPrinted {
    				fmt.Fprint(Output, logBanner)
    				tagPrinted = true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/config-current_test.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"os"
    	"testing"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Dec 19 19:10:14 GMT 2022
    - 2K bytes
    - Viewed (0)
  4. internal/event/target/webhook.go

    			return false, store.ErrNotConnected
    		}
    		return false, err
    	}
    	defer conn.Close()
    	return true, nil
    }
    
    // Save - saves the events to the store if queuestore is configured,
    // which will be replayed when the webhook connection is active.
    func (target *WebhookTarget) 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: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. docs/debugging/pprofgoparser/main.go

    			if searchRE == nil || searchRE.MatchString(stackTrace) {
    				ret[t] = append(ret[t], stackTrace)
    			}
    		case record:
    			save(line)
    		default:
    			z := goroutinesRE.FindStringSubmatch(line)
    			if len(z) == 3 {
    				if z[2] != "" {
    					a, _ := strconv.Atoi(z[2])
    					t = time.Duration(a) * time.Minute
    					save(line)
    					record = true
    				} else {
    					skip = true
    				}
    			}
    		}
    	}
    
    	return ret, nil
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser.go

    	var s3Err APIErrorCode
    	// Save credential values.
    	signV4Values.Credential, s3Err = parseCredentialHeader(strings.TrimSpace(credElement), region, stype)
    	if s3Err != ErrNone {
    		return sv, s3Err
    	}
    
    	// Save signed headers.
    	signV4Values.SignedHeaders, s3Err = parseSignedHeader(authFields[1])
    	if s3Err != ErrNone {
    		return sv, s3Err
    	}
    
    	// Save signature.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. internal/event/target/kafka.go

    	brokers := target.client.Brokers()
    	if len(brokers) == 0 {
    		return false, store.ErrNotConnected
    	}
    	return true, nil
    }
    
    // Save - saves the events to the store which will be replayed when the Kafka connection is active.
    func (target *KafkaTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		return target.store.Put(eventData)
    	}
    	if err := target.init(); err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. internal/event/target/nats.go

    				return false, store.ErrNotConnected
    			}
    			return false, connErr
    		}
    	}
    
    	return true, nil
    }
    
    // Save - saves the events to the store which will be replayed when the Nats connection is active.
    func (target *NATSTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		return target.store.Put(eventData)
    	}
    
    	if err := target.init(); err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-rebalance.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. 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 {
    		return err
    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)
Back to top