Skip to main contentCrate pharos_corefile
Source - BlockContext
- Typed configuration and listener metadata shared by all keys of one block.
- Cursor
- A source-aware cursor over one Directive’s tokens during setup.
- Directive
- A known Directive and its setup function, in Plugin Order.
- Error
- A Corefile error with the source location of the offending token.
- Fallthrough
- Domains for which a Plugin permits Fallthrough.
- ServerBlock
- Parsed Server Block keys and Directive tokens, grouped by Directive name.
- ServerBlockKey
- A normalized Server Block Key.
- Token
- A Corefile token and its source location.
- configure
- Run known Directive setup functions in caller-supplied Plugin Order.
- lex
- Split a Corefile into tokens using the CoreDNS lexer rules.
- normalize_domain
- Normalize a Corefile host into zero or more fully qualified Domains.
- normalize_key
- Normalize one Server Block Key, expanding CIDRs into reverse Domains.
- origins_from_args_or_server_block
- Use explicit arguments, or copy and normalize the Server Block Domains.
- parse
- Parse a Corefile without validating Plugin-specific Directive names or arguments.
- parse_with_env
- Parse using an injectable environment lookup.