@kubernetes-models/argo-rollouts
Version:
21 lines (20 loc) • 1.2 kB
TypeScript
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1FieldRef } from "./FieldRef.js";
import { IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1SecretKeyRef } from "./SecretKeyRef.js";
import { ModelData, Model } from "@kubernetes-models/base";
export interface IValueFrom {
/**
* FieldRef is a reference to the fields in metadata which we are referencing. This field is one of the fields with
* valueFrom
*/
"fieldRef"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1FieldRef;
/**
* Secret is a reference to where a secret is stored. This field is one of the fields with valueFrom
*/
"secretKeyRef"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1SecretKeyRef;
}
export declare class ValueFrom extends Model<IValueFrom> implements IValueFrom {
"fieldRef"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1FieldRef;
"secretKeyRef"?: IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1SecretKeyRef;
constructor(data?: ModelData<IValueFrom>);
}
export type { IValueFrom as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1ValueFrom, ValueFrom as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1ValueFrom };