// GetCachelessClient is a helper function that returns a client that can be used before the manager is started
GetCachelessClient is a helper function that returns a client that can be used before the manager is started
// GetCachelessClient is a helper function that returns a client that can be used before the manager is started
func GetCachelessClient(restConfig *rest.Config) (client.Client, error) {
	s := runtime.NewScheme()
	if err := scheme.AddToScheme(s); err != nil {
		return nil, err
	}
	return client.New(restConfig, client.Options{Scheme: s})
}
func GetCachelessClient ( restConfig * rest . Config ) ( client . Client , error ) { s := runtime . NewScheme ( ) if err := scheme . AddToScheme ( s ) ; err != nil { return nil , err } return client . New ( restConfig , client . Options { Scheme : s } ) }
GetCachelessClient is a helper function that returns a client that can be used before the manager is started
GetCachelessClient is a helper function that returns a client that can be used before the manager is started