Utility class for generating CRDs and writing them to output files.

Hierarchy

  • CustomResourceDefinitionWriter

Constructors

Methods

Constructors

Methods

  • Generates CRDs for multiple Polaris types and saves them to an output directory..

    Parameters

    • config: CrdWriterConfig

      Specifies which TypeScript project to inspect and for which types to generate the CRDs.

    Returns Promise<Record<string, string>>

    A promise that resolves to a map that associates the name of each Polaris type with the path of the CRD file that has been written or rejects with an error.

Generated using TypeDoc