Skip to content

Commit 2783efa

Browse files
author
Mengqi Yu
authored
KPT to kpt (#351)
1 parent d0bcc8c commit 2783efa

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ behavior is threatening or harassing, report it. We are dedicated to providing
7070
an environment where participants feel welcome and safe.
7171

7272
Reports should be directed to Frank Farzan [email protected], the
73-
Project Steward(s) for KPT Functions. It is the Project Steward’s duty to
73+
Project Steward(s) for kpt Functions. It is the Project Steward’s duty to
7474
receive and address reported violations of the code of conduct. They will then
7575
work with a committee consisting of representatives from the Open Source
7676
Programs Office and the Google Open Source Strategy team. If for any reason you

ts/create-kpt-functions/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "create-kpt-functions",
33
"version": "0.17.0",
4-
"description": "KPT functions CLI",
5-
"author": "KPT Authors",
4+
"description": "kpt functions CLI",
5+
"author": "kpt Authors",
66
"license": "Apache-2.0",
77
"repository": {
88
"type": "git",

ts/create-kpt-functions/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function main() {
2828
const parser = new ArgumentParser({
2929
version: '0.0.1',
3030
addHelp: true,
31-
description: 'KPT functions CLI.',
31+
description: 'kpt functions CLI.',
3232
});
3333

3434
const subparsers = parser.addSubparsers({

ts/create-kpt-functions/src/cmd/function_create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { Templates } from '../utils/templates';
2323
import * as validator from '../utils/validator';
2424

2525
export function functionCreate(appDir: string) {
26-
const desc = 'Adding a KPT function.';
26+
const desc = 'Adding a kpt function.';
2727
log(format.startMarker(desc));
2828

2929
const defaultFuncName = 'my_func';

ts/kpt-functions/src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ enum ExitCode {
6262
}
6363

6464
/**
65-
* This is the main entrypoint for running a KPT function.
65+
* This is the main entrypoint for running a kpt function.
6666
*
6767
* This method does not throw any errors and can be invoked at the top-level without getting
6868
* an unhandled promise rejection error.

ts/kpt-functions/src/testing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { Configs, KptFunc } from './types';
1818
import { safeDump } from 'js-yaml';
1919

2020
/**
21-
* TestRunner makes it easy to write unit tests for KPT functions.
21+
* TestRunner makes it easy to write unit tests for kpt functions.
2222
*/
2323
export class TestRunner {
2424
constructor(private readonly fn: KptFunc) {}

ts/kpt-functions/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { ObjectMeta } from './gen/io.k8s.apimachinery.pkg.apis.meta.v1';
1818
import { FunctionConfigError } from './errors';
1919

2020
/**
21-
* Interface describing KPT functions.
21+
* Interface describing kpt functions.
2222
*/
2323
export interface KptFunc {
2424
/**
@@ -372,7 +372,7 @@ export function kubernetesKey(o: KubernetesObject): string {
372372
}
373373

374374
/**
375-
* ResourceList is the wire format for the output of the KPT function as defined by the spec:
375+
* ResourceList is the wire format for the output of the kpt function as defined by the spec:
376376
* https://github.com/kubernetes-sigs/kustomize/blob/master/cmd/config/docs/api-conventions/functions-spec.md
377377
*/
378378
export class ResourceList implements KubernetesObject {

0 commit comments

Comments
 (0)