UNPKG

@kubernetes-models/argo-rollouts

Version:
36 lines (35 loc) 1.78 kB
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WeightDestination } from "./WeightDestination.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * TrafficWeights describes the current status of how traffic has been split */ export interface ITrafficWeights { /** * Additional holds the weights split to additional ReplicaSets such as experiment ReplicaSets */ "additional"?: Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WeightDestination>; /** * Canary is the current traffic weight split to canary ReplicaSet */ "canary": IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WeightDestination; /** * Stable is the current traffic weight split to stable ReplicaSet */ "stable": IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WeightDestination; /** * Verified is an optional indicator that the weight has been verified to have taken effect. * This is currently only applicable to ALB traffic router */ "verified"?: boolean; } /** * TrafficWeights describes the current status of how traffic has been split */ export declare class TrafficWeights extends Model<ITrafficWeights> implements ITrafficWeights { "additional"?: Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WeightDestination>; "canary": IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WeightDestination; "stable": IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WeightDestination; "verified"?: boolean; constructor(data?: ModelData<ITrafficWeights>); } export type { ITrafficWeights as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1TrafficWeights, TrafficWeights as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1TrafficWeights };