Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NLnetLabs/cascade
/ functions
Functions
810 in github.com/NLnetLabs/cascade
⨍
Functions
810
◇
Types & classes
469
↓ 4 callers
Method
add_soa
Add the new SOA record. A copy of the record **must** be added as a regular record too.
crates/zonedata/src/writer.rs:189
↓ 4 callers
Method
as_str
(&self)
src/zone/machine.rs:569
↓ 4 callers
Method
as_str
Represent a [`LogLevel`] as a string.
crates/cli/src/args.rs:88
↓ 4 callers
Method
canonical_cmp
(&self, other: &RecordFullCmp<NN, DD>)
src/signer/incremental.rs:3586
↓ 4 callers
Method
clear
Clear the instance. A new, empty instance is created. If a new instance was already built, it will be overwritten.
crates/zonedata/src/restorer.rs:157
↓ 4 callers
Method
cmp
(&self, other: &Self)
src/zone/mod.rs:867
↓ 4 callers
Function
format_cmd_error
(err: &str, output: Option<Output>)
src/units/key_manager.rs:560
↓ 4 callers
Function
generate_project_rerun_with_prefix
(prefix: &str, paths: Vec<&str>)
build.rs:244
↓ 4 callers
Function
generate_project_rerun_with_prefix
(prefix: &str, paths: Vec<&str>)
crates/cli/build.rs:244
↓ 4 callers
Method
give_up
Give up loading. The ongoing attempt to build a new instance of the zone will be abandoned, and any intermediate artifacts will be cleaned up.
crates/zonedata/src/storage/transitions.rs:252
↓ 4 callers
Method
init
Initialize a [`Syslog`] writer.
src/log.rs:248
↓ 4 callers
Method
mark_dirty
Mark the store as dirty. A persistence operation for the store will be enqueued (unless one already exists), so that it will be saved in the near fut
src/tsig/mod.rs:50
↓ 4 callers
Function
new_base_rtype_to_old_base_rtype
Turn a new base Rtype into an old base Rtype. TODO: add to domain.
src/signer/incremental.rs:3706
↓ 4 callers
Function
nsec3_rtypebitmap_from_iterator
(iter: I)
src/signer/incremental.rs:3426
↓ 4 callers
Function
nsec3_update_bitmap
Return the effective result HashSet even when the NSEC3 record gets deleted.
src/signer/incremental.rs:3363
↓ 4 callers
Function
nsec_rtypebitmap_from_iterator
(iter: I)
src/signer/incremental.rs:2933
↓ 4 callers
Function
nsec_update_bitmap
Return the effective result HashSet even when the NSEC record gets deleted.
src/signer/incremental.rs:2784
↓ 4 callers
Function
parse_rr
( buf: &[u8], pos: usize, )
src/persistence/restore.rs:293
↓ 4 callers
Method
patch
Patch the current (loaded) instance. A [`LoadedZonePatcher`] is returned, which can be used to apply a diff to the current instance of the zone. This
crates/zonedata/src/builder.rs:140
↓ 4 callers
Function
print_auto_flags
(auto: &AutoConfigPolicyInfo)
crates/cli/src/commands/policy.rs:224
↓ 4 callers
Function
read_binary_file
(p: Option<&PathBuf>)
crates/cli/src/commands/hsm.rs:205
↓ 4 callers
Function
record_zone_event
( center: &Arc<Center>, zone: &Arc<Zone>, event: HistoricalEvent, serial: Option<Serial>, )
src/manager.rs:112
↓ 4 callers
Method
regular_records
Regular records in the zone. Records are sorted in DNSSEC canonical order. The SOA record **is included.
crates/zonedata/src/reader.rs:57
↓ 4 callers
Function
remove_zone
Remove a zone.
src/center.rs:260
↓ 4 callers
Function
roll_command
( client: &CascadeApiClient, zone: ZoneName, cmd: KeyRollCommand, variant: api::KeyRollVariant
crates/cli/src/commands/keyset.rs:185
↓ 4 callers
Function
send_format_decode
(req: RequestBuilder)
crates/cli/src/client.rs:82
↓ 4 callers
Method
start_cleanup
(&mut self, cleaner: ZoneCleaner)
src/zone/storage.rs:606
↓ 4 callers
Method
start_rewinding_loaded_review
(&mut self, loaded_reviewer: LoadedZoneReviewer)
src/zone/storage.rs:695
↓ 3 callers
Method
abandon
Abandon the signing operation (but not due to failure).
src/zone/machine.rs:682
↓ 3 callers
Method
as_str
Represent a [`LogLevel`] as a string.
crates/cfg/src/lib.rs:372
↓ 3 callers
Function
axfr
( zone: &Arc<Zone>, addr: &SocketAddr, tsig_key: Option<tsig::Key>, builder: &mut LoadedZoneBu
src/loader/server.rs:361
↓ 3 callers
Method
clear_cron_next
(&mut self)
src/units/key_manager.rs:602
↓ 3 callers
Method
connect
Connect to the syslog daemon.
src/log.rs:381
↓ 3 callers
Method
consume
Consume a [`SigningPermit`], returning the underlying zone. This is a module-local function, asserting that the permit is finished.
src/signer/queue.rs:317
↓ 3 callers
Method
enqueue
( &self, zone: Arc<Zone>, _builder: &SignedZoneBuilder, )
src/signer/queue.rs:94
↓ 3 callers
Method
enqueue_resign
(&mut self, trigger: ResigningTrigger)
src/signer/zone.rs:108
↓ 3 callers
Method
inc_xfr_requests_to_upstream_succeeded
(&self, ty: XfrType, transport: XfrTransport)
src/metrics.rs:422
↓ 3 callers
Function
is_occluded
(name: &Name<Bytes>, iss: &IncrementalSigningState)
src/signer/incremental.rs:3459
↓ 3 callers
Function
is_signing
Whether an RRset would be generated by Cascade's signer. `at_apex` computes whether the record is at the apex of the containing zone. It is only call
crates/zonedata/src/lib.rs:219
↓ 3 callers
Function
key_file_imports
( key_paths: Vec<Utf8PathBuf>, key_type: KeyType, )
crates/cli/src/commands/zone.rs:1056
↓ 3 callers
Function
kmip_imports
(key_type: KeyType, x: &[String])
crates/cli/src/commands/zone.rs:1100
↓ 3 callers
Method
loaded_records
Records from the loaded instance of the zone. Records are sorted in DNSSEC canonical order. Only records also present in the signed instance are incl
crates/zonedata/src/reader.rs:155
↓ 3 callers
Function
merge
Merge sorted iterators.
crates/zonedata/src/lib.rs:429
↓ 3 callers
Method
next_loaded
Read the next loaded instance data (if any).
crates/zonedata/src/writer.rs:320
↓ 3 callers
Function
nsec3_insert_full
( name: &Name<Bytes>, nsec3_hash: OwnerHash<Bytes>, nsec3_name: &Name<Bytes>, rtypebitmap: Rty
src/signer/incremental.rs:3257
↓ 3 callers
Function
nsec3_remove_et
(name: &Name<Bytes>, iss: &mut IncrementalSigningState)
src/signer/incremental.rs:2987
↓ 3 callers
Function
nsec3_update
( owner: &Name<Bytes>, nsec3_record: &Zrd, nsec3: &Nsec3<Bytes>, rtypes: &HashSet<Rtype>,
src/signer/incremental.rs:2946
↓ 3 callers
Function
nsec_insert
( name: &Name<Bytes>, rtypebitmap: RtypeBitmap<Bytes>, iss: &mut IncrementalSigningState, )
src/signer/incremental.rs:2714
↓ 3 callers
Method
parse
Parse from this specification.
src/tsig/file/v1.rs:25
↓ 3 callers
Function
print_version
(s: &str)
build.rs:236
↓ 3 callers
Function
print_version
(s: &str)
crates/cli/build.rs:236
↓ 3 callers
Method
remove_nsec_nsec3
(&mut self)
src/signer/incremental.rs:2169
↓ 3 callers
Method
reset
(self)
src/zone/machine.rs:668
↓ 3 callers
Method
retry
Retry signing. The ongoing attempt will be abandoned, and any intermediate artifacts will be cleaned up. The upcoming loaded instance (if any) will b
crates/zonedata/src/storage/transitions.rs:316
↓ 3 callers
Function
revname_to_old_base_name
Turn a RevName into an old base Name. TODO: add to domain.
src/signer/incremental.rs:3691
↓ 3 callers
Function
run_cmd
(cmd: &str, args: I)
build.rs:43
↓ 3 callers
Function
run_cmd
(cmd: &str, args: I)
crates/cli/build.rs:43
↓ 3 callers
Function
save_now
Persist the store immediately.
src/tsig/mod.rs:103
↓ 3 callers
Method
set_records
Set all records. The given [`Vec`] will replace all the records in the instance, including the SOA record; but a copy of the SOA record **must** be s
crates/zonedata/src/writer.rs:89
↓ 3 callers
Method
signed_diff
The diff of the signed component from the preceding instance.
crates/zonedata/src/viewer.rs:319
↓ 3 callers
Function
soa
Generate a SOA DNS message response stream for the given zone viewer. Note: Also used by [`axfr()`] and [`ixfr()`] as well as in response to a direct
src/server/service.rs:257
↓ 3 callers
Method
soa
The SOA record.
crates/zonedata/src/reader.rs:46
↓ 3 callers
Method
start
TODO
src/signer/status.rs:97
↓ 3 callers
Method
stop_review
Stop reviewing the loaded instance.
crates/zonedata/src/storage/transitions.rs:603
↓ 3 callers
Method
unit_name
(&self)
src/units/zone_server.rs:204
↓ 3 callers
Function
write_file
Atomically write a file. # Panics Panics if 'path' does not have a containing directory.
src/util.rs:172
↓ 2 callers
Method
abandon_load
(&mut self, builder: cascade_zonedata::LoadedZoneBuilder)
src/zone/machine.rs:175
↓ 2 callers
Function
abandon_loaded_restoration
( center: &Arc<Center>, zone: &Arc<Zone>, restorer: LoadedZoneRestorer, )
src/persistence/zone.rs:191
↓ 2 callers
Method
abandon_loaded_restoration
Abandon the ongoing loaded-instance restore. Any intermediate zone data is cleared and the zone is moved to the passive state. It is registered again
src/zone/storage.rs:538
↓ 2 callers
Method
abandon_loaded_review
(&mut self)
src/zone/storage.rs:252
↓ 2 callers
Method
abandon_sign
(&mut self, builder: SignedZoneBuilder)
src/zone/storage.rs:374
↓ 2 callers
Function
abandon_signed_restoration
( center: &Arc<Center>, zone: &Arc<Zone>, restorer: SignedZoneRestorer, )
src/persistence/zone.rs:212
↓ 2 callers
Method
abandon_signed_review
(&mut self)
src/zone/storage.rs:471
↓ 2 callers
Method
abandon_signing
Abandon the ongoing signing operation (but not due to failure).
src/zone/machine.rs:301
↓ 2 callers
Method
accept
( &self, pending: SigningPending, lock: &mut SigningQueueLock<'_>, )
src/signer/queue.rs:176
↓ 2 callers
Method
accept_loaded
(&mut self)
src/zone/storage.rs:232
↓ 2 callers
Method
accept_signed
(&mut self)
src/zone/storage.rs:451
↓ 2 callers
Method
added_non_soa
Iterate over the added non-SOA records.
crates/zonedata/src/diff.rs:82
↓ 2 callers
Method
algorithm
(&self)
src/units/zone_signer.rs:890
↓ 2 callers
Function
apply_patches
Implementation of `{Loaded,Signed}ZonePatcher::apply()`.
crates/zonedata/src/writer.rs:762
↓ 2 callers
Function
apply_replacement
Implementation of `{Loaded,Signed}ZoneReplacer::apply()`.
crates/zonedata/src/writer.rs:635
↓ 2 callers
Method
approve
(self)
src/zone/machine.rs:647
↓ 2 callers
Function
axfr
Generate an AXFR DNS message response stream for the given zone.
src/server/service.rs:274
↓ 2 callers
Method
build
Build the internal configuration.
crates/cfg/src/env.rs:128
↓ 2 callers
Method
cmp
(&self, other: &Self)
crates/zonedata/src/lib.rs:254
↓ 2 callers
Function
deserialize
(deserializer: D)
src/tsig/file/v1.rs:104
↓ 2 callers
Method
disable
Disable zone refreshing. This is called when the zone contents are wiped or the zone source is removed.
src/loader/zone.rs:252
↓ 2 callers
Method
display_halted_reason
(&self)
src/zone/machine.rs:91
↓ 2 callers
Function
file_modified
(filename: impl AsRef<Path>)
src/units/key_manager.rs:657
↓ 2 callers
Method
fill
Build the new instance from an absolute source. A [`LoadedZoneReplacer`] is returned, which can be used to write the records in the zone. If the ins
crates/zonedata/src/restorer.rs:82
↓ 2 callers
Method
find_last_event
( &self, typ: HistoricalEventType, serial: Option<Serial>, )
src/zone/mod.rs:433
↓ 2 callers
Method
finish
Finish building the instance. If a new instance has been built (with [`Self::replace()`], [`Self::patch()`], or [`Self::clear()`]), a [`LoadedZoneBui
crates/zonedata/src/builder.rs:260
↓ 2 callers
Function
format_size
Format a size in a human-readable way Shows one decimal point if the size is small enough for that to make sense (e.g. below 10KB).
crates/cli/src/commands/zone.rs:974
↓ 2 callers
Method
get_unsigned_sorted
(&self)
src/signer/incremental.rs:2275
↓ 2 callers
Method
get_zone_metrics
(&self, name: Name<Bytes>)
src/metrics.rs:188
↓ 2 callers
Method
halted_reason
(&self)
src/zone/mod.rs:425
↓ 2 callers
Method
hard_reject
(self)
src/zone/machine.rs:655
↓ 2 callers
Method
inc_xfr_requests_to_upstream_attempted
(&self, ty: XfrType, transport: XfrTransport)
src/metrics.rs:411
↓ 2 callers
Method
init_from_file
Attempt to load the global state file. `zones` will be set to the names of zones that need to be loaded. `policies` will be set to the set of policie
src/center.rs:389
↓ 2 callers
Method
initiate_resigning
Initiate re-signing due to the freeing up of signing capacity.
src/signer/queue.rs:242
← previous
next →
101–200 of 810, ranked by callers