Skip to content

Commit

Permalink
Deploying to gh-pages from @ 36d14d4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Sep 18, 2023
1 parent af3a4c3 commit fc81be4
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 354 deletions.
2 changes: 1 addition & 1 deletion main/api/src/quilkin/cli/qcmp.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
}
};

<span class="kw">let </span>recv_time = chrono::Utc::now().timestamp_nanos();
<span class="kw">let </span>recv_time = chrono::Utc::now().timestamp_nanos_opt().unwrap();
<span class="kw">let </span>reply = Protocol::parse(<span class="kw-2">&amp;</span>buf[..size]).unwrap().unwrap();

<span class="kw">if </span>ping.nonce() != reply.nonce() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@
</span><span class="kw">pub const </span>GIT_HEAD_REF: <span class="prelude-ty">Option</span>&lt;<span class="kw-2">&amp;</span>str&gt; = <span class="prelude-val">Some</span>(<span class="string">&quot;refs/heads/main&quot;</span>);
<span class="attr">#[doc=<span class="string">r#&quot;If the crate was compiled from within a git-repository, `GIT_COMMIT_HASH` contains HEAD&#39;s full commit SHA-1 hash.&quot;#</span>]
#[allow(dead_code)]
</span><span class="kw">pub const </span>GIT_COMMIT_HASH: <span class="prelude-ty">Option</span>&lt;<span class="kw-2">&amp;</span>str&gt; = <span class="prelude-val">Some</span>(<span class="string">&quot;c9bd13746d65a0d7c948c115100a82f63eb6d2ae&quot;</span>);
</span><span class="kw">pub const </span>GIT_COMMIT_HASH: <span class="prelude-ty">Option</span>&lt;<span class="kw-2">&amp;</span>str&gt; = <span class="prelude-val">Some</span>(<span class="string">&quot;36d14d4197c759f39c8e7ac6257aba22e8d438d5&quot;</span>);
<span class="attr">#[doc=<span class="string">r#&quot;If the crate was compiled from within a git-repository, `GIT_COMMIT_HASH_SHORT` contains HEAD&#39;s short commit SHA-1 hash.&quot;#</span>]
#[allow(dead_code)]
</span><span class="kw">pub const </span>GIT_COMMIT_HASH_SHORT: <span class="prelude-ty">Option</span>&lt;<span class="kw-2">&amp;</span>str&gt; = <span class="prelude-val">Some</span>(<span class="string">&quot;c9bd137&quot;</span>);
</span><span class="kw">pub const </span>GIT_COMMIT_HASH_SHORT: <span class="prelude-ty">Option</span>&lt;<span class="kw-2">&amp;</span>str&gt; = <span class="prelude-val">Some</span>(<span class="string">&quot;36d14d4&quot;</span>);
<span class="attr">#[doc=<span class="string">r#&quot;The target architecture, given by `CARGO_CFG_TARGET_ARCH`.&quot;#</span>]
#[allow(dead_code)]
</span><span class="kw">pub const </span>CFG_TARGET_ARCH: <span class="kw-2">&amp;</span>str = <span class="string">r&quot;x86_64&quot;</span>;
Expand Down
6 changes: 3 additions & 3 deletions main/api/src/quilkin/protocol.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@

<span class="kw">match </span>socket.recv_from(<span class="kw-2">&amp;mut </span>buf).<span class="kw">await </span>{
<span class="prelude-val">Ok</span>((size, source)) =&gt; {
<span class="kw">let </span>received_at = chrono::Utc::now().timestamp_nanos();
<span class="kw">let </span>received_at = chrono::Utc::now().timestamp_nanos_opt().unwrap();
<span class="kw">let </span>command = <span class="kw">match </span>Protocol::parse(<span class="kw-2">&amp;</span>buf[..size]) {
<span class="prelude-val">Ok</span>(<span class="prelude-val">Some</span>(command)) =&gt; command,
<span class="prelude-val">Ok</span>(<span class="prelude-val">None</span>) =&gt; {
Expand Down Expand Up @@ -586,7 +586,7 @@
</span><span class="kw">pub fn </span>ping_with_nonce(nonce: u8) -&gt; <span class="self">Self </span>{
<span class="self">Self</span>::Ping {
nonce,
client_timestamp: chrono::Utc::now().timestamp_nanos(),
client_timestamp: chrono::Utc::now().timestamp_nanos_opt().unwrap(),
}
}

Expand All @@ -598,7 +598,7 @@
nonce,
client_timestamp,
server_start_timestamp,
server_transmit_timestamp: chrono::Utc::now().timestamp_nanos(),
server_transmit_timestamp: chrono::Utc::now().timestamp_nanos_opt().unwrap(),
}
}

Expand Down
2 changes: 1 addition & 1 deletion main/api/src/quilkin/proxy.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
<span class="kw">match </span>result {
<span class="prelude-val">Ok</span>((size, source)) =&gt; {
<span class="kw">let </span>packet = DownstreamPacket {
received_at: chrono::Utc::now().timestamp_nanos(),
received_at: chrono::Utc::now().timestamp_nanos_opt().unwrap(),
asn_info: <span class="kw">crate</span>::maxmind_db::MaxmindDb::lookup(source.ip()),
contents: buf[..size].to_vec(),
source,
Expand Down
2 changes: 1 addition & 1 deletion main/api/src/quilkin/proxy/sessions.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@
<span class="macro">tracing::error!</span>(%error, %source, dest = <span class="question-mark">?</span>endpoint, <span class="string">&quot;Error receiving packet&quot;</span>);
},
<span class="prelude-val">Ok</span>((size, recv_addr)) =&gt; {
<span class="kw">let </span>received_at = chrono::Utc::now().timestamp_nanos();
<span class="kw">let </span>received_at = chrono::Utc::now().timestamp_nanos_opt().unwrap();
<span class="kw">if let </span><span class="prelude-val">Some</span>(last_received_at) = last_received_at {
<span class="kw">crate</span>::metrics::packet_jitter(<span class="kw">crate</span>::metrics::WRITE, asn_info).set(received_at - last_received_at);
}
Expand Down
38 changes: 0 additions & 38 deletions main/book/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,44 +211,6 @@ <h2 id="what-next"><a class="header" href="#what-next">What Next?</a></h2>
for deploying quilkin for your game network.</li>
</ul>
<pre><code class="language-shell">$ quilkin --help
warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:51:62
|
51 | let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/cli/qcmp.rs:73:48
|
73 | let recv_time = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy/sessions.rs:166:70
|
166 | ... let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy.rs:76:69
|
76 | ... received_at: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:129:50
|
129 | client_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:141:59
|
141 | server_transmit_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

The Command-Line Interface for Quilkin

Usage: quilkin [OPTIONS] &lt;COMMAND&gt;
Expand Down
2 changes: 1 addition & 1 deletion main/book/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ <h3 id="oci-image"><a class="header" href="#oci-image"><a href="https://us-docke
<dl>
<dt><strong>Source / Method</strong></dt>
<dd>
<pre><code>us-docker.pkg.dev/quilkin/release/quilkin:0.7.0-dev-c9bd137
<pre><code>us-docker.pkg.dev/quilkin/release/quilkin:0.7.0-dev-36d14d4
</code></pre>
</dd>
<dt><strong>Notes</strong></dt>
Expand Down
38 changes: 0 additions & 38 deletions main/book/introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,44 +211,6 @@ <h2 id="what-next"><a class="header" href="#what-next">What Next?</a></h2>
for deploying quilkin for your game network.</li>
</ul>
<pre><code class="language-shell">$ quilkin --help
warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:51:62
|
51 | let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/cli/qcmp.rs:73:48
|
73 | let recv_time = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy/sessions.rs:166:70
|
166 | ... let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy.rs:76:69
|
76 | ... received_at: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:129:50
|
129 | client_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:141:59
|
141 | server_transmit_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

The Command-Line Interface for Quilkin

Usage: quilkin [OPTIONS] &lt;COMMAND&gt;
Expand Down
154 changes: 1 addition & 153 deletions main/book/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,44 +212,6 @@ <h2 id="what-next"><a class="header" href="#what-next">What Next?</a></h2>
for deploying quilkin for your game network.</li>
</ul>
<pre><code class="language-shell">$ quilkin --help
warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:51:62
|
51 | let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/cli/qcmp.rs:73:48
|
73 | let recv_time = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy/sessions.rs:166:70
|
166 | ... let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy.rs:76:69
|
76 | ... received_at: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:129:50
|
129 | client_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:141:59
|
141 | server_transmit_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

The Command-Line Interface for Quilkin

Usage: quilkin [OPTIONS] &lt;COMMAND&gt;
Expand Down Expand Up @@ -282,7 +244,7 @@ <h3 id="oci-image"><a class="header" href="#oci-image"><a href="https://us-docke
<dl>
<dt><strong>Source / Method</strong></dt>
<dd>
<pre><code>us-docker.pkg.dev/quilkin/release/quilkin:0.7.0-dev-c9bd137
<pre><code>us-docker.pkg.dev/quilkin/release/quilkin:0.7.0-dev-36d14d4
</code></pre>
</dd>
<dt><strong>Notes</strong></dt>
Expand Down Expand Up @@ -681,44 +643,6 @@ <h2 id="whats-next-1"><a class="header" href="#whats-next-1">What's Next?</a></h
proxy.</p>
<p>To view all the options for the <code>proxy</code> subcommand, run: </p>
<pre><code class="language-shell">$ quilkin proxy --help
warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:51:62
|
51 | let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/cli/qcmp.rs:73:48
|
73 | let recv_time = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy/sessions.rs:166:70
|
166 | ... let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy.rs:76:69
|
76 | ... received_at: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:129:50
|
129 | client_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:141:59
|
141 | server_transmit_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

Run Quilkin as a UDP reverse proxy

Usage: quilkin proxy [OPTIONS]
Expand Down Expand Up @@ -2402,44 +2326,6 @@ <h2 id="filter-metrics"><a class="header" href="#filter-metrics">Filter Metrics<
projects and common architecture patterns.</p>
<p>To view all the providers and options for the <code>manage</code> subcommand, run:</p>
<pre><code class="language-shell">$ quilkin manage --help
warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:51:62
|
51 | let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/cli/qcmp.rs:73:48
|
73 | let recv_time = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy/sessions.rs:166:70
|
166 | ... let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy.rs:76:69
|
76 | ... received_at: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:129:50
|
129 | client_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:141:59
|
141 | server_transmit_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

Runs Quilkin as a xDS management server, using `provider` as a configuration source

Usage: quilkin manage [OPTIONS] &lt;COMMAND&gt;
Expand Down Expand Up @@ -2686,44 +2572,6 @@ <h2 id="usage"><a class="header" href="#usage">Usage</a></h2>
connecting to control planes.</p>
<p>To view all options for the <code>relay</code> subcommand, run:</p>
<pre><code class="language-shell">$ quilkin relay --help
warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:51:62
|
51 | let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/cli/qcmp.rs:73:48
|
73 | let recv_time = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy/sessions.rs:166:70
|
166 | ... let received_at = chrono::Utc::now().timestamp_nanos();
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/proxy.rs:76:69
|
76 | ... received_at: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:129:50
|
129 | client_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

warning: use of deprecated method `chrono::DateTime::&lt;Tz&gt;::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--&gt; src/protocol.rs:141:59
|
141 | server_transmit_timestamp: chrono::Utc::now().timestamp_nanos(),
| ^^^^^^^^^^^^^^^

Runs Quilkin as a relay service that runs a Manager Discovery Service (mDS) for accepting cluster and configuration information from xDS management services, and exposing it as a single merged xDS service for proxy services

Usage: quilkin relay [OPTIONS] [COMMAND]
Expand Down
2 changes: 1 addition & 1 deletion main/book/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion main/book/searchindex.json

Large diffs are not rendered by default.

Loading

0 comments on commit fc81be4

Please sign in to comment.