Documentation ¶
Index ¶
- func GetRateLimitServiceURL(namespace string) string
- type Infra
- func (i *Infra) CreateOrUpdateProxyInfra(ctx context.Context, infra *ir.Infra) error
- func (i *Infra) CreateOrUpdateRateLimitInfra(ctx context.Context, infra *ir.RateLimitInfra) error
- func (i *Infra) DeleteProxyInfra(ctx context.Context, infra *ir.Infra) error
- func (i *Infra) DeleteRateLimitInfra(ctx context.Context, infra *ir.RateLimitInfra) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRateLimitServiceURL ¶ added in v0.3.0
GetRateLimitServiceURL returns the URL for the rate limit service.
Types ¶
type Infra ¶
type Infra struct { Client client.Client // Namespace is the Namespace used for managed infra. Namespace string }
Infra manages the creation and deletion of Kubernetes infrastructure based on Infra IR resources.
func (*Infra) CreateOrUpdateProxyInfra ¶ added in v0.3.0
CreateOrUpdateProxyInfra creates the managed kube infra, if it doesn't exist.
func (*Infra) CreateOrUpdateRateLimitInfra ¶ added in v0.3.0
CreateOrUpdateRateLimitInfra creates the managed kube rate limit infra, if it doesn't exist.
func (*Infra) DeleteProxyInfra ¶ added in v0.3.0
DeleteProxyInfra removes the managed kube infra, if it doesn't exist.
func (*Infra) DeleteRateLimitInfra ¶ added in v0.3.0
DeleteRateLimitInfra removes the managed kube infra, if it doesn't exist.
Click to show internal directories.
Click to hide internal directories.