Skip to main content

Module: @kosko/migrate

Table of contents#

Interfaces#

Functions#

migrate#

migrate(data: readonly Manifest[]): Promise<string>

Migrate Kubernetes manifests into a kosko component.

Parameters:#

NameTypeDescription
datareadonly Manifest[]Array of Kubernetes manifests

Returns: Promise<string>

Defined in: packages/migrate/src/migrate.ts:110


migrateString#

migrateString(input: string): Promise<string>

Migrate Kubernetes YAML into a kosko component.

Parameters:#

NameTypeDescription
inputstringKubernetes YAML string

Returns: Promise<string>

Defined in: packages/migrate/src/migrate.ts:134