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
// EnvoyGateway is the configuration used to startup Envoy Gateway.
EnvoyGateway *v1alpha1.EnvoyGateway
}
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.
Source Files
¶
- configmap.go
- deployment.go
- infra.go
- labels.go
- proxy_configmap.go
- proxy_deployment.go
- proxy_infra.go
- proxy_labels.go
- proxy_service.go
- proxy_serviceaccount.go
- ratelimit_configmap.go
- ratelimit_deployment.go
- ratelimit_infra.go
- ratelimit_labels.go
- ratelimit_service.go
- ratelimit_serviceaccount.go
- service.go
- serviceaccount.go
Click to show internal directories.
Click to hide internal directories.