@types/dockerode
Advanced tools
Comparing version 2.5.17 to 2.5.18
@@ -308,2 +308,20 @@ // Type definitions for dockerode 2.5 | ||
class Config { | ||
constructor(modem: any, id: string); | ||
modem: any; | ||
id: string; | ||
inspect(callback: Callback<ConfigInfo>): void; | ||
inspect(): Promise<ConfigInfo>; | ||
update(options: {}, callback: Callback<any>): void; | ||
update(callback: Callback<any>): void; | ||
update(options?: {}): Promise<any>; | ||
remove(options: {}, callback: Callback<any>): void; | ||
remove(callback: Callback<any>): void; | ||
remove(options?: {}): Promise<any>; | ||
} | ||
interface ImageInfo { | ||
@@ -899,2 +917,20 @@ Id: string; | ||
interface ConfigInfo { | ||
ID: string; | ||
Version: SecretVersion; | ||
CreatedAt: string; | ||
UpdatedAt?: string; | ||
Spec?: ConfigSpec; | ||
} | ||
interface ConfigSpec { | ||
Name: string; | ||
Labels: { [label: string]: string }; | ||
Data: string; | ||
} | ||
interface ConfigVersion { | ||
Index: number; | ||
} | ||
interface PluginInfo { | ||
@@ -1108,2 +1144,4 @@ Id?: string; | ||
getConfig(id: string): Dockerode.Config; | ||
listContainers(options: {}, callback: Callback<Dockerode.ContainerInfo[]>): void; | ||
@@ -1154,2 +1192,6 @@ listContainers(callback: Callback<Dockerode.ContainerInfo[]>): void; | ||
listConfigs(options: {}, callback: Callback<Dockerode.ConfigInfo[]>): void; | ||
listConfigs(callback: Callback<Dockerode.ConfigInfo[]>): void; | ||
listConfigs(options?: {}): Promise<Dockerode.ConfigInfo[]>; | ||
createSecret(options: {}, callback: Callback<any>): void; | ||
@@ -1156,0 +1198,0 @@ createSecret(options: {}): Promise<any>; |
{ | ||
"name": "@types/dockerode", | ||
"version": "2.5.17", | ||
"version": "2.5.18", | ||
"description": "TypeScript definitions for dockerode", | ||
@@ -59,4 +59,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "0d30792f5c015bc0258de21e409bd66c26808fafb89a5a4295ad8d5b6af3219c", | ||
"typesPublisherContentHash": "c5e37477c11baef4f122e7654ecdcca4b9b713491af49907ad689aee1e317d46", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 28 May 2019 19:21:32 GMT | ||
* Last updated: Thu, 30 May 2019 18:44:31 GMT | ||
* Dependencies: @types/node | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38146
1074