|
26 | 26 | Setting Up Your Local Environment Install node The SDK requires npm version 6 or higher. If installing node from binaries (i.e. without a package manager), follow these installation instructions. Install docker Your Kubernetes Cluster For the type generation functionality to work, you need a Kubernetes cluster with the CRD OpenAPI Publishing feature which is beta with Kubernetes 1." /> |
27 | 27 | <meta property="og:type" content="article" /> |
28 | 28 | <meta property="og:url" content="https://googlecontainertools.github.io/kpt-functions-sdk/develop/develop/" /> |
29 | | -<meta property="article:modified_time" content="2020-03-26T19:10:44-07:00" /><meta property="og:site_name" content="Kpt Functions SDK" /> |
| 29 | +<meta property="article:modified_time" content="2020-03-26T19:18:35-07:00" /><meta property="og:site_name" content="Kpt Functions SDK" /> |
30 | 30 | <meta itemprop="name" content="Complete User Guide"> |
31 | 31 | <meta itemprop="description" content="This guide will walk you through developing a KPT function using the Typescript SDK. |
32 | 32 | Setup System Requirements Currently supported platforms: amd64 Linux/Mac |
33 | 33 | Setting Up Your Local Environment Install node The SDK requires npm version 6 or higher. If installing node from binaries (i.e. without a package manager), follow these installation instructions. Install docker Your Kubernetes Cluster For the type generation functionality to work, you need a Kubernetes cluster with the CRD OpenAPI Publishing feature which is beta with Kubernetes 1."> |
34 | | -<meta itemprop="dateModified" content="2020-03-26T19:10:44-07:00" /> |
| 34 | +<meta itemprop="dateModified" content="2020-03-26T19:18:35-07:00" /> |
35 | 35 | <meta itemprop="wordCount" content="785"> |
36 | 36 |
|
37 | 37 |
|
@@ -360,7 +360,7 @@ <h4 id="using-a-gke-cluster">Using a GKE cluster</h4> |
360 | 360 | <h2 id="implement-the-function">Implement the function</h2> |
361 | 361 | <p>You can now start implementing the function using your favorite IDE, e.g. <a href="https://code.visualstudio.com/">VSCode</a>:</p> |
362 | 362 | <div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh">code . |
363 | | -</code></pre></div><p>In <code>src/my_func.ts</code>, implement the <code>KptFunc</code> interface <a href="https://googlecontainertools.github.io/kpt-functions-sdk/docs/api/interfaces/_types_.kptfunc.html">documented here</a>.</p> |
| 363 | +</code></pre></div><p>In <code>src/my_func.ts</code>, implement the <code>KptFunc</code> interface <a href="https://googlecontainertools.github.io/kpt-functions-sdk/api/interfaces/_types_.kptfunc.html">documented here</a>.</p> |
364 | 364 | <p>Take a look at <a href="https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/ts/demo-functions/src">these example functions</a> to better understand how to use |
365 | 365 | <code>kpt-functions</code> library. These functions are available as container images documented in the <a href="https://googlecontainertools.github.io/kpt-functions-catalog/">catalog</a>.</p> |
366 | 366 | <p>Once you’ve written some code, build the package with:</p> |
@@ -409,7 +409,7 @@ <h2 id="implement-the-function">Implement the function</h2> |
409 | 409 |
|
410 | 410 |
|
411 | 411 |
|
412 | | - <div class="text-muted mt-5 pt-3 border-top">Last modified March 26, 2020: <a href="https://github.com/GoogleContainerTools/kpt-functions-sdk/commit/433f3f4a9c6d2c31074fe48ecb574b3be3554d98">Minor doc sites changes. (433f3f4)</a> |
| 412 | + <div class="text-muted mt-5 pt-3 border-top">Last modified March 26, 2020: <a href="https://github.com/GoogleContainerTools/kpt-functions-sdk/commit/da23d25ce2cc8a2f9886e26ab76168f6124e7993">Minor doc sites changes. (#129) (da23d25)</a> |
413 | 413 | </div> |
414 | 414 | </div> |
415 | 415 |
|
|
0 commit comments