Skip to content

Commit

Permalink
deploy: a4176ee
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Sep 24, 2023
1 parent d660ea1 commit 2d160ab
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$10458/0x0000000802f0b040@67851939),cats.effect.kernel.Resource$$Lambda$10459/0x0000000802f0a840@7ba7536c),cats.effect.kernel.Resource$$Lambda$10460/0x0000000802f09840@7e8d1e4c)
</span><span class="comment">// buildClient: Resource[IO, http4s.package.KClient[IO]] = Bind(Bind(Bind(Pure(()),cats.effect.kernel.Resource$$Lambda$12303/0x0000000803384040@5e5b8809),cats.effect.kernel.Resource$$Lambda$12304/0x0000000803385040@27be3229),cats.effect.kernel.Resource$$Lambda$12305/0x0000000803385840@5da7bbb1)
</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@7e5b13ea,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@2d30a172,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 2d160ab

Please sign in to comment.