Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestSubSysNotificationTargets (0.21 sec)

  1. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  2. cmd/config-current.go

    			if err := logger.ValidateSubSysConfig(ctx, s, subSys); err != nil {
    				return err
    			}
    		}
    	}
    
    	if config.NotifySubSystems.Contains(subSys) {
    		if err := notify.TestSubSysNotificationTargets(ctx, s, subSys, NewHTTPTransport()); err != nil {
    			return err
    		}
    	}
    
    	if config.LambdaSubSystems.Contains(subSys) {
    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)
Back to top