Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for notice (0.36 sec)

  1. internal/logger/logonce.go

    		shouldLog = false
    	}
    	l.Unlock()
    
    	if shouldLog {
    		logIf(ctx, subsystem, err, errKind...)
    	}
    }
    
    // Cleanup the map every one hour so that the log message is printed again for the user to notice.
    func (l *logOnceType) cleanupRoutine() {
    	for {
    		time.Sleep(time.Hour)
    
    		l.Lock()
    		l.IDMap = make(map[string]onceErr)
    		l.Unlock()
    	}
    }
    
    // Returns logOnceType
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    		// so the method set can be extended. Instead of recording
    		// the full set of names (below), record only that there were
    		// unexported methods. (If the interface shrinks, we will notice
    		// because a method signature emitted during the last loop
    		// will disappear.)
    		w.emitf("unexported methods")
    	}
    
    	pop()
    
    	if !complete {
    		return
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		list = append(list, targetIDStatus)
    		lambdaMap[targetID.Name] = list
    	}
    
    	notify := make([]map[string][]madmin.TargetIDStatus, len(lambdaMap))
    	counter := 0
    	for key, value := range lambdaMap {
    		v := make(map[string][]madmin.TargetIDStatus)
    		v[key] = value
    		notify[counter] = v
    		counter++
    	}
    	return notify
    }
    
    // fetchKMSStatus fetches KMS-related status information.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  4. cmd/batch-handlers.go

    		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)
    }
    
    // ReplicateFromSource - this is not implemented yet where source is 'remote' and target is local.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. internal/config/lambda/parse.go

    	"github.com/minio/minio/internal/config/lambda/target"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    const (
    	logSubsys = "notify"
    )
    
    func logOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, logSubsys, err, id, errKind...)
    }
    
    // ErrTargetsOffline - Indicates single/multiple target failures.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. internal/event/target/postgresql.go

    	EnvPostgresEnable             = "MINIO_NOTIFY_POSTGRES_ENABLE"
    	EnvPostgresFormat             = "MINIO_NOTIFY_POSTGRES_FORMAT"
    	EnvPostgresConnectionString   = "MINIO_NOTIFY_POSTGRES_CONNECTION_STRING"
    	EnvPostgresTable              = "MINIO_NOTIFY_POSTGRES_TABLE"
    	EnvPostgresHost               = "MINIO_NOTIFY_POSTGRES_HOST"
    	EnvPostgresPort               = "MINIO_NOTIFY_POSTGRES_PORT"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. cmd/config-current.go

    		config.NotifyAMQPSubSys:     notify.HelpAMQP,
    		config.NotifyKafkaSubSys:    notify.HelpKafka,
    		config.NotifyMQTTSubSys:     notify.HelpMQTT,
    		config.NotifyNATSSubSys:     notify.HelpNATS,
    		config.NotifyNSQSubSys:      notify.HelpNSQ,
    		config.NotifyMySQLSubSys:    notify.HelpMySQL,
    		config.NotifyPostgresSubSys: notify.HelpPostgres,
    		config.NotifyRedisSubSys:    notify.HelpRedis,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 11:33:28 GMT 2024
    - 30.7K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    	if err != nil {
    		return nil, err
    	}
    
    	// Check if we have many versions after applyNewerNoncurrentVersionLimit.
    	if len(objInfos) >= int(scannerExcessObjectVersions.Load()) {
    		// Notify object accessed via a GET request.
    		sendEvent(eventArgs{
    			EventName:  event.ObjectManyVersions,
    			BucketName: i.bucket,
    			Object: ObjectInfo{
    				Name: i.objectPath(),
    			},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  9. internal/event/targetlist.go

    	"context"
    	"fmt"
    	"runtime"
    	"sync"
    	"sync/atomic"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/store"
    	"github.com/minio/pkg/v2/workers"
    )
    
    const (
    	logSubsys = "notify"
    
    	// The maximum allowed number of concurrent Send() calls to all configured notifications targets
    	maxConcurrentAsyncSend = 50000
    )
    
    // Target - event target interface
    type Target interface {
    	ID() TargetID
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    		opts.Transition.ExpireRestored = true
    		_, err := objectAPI.DeleteObject(ctx, oi.Bucket, oi.Name, opts)
    		if err == nil {
    			// TODO consider including expiry of restored object to events we
    			// notify.
    			auditLogLifecycle(ctx, *oi, ILMExpiry, tags, traceFn)
    		}
    		return err
    	}
    
    	// Delete remote object from warm-tier
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top