pkg/util/clientauthorizer/all.go (14 lines of code) (raw):

package clientauthorizer // Copyright (c) Microsoft Corporation. // Licensed under the Apache License 2.0. import ( "crypto/tls" ) type all struct{} func NewAll() ClientAuthorizer { return &all{} } func (all) IsAuthorized(*tls.ConnectionState) bool { return true } func (all) IsReady() bool { return true }