@kubernetes-models/argo-rollouts
Version:
29 lines (28 loc) • 962 B
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* StringMatch Used to define what type of matching we will use exact, prefix, or regular expression
*/
export interface IStringMatch {
/**
* Exact The string must match exactly
*/
"exact"?: string;
/**
* Prefix The string will be prefixed matched
*/
"prefix"?: string;
/**
* Regex The string will be regular expression matched
*/
"regex"?: string;
}
/**
* StringMatch Used to define what type of matching we will use exact, prefix, or regular expression
*/
export declare class StringMatch extends Model<IStringMatch> implements IStringMatch {
"exact"?: string;
"prefix"?: string;
"regex"?: string;
constructor(data?: ModelData<IStringMatch>);
}
export type { IStringMatch as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1StringMatch, StringMatch as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1StringMatch };