Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UntypedWrapper (0.15 sec)

  1. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    	return UntypedWrapper[T]{c}
    }
    
    func (u UntypedWrapper[T]) Get(name, namespace string) controllers.Object {
    	// DO NOT return u.reader.Get directly, or we run into issues with https://go.dev/tour/methods/12
    	res := u.reader.Get(name, namespace)
    	if controllers.IsNil(res) {
    		return nil
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top