Skip to content

Commit

Permalink
deploy: 5b1a842
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Oct 24, 2023
1 parent ca8c4a2 commit 62db4ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ <h2 id="http4s-based-client" class="section"><a class="anchor-link left" href="#
</span><span class="keyword">import</span><span> </span><span class="identifier">org</span><span>.</span><span class="identifier">http4s</span><span>.</span><span class="identifier">circe</span><span>.</span><span class="identifier">_</span><span>

</span><span class="keyword">val</span><span> </span><span class="identifier">buildClient</span><span> = </span><span class="type-name">EmberKubernetesClient</span><span>[</span><span class="type-name">IO</span><span>].</span><span class="identifier">defaultConfig</span><span>[</span><span class="type-name">Json</span><span>]
</span><span class="comment">// buildClient: Resource[IO, http4s.package.KClient[IO]] = Bind(Bind(Bind(Pure(()),cats.effect.kernel.Resource$$Lambda$10345/0x0000000802f03040@608a2a4c),cats.effect.kernel.Resource$$Lambda$10346/0x0000000802f10040@3e5962b),cats.effect.kernel.Resource$$Lambda$10347/0x0000000802f11040@536ab4bd)
</span><span class="comment">// buildClient: Resource[IO, http4s.package.KClient[IO]] = Bind(Bind(Bind(Pure(()),cats.effect.kernel.Resource$$Lambda$10375/0x0000000802d36840@98259ba),cats.effect.kernel.Resource$$Lambda$10376/0x0000000802d36040@4705c188),cats.effect.kernel.Resource$$Lambda$10377/0x0000000802d35040@6ec30162)
</span><span>
</span><span class="keyword">val</span><span> </span><span class="identifier">getNodes</span><span> = </span><span class="identifier">buildClient</span><span>.</span><span class="identifier">use</span><span>(</span><span class="type-name">APIs</span><span>.</span><span class="identifier">nodes</span><span>.</span><span class="identifier">list</span><span>().</span><span class="identifier">send</span><span>)
</span><span class="comment">// getNodes: IO[io.k8s.api.core.v1.NodeList] = IO(...)
Expand Down Expand Up @@ -400,7 +400,7 @@ <h2 id="advanced-requests" class="section"><a class="anchor-link left" href="#ad
.</span><span class="identifier">move</span><span>(</span><span class="identifier">_</span><span>.</span><span class="identifier">metadata</span><span>.</span><span class="identifier">labels</span><span>.</span><span class="identifier">at</span><span>(</span><span class="string-literal">&quot;a&quot;</span><span>), </span><span class="identifier">_</span><span>.</span><span class="identifier">metadata</span><span>.</span><span class="identifier">labels</span><span>.</span><span class="identifier">at</span><span>(</span><span class="string-literal">&quot;b&quot;</span><span>))
.</span><span class="identifier">remove</span><span>(</span><span class="identifier">_</span><span>.</span><span class="identifier">data</span><span>.</span><span class="identifier">at</span><span>(</span><span class="string-literal">&quot;to-delete&quot;</span><span>))
)
</span><span class="comment">// patch2: apis.corev1.ConfigMapAPI.GenericPatch[JsonPatch[ConfigMap, io.k8s.api.core.v1.ConfigMapPointer]] = GenericPatch(test,default,dev.hnaderi.k8s.client.JsonPatch@cbd8b5c,JsonPatch,None,None,None,None)</span></code></pre>
</span><span class="comment">// patch2: apis.corev1.ConfigMapAPI.GenericPatch[JsonPatch[ConfigMap, io.k8s.api.core.v1.ConfigMapPointer]] = GenericPatch(test,default,dev.hnaderi.k8s.client.JsonPatch@64772728,JsonPatch,None,None,None,None)</span></code></pre>
<p>Server side apply:</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span class="keyword">val</span><span> </span><span class="identifier">patch3</span><span> = </span><span class="type-name">APIs</span><span>
.</span><span class="identifier">namespace</span><span>(</span><span class="string-literal">&quot;default&quot;</span><span>)
Expand Down

0 comments on commit 62db4ea

Please sign in to comment.