import { ModelData, Model } from "@kubernetes-models/base"; /** * KReference contains enough information to refer to another object. * It's a trimmed down version of corev1.ObjectReference. */ export interface IKReference { /** * Address points to a specific Address Name. */ "address"?: string; /** * API version of the referent. */ "apiVersion"?: string; /** * Group of the API, without the version of the group. This can be used as an alternative to the APIVersion, and then resolved using ResolveGroup. * Note: This API is EXPERIMENTAL and might break anytime. For more details: https://github.com/knative/eventing/issues/5086 */ "group"?: string; /** * Kind of the referent. * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds */ "kind": string; /** * Name of the referent. * More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */ "name": string; /** * Namespace of the referent. * More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ * This is optional field, it gets defaulted to the object holding it if left out. */ "namespace"?: string; } /** * KReference contains enough information to refer to another object. * It's a trimmed down version of corev1.ObjectReference. */ export declare class KReference extends Model implements IKReference { "address"?: string; "apiVersion"?: string; "group"?: string; "kind": string; "name": string; "namespace"?: string; constructor(data?: ModelData); } export type { IKReference as IDevKnativePkgApisDuckV1KReference, KReference as DevKnativePkgApisDuckV1KReference };