@kubernetes-models/argo-rollouts
Version:
23 lines (22 loc) • 1.21 kB
TypeScript
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1HeaderRoutingMatch } from "./HeaderRoutingMatch.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* SetHeaderRoute defines the route with specified header name to send 100% of traffic to the canary service
*/
export interface ISetHeaderRoute {
"match"?: Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1HeaderRoutingMatch>;
/**
* Name this is the name of the route to use for the mirroring of traffic this also needs
* to be included in the `spec.strategy.canary.trafficRouting.managedRoutes` field
*/
"name"?: string;
}
/**
* SetHeaderRoute defines the route with specified header name to send 100% of traffic to the canary service
*/
export declare class SetHeaderRoute extends Model<ISetHeaderRoute> implements ISetHeaderRoute {
"match"?: Array<IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1HeaderRoutingMatch>;
"name"?: string;
constructor(data?: ModelData<ISetHeaderRoute>);
}
export type { ISetHeaderRoute as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1SetHeaderRoute, SetHeaderRoute as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1SetHeaderRoute };