UNPKG

@pulumiverse/harbor

Version:

A Pulumi package for creating and managing Harbor resources.

79 lines (78 loc) 2.08 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * ## Example Usage */ export declare function getProjects(args?: GetProjectsArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectsResult>; /** * A collection of arguments for invoking getProjects. */ export interface GetProjectsArgs { /** * The name of the project. */ name?: string; /** * If the project has public accessibility. */ public?: boolean; /** * The type of the project : Project or ProxyCache. */ type?: string; /** * If the images will be scanned for vulnerabilities when push to harbor. */ vulnerabilityScanning?: boolean; } /** * A collection of values returned by getProjects. */ export interface GetProjectsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the project. */ readonly name?: string; readonly projects: outputs.GetProjectsProject[]; /** * If the project has public accessibility. */ readonly public?: boolean; /** * The type of the project : Project or ProxyCache. */ readonly type?: string; /** * If the images will be scanned for vulnerabilities when push to harbor. */ readonly vulnerabilityScanning?: boolean; } /** * ## Example Usage */ export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectsResult>; /** * A collection of arguments for invoking getProjects. */ export interface GetProjectsOutputArgs { /** * The name of the project. */ name?: pulumi.Input<string>; /** * If the project has public accessibility. */ public?: pulumi.Input<boolean>; /** * The type of the project : Project or ProxyCache. */ type?: pulumi.Input<string>; /** * If the images will be scanned for vulnerabilities when push to harbor. */ vulnerabilityScanning?: pulumi.Input<boolean>; }