Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func ResourceToRateLimiterResource ¶
func ResourceToRateLimiterResource(resource *Resource) ratelimiter.Resource
Types ¶
type Resource ¶
type Resource struct { Entity *helpers.YDBEntity FullPath string Path string DatabaseEndpoint string ResourcePath string MaxUnitsPerSecond float64 MaxBurstSizeCoefficient float64 PrefetchCoefficient float64 PrefetchWatermark float64 }
func ResourceSchemaToRateLimiterResource ¶
func ResourceSchemaToRateLimiterResource(d *schema.ResourceData) (*Resource, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.