@kubernetes-models/flux-cd
Version:
30 lines (29 loc) • 1.24 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* SecretKeyReference contains enough information to locate the referenced Kubernetes Secret object in the same
* namespace. Optionally a key can be specified.
* Use this type instead of core/v1 SecretKeySelector when the Key is optional and the Optional field is not
* applicable.
*/
export interface ISecretKeyReference {
/**
* Key in the Secret, when not specified an implementation-specific default key is used.
*/
"key"?: string;
/**
* Name of the Secret.
*/
"name": string;
}
/**
* SecretKeyReference contains enough information to locate the referenced Kubernetes Secret object in the same
* namespace. Optionally a key can be specified.
* Use this type instead of core/v1 SecretKeySelector when the Key is optional and the Optional field is not
* applicable.
*/
export declare class SecretKeyReference extends Model<ISecretKeyReference> implements ISecretKeyReference {
"key"?: string;
"name": string;
constructor(data?: ModelData<ISecretKeyReference>);
}
export type { ISecretKeyReference as IComGithubFluxcdPkgApisMetaSecretKeyReference, SecretKeyReference as ComGithubFluxcdPkgApisMetaSecretKeyReference };