UNPKG

@kubernetes-models/argo-cd

Version:
30 lines (29 loc) 1.32 kB
import { ModelData, Model } from "@kubernetes-models/base"; /** * ApplicationDestination holds information about the application's destination */ export interface IApplicationDestination { /** * Name is an alternate way of specifying the target cluster by its symbolic name. This must be set if Server is not set. */ "name"?: string; /** * Namespace specifies the target namespace for the application's resources. * The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace */ "namespace"?: string; /** * Server specifies the URL of the target cluster's Kubernetes control plane API. This must be set if Name is not set. */ "server"?: string; } /** * ApplicationDestination holds information about the application's destination */ export declare class ApplicationDestination extends Model<IApplicationDestination> implements IApplicationDestination { "name"?: string; "namespace"?: string; "server"?: string; constructor(data?: ModelData<IApplicationDestination>); } export type { IApplicationDestination as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationDestination, ApplicationDestination as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationDestination };