UNPKG

@kubernetes-models/argo-rollouts

Version:
34 lines (33 loc) 1.42 kB
import { ModelData, Model } from "@kubernetes-models/base"; /** * IstioDestinationRule is a reference to an Istio DestinationRule to modify and shape traffic */ export interface IIstioDestinationRule { /** * AdditionalSubsetNames contains a list of additional names for subset DestinationRules that are not controlled by Argo Rollouts */ "additionalSubsetNames"?: Array<string>; /** * CanarySubsetName is the subset name to modify labels with canary ReplicaSet pod template hash value */ "canarySubsetName": string; /** * Name holds the name of the DestinationRule */ "name": string; /** * StableSubsetName is the subset name to modify labels with stable ReplicaSet pod template hash value */ "stableSubsetName": string; } /** * IstioDestinationRule is a reference to an Istio DestinationRule to modify and shape traffic */ export declare class IstioDestinationRule extends Model<IIstioDestinationRule> implements IIstioDestinationRule { "additionalSubsetNames"?: Array<string>; "canarySubsetName": string; "name": string; "stableSubsetName": string; constructor(data?: ModelData<IIstioDestinationRule>); } export type { IIstioDestinationRule as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1IstioDestinationRule, IstioDestinationRule as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1IstioDestinationRule };