Skip to content

Commit

Permalink
deploy: b687e79
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Oct 23, 2023
1 parent 7f46d5e commit ca8c4a2
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$10352/0x0000000802f0b840@1c704b3e),cats.effect.kernel.Resource$$Lambda$10353/0x0000000802f18840@2f74c603),cats.effect.kernel.Resource$$Lambda$10354/0x0000000802f19040@7f452e3a)
</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>
</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@36c4c48f,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@cbd8b5c,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 ca8c4a2

Please sign in to comment.