26 lines
518 B
TypeScript
26 lines
518 B
TypeScript
export type TRegistryProtocol = 'oci';
|
|
|
|
export interface IRegistryTarget {
|
|
protocol: TRegistryProtocol;
|
|
registryHost: string;
|
|
repository: string;
|
|
tag: string;
|
|
imageUrl: string;
|
|
serviceId?: string;
|
|
imageId?: string;
|
|
}
|
|
|
|
export interface IRegistryPushEvent {
|
|
protocol: TRegistryProtocol;
|
|
registryHost: string;
|
|
repository: string;
|
|
tag: string;
|
|
digest: string;
|
|
imageUrl: string;
|
|
pushedAt: number;
|
|
serviceId?: string;
|
|
imageId?: string;
|
|
actorUserId?: string;
|
|
manifestMediaType?: string;
|
|
}
|