Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for notifications (0.17 sec)

  1. cni/pkg/install/install.go

    		}
    	}
    	targets := append(
    		binPaths,
    		in.cfg.MountedCNINetDir,
    		constants.ServiceAccountPath,
    	)
    	// Create file watcher before checking for installation
    	// so that no file modifications are missed while and after checking
    	// note: we create a file watcher for each invocation, otherwise when we write to the directories
    	// we would get infinite looping of events
    	//
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  2. cmd/metrics-v3.go

    	clusterErasureSetCollectorPath   collectorPath = "/cluster/erasure-set"
    	clusterAuditCollectorPath        collectorPath = "/cluster/audit"
    	clusterNotificationCollectorPath collectorPath = "/cluster/notification"
    	clusterIAMCollectorPath          collectorPath = "/cluster/iam"
    )
    
    const (
    	clusterBasePath = "/cluster"
    )
    
    type metricsV3Collection struct {
    	mgMap       map[collectorPath]*MetricsGroup
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. internal/config/config.go

    	BrowserSubSys        = madmin.BrowserSubSys
    	ILMSubSys            = madmin.ILMSubsys
    
    	// Add new constants here (similar to above) if you add new fields to config.
    )
    
    // Notification config constants.
    const (
    	NotifyKafkaSubSys    = madmin.NotifyKafkaSubSys
    	NotifyMQTTSubSys     = madmin.NotifyMQTTSubSys
    	NotifyMySQLSubSys    = madmin.NotifyMySQLSubSys
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    	if err != nil {
    		return err
    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    	return nil
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    func (r BatchJobReplicateV1) Notify(ctx context.Context, ri *batchJobInfo) error {
    	return notifyEndpoint(ctx, ri, r.Flags.Notify.Endpoint, r.Flags.Notify.Token)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    		if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    			return false
    		}
    		ilmLogIf(ctx, err)
    		return false
    	}
    	// Notification already sent in *expireTransitionedObject*, just return 'true' here.
    	return true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	ioutilx "github.com/minio/minio/internal/ioutil"
    )
    
    // Type to capture different modifications to API request to simulate failure cases.
    type Fault int
    
    const (
    	None Fault = iota
    	MissingContentLength
    	TooBigObject
    	TooBigDecodedLength
    	BadSignature
    	BadMD5
    	MissingUploadID
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. cmd/config-versions.go

    type ConsoleLogger struct {
    	Enable bool `json:"enable"`
    }
    
    // serverConfigV33 is just like version '32', removes clientID from NATS and MQTT, and adds queueDir, queueLimit in all notification targets.
    type serverConfigV33 struct {
    	quick.Config `json:"-"` // ignore interfaces
    
    	Version string `json:"version"`
    
    	// S3 API configuration.
    	Credential auth.Credentials `json:"credential"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:05:24 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  8. internal/config/notify/parse.go

    var ErrTargetsOffline = errors.New("one or more targets are offline. Please use `mc admin info --json` to check the offline targets")
    
    // TestSubSysNotificationTargets - tests notification targets of given subsystem
    func TestSubSysNotificationTargets(ctx context.Context, cfg config.Config, subSys string, transport *http.Transport) error {
    	if err := checkValidNotificationKeysForSubSys(subSys, cfg[subSys]); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  9. internal/logger/logonce.go

    	l := &logOnceType{IDMap: make(map[string]onceErr)}
    	go l.cleanupRoutine()
    	return l
    }
    
    var logOnce = newLogOnceType()
    
    // LogOnceIf - Logs notification errors - once per error.
    // id is a unique identifier for related log messages, refer to cmd/notification.go
    // on how it is used.
    func LogOnceIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
    	if logIgnoreError(err) {
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. cmd/batch-job-common-types.go

    // UnmarshalYAML - BatchJobNotification extends unmarshal to extract line, column information
    func (b *BatchJobNotification) UnmarshalYAML(val *yaml.Node) error {
    	type notification BatchJobNotification
    	var tmp notification
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*b = BatchJobNotification(tmp)
    	b.line, b.col = val.Line, val.Column
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top