@kubernetes-models/argo-rollouts
Version:
23 lines (22 loc) • 899 B
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
export interface IWeightDestination {
/**
* PodTemplateHash is the pod template hash label for this destination
*/
"podTemplateHash"?: string;
/**
* ServiceName is the Kubernetes service name traffic is being sent to
*/
"serviceName"?: string;
/**
* Weight is an percentage of traffic being sent to this destination
*/
"weight": number;
}
export declare class WeightDestination extends Model<IWeightDestination> implements IWeightDestination {
"podTemplateHash"?: string;
"serviceName"?: string;
"weight": number;
constructor(data?: ModelData<IWeightDestination>);
}
export type { IWeightDestination as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WeightDestination, WeightDestination as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WeightDestination };