UNPKG

@topgroup/diginext

Version:

A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.

99 lines 3.88 kB
/// <reference types="mongoose/types/aggregate" /> /// <reference types="mongoose/types/callback" /> /// <reference types="mongoose/types/collection" /> /// <reference types="mongoose/types/connection" /> /// <reference types="mongoose/types/cursor" /> /// <reference types="mongoose/types/document" /> /// <reference types="mongoose/types/error" /> /// <reference types="mongoose/types/expressions" /> /// <reference types="mongoose/types/helpers" /> /// <reference types="mongoose/types/middlewares" /> /// <reference types="mongoose/types/indexes" /> /// <reference types="mongoose/types/models" /> /// <reference types="mongoose/types/mongooseoptions" /> /// <reference types="mongoose/types/pipelinestage" /> /// <reference types="mongoose/types/populate" /> /// <reference types="mongoose/types/query" /> /// <reference types="mongoose/types/schemaoptions" /> /// <reference types="mongoose/types/schematypes" /> /// <reference types="mongoose/types/session" /> /// <reference types="mongoose/types/types" /> /// <reference types="mongoose/types/utility" /> /// <reference types="mongoose/types/validation" /> /// <reference types="mongoose/types/virtuals" /> /// <reference types="mongoose/types/inferschematype" /> import { Schema } from "mongoose"; import type { HiddenBodyKeys } from "../interfaces"; import type { RegistryProviderType } from "../interfaces/SystemTypes"; import type { IBase } from "./Base"; export interface IContainerRegistry extends IBase { name?: string; slug?: string; isVerified?: boolean; /** * Is this a default git provider */ isDefault?: boolean; /** * The host (domain) of your container registry which you are using. * @example * - gcr.io * - asia.gcr.io * - azurecr.io */ host?: string; /** * Organization name in Docker Registry, or Project ID in Google/DigitalOcean Container Registry. */ organization?: string; /** * Base URL of the image, usually is the registry host URI combines with something else. * - This will be used to combine with your project/app image path. * @example * asia.gcr.io/project-id-here */ imageBaseURL?: string; /** * Provider's "shortName" */ provider?: RegistryProviderType; /** * Content of the Service Account credentials ti access services on this cloud provider * - Apply for: Google Cloud, AWS,... * - For example: Kubernetes Clusters, Single Sign-On,... */ serviceAccount?: string; /** * Content of the API access token to use services on this cloud provider * - Apply for: Digital Ocean */ apiAccessToken?: string; /** * `[For Docker Registry]` Docker registry server * @default https://index.docker.io/v1/ */ dockerServer?: string; /** * `[For Docker Registry]` Docker email */ dockerEmail?: string; /** * `[For Docker Registry]` Docker username */ dockerUsername?: string; /** * `[For Docker Registry]` Docker password */ dockerPassword?: string; imagePullSecret?: { name?: string; value?: string; }; } export type ContainerRegistryDto = Omit<IContainerRegistry, keyof HiddenBodyKeys>; export declare const containerRegistrySchema: Schema<IContainerRegistry, import("mongoose").Model<IContainerRegistry, any, any, any, import("mongoose").Document<unknown, any, IContainerRegistry> & IContainerRegistry & Required<{ _id: string | import("mongoose").Types.ObjectId; }>, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContainerRegistry, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IContainerRegistry>> & import("mongoose").FlatRecord<IContainerRegistry> & Required<{ _id: string | import("mongoose").Types.ObjectId; }>>; //# sourceMappingURL=ContainerRegistry.d.ts.map