Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MatchAsPatternPrefix (0.3 sec)

  1. internal/kms/stub.go

    	matches := []madmin.KMSKeyInfo{}
    	if req.Prefix == "" {
    		req.Prefix = "*"
    	}
    	for _, keyName := range s.KeyNames {
    		if wildcard.MatchAsPatternPrefix(req.Prefix, keyName) {
    			matches = append(matches, madmin.KMSKeyInfo{Name: keyName, CreatedAt: StubCreatedAt, CreatedBy: StubCreatedBy})
    		}
    	}
    
    	return matches, "", nil
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top