UNPKG

gitlab

Version:

Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.

15 lines (14 loc) 1 kB
import { BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; import { ProjectId } from '.'; declare class ContainerRegistry extends BaseService { repositories(projectId: ProjectId, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; tags(projectId: ProjectId, repositoryId: number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; removeRepository(projectId: ProjectId, repositoryId: number, options?: Sudo): Promise<object>; removeTag(projectId: ProjectId, repositoryId: number, tagName: string, options?: Sudo): Promise<object>; removeTags(projectId: ProjectId, repositoryId: number, tagNameRegex: string, options?: Sudo & { keepN: string; olderThan: string; }): Promise<object>; showTag(projectId: ProjectId, repositoryId: number, tagName: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; } export default ContainerRegistry;