import { ModelData, Model } from "@kubernetes-models/base"; /** * TemplateStageSpec is a transform stage that manipulates the values in the * extracted map using Go's template syntax. */ export interface ITemplateStageSpec { /** * Name from extracted data to parse. Required. If empty, defaults to using * the log message. */ "source": string; /** * Go template string to use. Required. In addition to normal template * functions, ToLower, ToUpper, Replace, Trim, TrimLeft, TrimRight, * TrimPrefix, and TrimSpace are also available. */ "template": string; } /** * TemplateStageSpec is a transform stage that manipulates the values in the * extracted map using Go's template syntax. */ export declare class TemplateStageSpec extends Model implements ITemplateStageSpec { "source": string; "template": string; constructor(data?: ModelData); } export type { ITemplateStageSpec as IComGithubGrafanaAgentPkgOperatorApisMonitoringV1alpha1TemplateStageSpec, TemplateStageSpec as ComGithubGrafanaAgentPkgOperatorApisMonitoringV1alpha1TemplateStageSpec };