Documentation
¶
Index ¶
- Constants
- type Infra
- func (i *Infra) Close() error
- func (i *Infra) CreateOrUpdateProxyInfra(ctx context.Context, infra *ir.Infra) error
- func (i *Infra) CreateOrUpdateRateLimitInfra(ctx context.Context) error
- func (i *Infra) DeleteProxyInfra(_ context.Context, infra *ir.Infra) error
- func (i *Infra) DeleteRateLimitInfra(ctx context.Context) error
Constants ¶
View Source
const ( // XdsTLSCertFilename is the fully qualified name of the file containing Envoy's // xDS server TLS certificate. XdsTLSCertFilename = "tls.crt" // XdsTLSKeyFilename is the fully qualified name of the file containing Envoy's // xDS server TLS key. XdsTLSKeyFilename = "tls.key" // XdsTLSCaFilename is the fully qualified name of the file containing Envoy's // trusted CA certificate. XdsTLSCaFilename = "ca.crt" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Infra ¶
type Infra struct {
HomeDir string
Logger logging.Logger
// EnvoyGateway is the configuration used to startup Envoy Gateway.
EnvoyGateway *egv1a1.EnvoyGateway
// contains filtered or unexported fields
}
Infra manages the creation and deletion of host process based on Infra IR resources.
func (*Infra) CreateOrUpdateProxyInfra ¶
CreateOrUpdateProxyInfra creates the managed host process, if it doesn't exist.
func (*Infra) CreateOrUpdateRateLimitInfra ¶
CreateOrUpdateRateLimitInfra creates the managed host rate limit process, if it doesn't exist.
func (*Infra) DeleteProxyInfra ¶
DeleteProxyInfra removes the managed host process, if it doesn't exist.
Click to show internal directories.
Click to hide internal directories.