Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestSubSysLambdaTargets (0.11 sec)

  1. internal/config/lambda/parse.go

    var ErrTargetsOffline = errors.New("one or more targets are offline. Please use `mc admin info --json` to check the offline targets")
    
    // TestSubSysLambdaTargets - tests notification targets of given subsystem
    func TestSubSysLambdaTargets(ctx context.Context, cfg config.Config, subSys string, transport *http.Transport) error {
    	if err := checkValidLambdaKeysForSubSys(subSys, cfg[subSys]); err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		if err := notify.TestSubSysNotificationTargets(ctx, s, subSys, NewHTTPTransport()); err != nil {
    			return err
    		}
    	}
    
    	if config.LambdaSubSystems.Contains(subSys) {
    		if err := lambda.TestSubSysLambdaTargets(GlobalContext, s, subSys, NewHTTPTransport()); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    func validateConfig(ctx context.Context, s config.Config, subSys string) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top