Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheKeys ¶
func CacheKeys(rmg *v1alpha1.ResourceManagerGroup) ([]string, error)
CacheKeys returns the keys of the ResourceManagerGroup. If any keys are changed, client will be renewed. The first key is primary key to get client from manager.
func NewUnderlayClientFunc ¶
func NewUnderlayClientFunc(c client.Client) timanager.NewUnderlayClientFunc[*v1alpha1.ResourceManagerGroup, resourcemanagerapi.Client]
Types ¶
type ResourceManagerClient ¶
type ResourceManagerClient interface {
Underlay() resourcemanagerapi.Client
}
func NewClient ¶
func NewClient( _ *v1alpha1.ResourceManagerGroup, underlay resourcemanagerapi.Client, _ timanager.SharedInformerFactory[resourcemanagerapi.Client], ) (ResourceManagerClient, error)
type ResourceManagerClientManager ¶
type ResourceManagerClientManager = timanager.Manager[*v1alpha1.ResourceManagerGroup, ResourceManagerClient]
func NewResourceManagerClientManager ¶
func NewResourceManagerClientManager(logger logr.Logger, c client.Client) ResourceManagerClientManager
Click to show internal directories.
Click to hide internal directories.