PluginConfig
This class defines properties that help the system optimize itself to handle a specific plugin. It includes configurations for resource quotas, read and write rate limiters, caching characteristics, and a custom state for resource metadata.
Attributes
| Attribute | Type | Description |
|---|---|---|
| ResourceQuotas | ResourceQuotas | ResourceQuotas allows the plugin to register resources' quotas to ensure the system comply with restrictions in the remote service. |
| ReadRateLimiter | [RateLimiterConfig](ratelimiterconfig.md?sid=flyteplugins_go_tasks_pluginmachinery_webapi_ratelimiterconfig) | Defines rate limiter properties for read actions (e.g. retrieve status). |
| WriteRateLimiter | [RateLimiterConfig](ratelimiterconfig.md?sid=flyteplugins_go_tasks_pluginmachinery_webapi_ratelimiterconfig) | Defines rate limiter properties for write actions. |
| Caching | CachingConfig | Defines caching characteristics. |
| ResourceMeta | [ResourceMeta](resourcemeta.md?sid=flyteplugins_go_tasks_pluginmachinery_webapi_resourcemeta) | Gets an empty copy for the custom state that can be used in ResourceMeta when interacting with the remote service. |