UNPKG

@kubernetes-models/flux-cd

Version:
35 lines (34 loc) 1.33 kB
import { IComGithubFluxcdHelmControllerApiV2Filter } from "./Filter.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * Test holds the configuration for Helm test actions for this HelmRelease. */ export interface ITest { /** * Enable enables Helm test actions for this HelmRelease after an Helm install * or upgrade action has been performed. */ "enable"?: boolean; /** * Filters is a list of tests to run or exclude from running. */ "filters"?: Array<IComGithubFluxcdHelmControllerApiV2Filter>; /** * IgnoreFailures tells the controller to skip remediation when the Helm tests * are run but fail. Can be overwritten for tests run after install or upgrade * actions in 'Install.IgnoreTestFailures' and 'Upgrade.IgnoreTestFailures'. */ "ignoreFailures"?: boolean; "timeout"?: string; } /** * Test holds the configuration for Helm test actions for this HelmRelease. */ export declare class Test extends Model<ITest> implements ITest { "enable"?: boolean; "filters"?: Array<IComGithubFluxcdHelmControllerApiV2Filter>; "ignoreFailures"?: boolean; "timeout"?: string; constructor(data?: ModelData<ITest>); } export type { ITest as IComGithubFluxcdHelmControllerApiV2Test, Test as ComGithubFluxcdHelmControllerApiV2Test };