fix(core): update
This commit is contained in:
parent
9fb7f13bdd
commit
d00bb5eaaa
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@serve.zone/interfaces',
|
||||
version: '1.0.62',
|
||||
version: '1.0.63',
|
||||
description: 'interfaces for working with containers'
|
||||
}
|
||||
|
@ -7,7 +7,8 @@ export * from './docker.js';
|
||||
export * from './env.js';
|
||||
export * from './event.js';
|
||||
export * from './image.js';
|
||||
export * from './secret.js'
|
||||
export * from './secretgroup.js';
|
||||
export * from './secretgroup.js'
|
||||
export * from './server.js';
|
||||
export * from './service.js';
|
||||
export * from './status.js';
|
||||
|
34
ts/data/secrebundle.ts
Normal file
34
ts/data/secrebundle.ts
Normal file
@ -0,0 +1,34 @@
|
||||
export interface ISecretBundle {
|
||||
id: string;
|
||||
data: {
|
||||
name: string;
|
||||
description: string;
|
||||
|
||||
/**
|
||||
* determines if the secret is a service or an external secret
|
||||
* if external secret additional checks are put in place to protect the secret
|
||||
*/
|
||||
type: 'service' | 'external';
|
||||
|
||||
/**
|
||||
* You can add specific secret groups using this
|
||||
*/
|
||||
includedSecretGroupIds: string[];
|
||||
|
||||
/**
|
||||
* You can add specific tags using this
|
||||
*/
|
||||
includedTags: {
|
||||
key: string;
|
||||
value: string;
|
||||
}[];
|
||||
|
||||
/**
|
||||
* authrozations select a specific environment of a config bundle
|
||||
*/
|
||||
authorizations: Array<{
|
||||
secretAccessKey: string;
|
||||
environment: string;
|
||||
}>;
|
||||
};
|
||||
}
|
@ -52,32 +52,3 @@ export interface ISecretGroup {
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
export interface ISecretBundle {
|
||||
id: string;
|
||||
data: {
|
||||
name: string;
|
||||
description: string;
|
||||
|
||||
/**
|
||||
* You can add specific secret groups using this
|
||||
*/
|
||||
includedSecretGroupIds: string[];
|
||||
|
||||
/**
|
||||
* You can add specific tags using this
|
||||
*/
|
||||
includedTags: {
|
||||
key: string;
|
||||
value: string;
|
||||
}[];
|
||||
|
||||
/**
|
||||
* authrozations select a specific environment of a config bundle
|
||||
*/
|
||||
authorizations: Array<{
|
||||
secretAccessKey: string;
|
||||
environment: string;
|
||||
}>;
|
||||
};
|
||||
}
|
@ -2,7 +2,9 @@ import type { IServiceRessources } from "./docker.js";
|
||||
|
||||
export interface IService {
|
||||
name: string;
|
||||
image: string;
|
||||
imageId: string;
|
||||
scaleFactor: number;
|
||||
balancingStrategy: 'round-robin' | 'least-connections';
|
||||
ports: {
|
||||
web: number;
|
||||
custom?: { [domain: string]: string };
|
||||
|
@ -15,6 +15,9 @@ export interface IRequest_GetAllImages extends plugins.typedrequestInterfaces.im
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* get all kinds of image metadata
|
||||
*/
|
||||
export interface IRequest_GetImageMetadata extends plugins.typedrequestInterfaces.implementsTR<
|
||||
plugins.typedrequestInterfaces.ITypedRequest,
|
||||
IRequest_GetImageMetadata
|
||||
|
Loading…
Reference in New Issue
Block a user