interfaces/ts/requests/config.ts

50 lines
1.4 KiB
TypeScript
Raw Normal View History

2024-01-24 00:09:21 +00:00
import * as plugins from '../plugins.js';
import * as clusterInterfaces from '../data/cluster.js';
2024-02-02 11:46:59 +00:00
import * as serverInterfaces from '../data/server.js';
2024-02-18 19:42:45 +00:00
import type { IService } from '../data/service.js';
2024-05-27 12:34:01 +00:00
import type { IDeploymentDirective } from '../data/deploymentdirective.js';
2024-01-23 22:38:10 +00:00
export interface IRequest_Any_Cloudly_GetServerConfig
extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_Any_Cloudly_GetServerConfig
> {
method: 'getServerConfig';
request: {
2024-02-18 22:52:18 +00:00
jwt: string;
2024-02-18 22:51:27 +00:00
serverId: string;
2024-01-23 22:38:10 +00:00
};
response: {
2024-02-06 11:32:52 +00:00
configData: serverInterfaces.IServer;
2024-01-23 22:38:10 +00:00
};
}
export interface IRequest_Any_Cloudly_GetClusterConfig
extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_Any_Cloudly_GetClusterConfig
> {
method: 'getClusterConfig';
request: {
2024-02-18 22:52:18 +00:00
jwt: string;
2024-01-23 22:38:10 +00:00
clusterIdentifier: clusterInterfaces.IClusterIdentifier;
};
response: {
2024-02-06 09:12:59 +00:00
configData: clusterInterfaces.ICluster;
2024-05-27 12:34:01 +00:00
deploymentDirectives: IDeploymentDirective[];
2024-01-23 22:38:10 +00:00
};
}
export interface IRequest_Cloudly_Coreflow_PushClusterConfig
extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_Cloudly_Coreflow_PushClusterConfig
> {
method: 'pushClusterConfig';
request: {
2024-02-06 09:12:59 +00:00
configData: clusterInterfaces.ICluster;
2024-05-27 12:34:01 +00:00
deploymentDirectives: IDeploymentDirective[];
2024-01-23 22:38:10 +00:00
};
response: {};
}