Skip to content

gufo.thor.services.envoy

envoy service.

Attributes:

Name Type Description
eenvoy

envoy service singleton.

DomainInfo dataclass

Bases: object

Information for preconfigured domains.

Attributes:

Name Type Description
domain str

Domain name.

csr_proxy str

CSR Proxy URL

subject str

CSR subject.

EnvoyService

Bases: BaseService

envoy service.

get_cert_subj(config)

Get certificate subj.

get_compose_networks(config, svc)

Get networks section.

get_compose_ports(config, svc)

Get ports section.

prepare_compose_config(config, svc, services)

Generate config.

Route dataclass

Bases: object

routes part of config.

Attributes:

Name Type Description
name str

Service name.

prefix str

HTTP prefix.

disable_auth bool

Disable external authorization.

prefix_rewite bool

Rewrite prefix, if set.

redirect_to Optional[str]

Redirect to path, if matched.