Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateBackendBatchOptions (0.38 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/audit.go

    		if m == mode {
    			return nil
    		}
    	}
    	return fmt.Errorf("invalid audit %s mode %s, allowed modes are %q", pluginName, mode, strings.Join(AllowedModes, ","))
    }
    
    func validateBackendBatchOptions(pluginName string, options AuditBatchOptions) error {
    	if err := validateBackendMode(pluginName, options.Mode); err != nil {
    		return err
    	}
    	if options.Mode != ModeBatch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 24 06:30:04 UTC 2022
    - 20.3K bytes
    - Viewed (0)
Back to top