func (cl *Client) RegisterAPI() error {
	mgr, err := manager.New(cl.cfg, manager.Options{Namespace: cl.namespace})
	if err != nil {
		return err
	}

	// Setup Scheme for all resources
	if err := apis.AddToScheme(mgr.GetScheme()); err != nil {
		return err
	}
	return nil
}
// RegisterAPI registers the API scheme in the client using the manager.
// This function needs to be called only once a client object
RegisterAPI registers the API scheme in the client using the manager.
This function needs to be called only once a client object
// RegisterAPI registers the API scheme in the client using the manager . // This function needs to be called only once a client object
func (cl *Client) RegisterAPI() error {
	mgr, err := manager.New(cl.cfg, manager.Options{Namespace: cl.namespace})
	if err != nil {
		return err
	}
	if err := apis.AddToScheme(mgr.GetScheme()); err != nil {
		return err
	}
	return nil
}
func ( cl * Client ) RegisterAPI ( ) error { mgr , err := manager . New ( cl . cfg , manager . Options { Namespace : cl . namespace } ) if err != nil { return err } if err := apis . AddToScheme ( mgr . GetScheme ( ) ) ; err != nil { return err } return nil }
RegisterAPI registers the API scheme in the client using the manager.
RegisterAPI registers the API scheme in the client using the manager .
// Setup Scheme for all resources