@docker/sdk
Advanced tools
+1
-1
| { | ||
| "version": "0.1.22", | ||
| "version": "0.1.23", | ||
| "license": "Apache-2.0", | ||
@@ -4,0 +4,0 @@ "main": "index.js", |
@@ -61,5 +61,2 @@ // package: com.docker.api.protos.containers.v1 | ||
| getMemoryLimit(): number; | ||
| setMemoryLimit(value: number): Container; | ||
| getPidsCurrent(): number; | ||
@@ -81,12 +78,6 @@ setPidsCurrent(value: number): Container; | ||
| getCpuLimit(): number; | ||
| setCpuLimit(value: number): Container; | ||
| getPlatform(): string; | ||
| setPlatform(value: string): Container; | ||
| getRestartPolicyCondition(): string; | ||
| setRestartPolicyCondition(value: string): Container; | ||
| hasHostConfig(): boolean; | ||
@@ -116,3 +107,2 @@ clearHostConfig(): void; | ||
| memoryUsage: number, | ||
| memoryLimit: number, | ||
| pidsCurrent: number, | ||
@@ -122,5 +112,3 @@ pidsLimit: number, | ||
| portsList: Array<Port.AsObject>, | ||
| cpuLimit: number, | ||
| platform: string, | ||
| restartPolicyCondition: string, | ||
| hostConfig?: HostConfig.AsObject, | ||
@@ -127,0 +115,0 @@ } |
@@ -48,4 +48,2 @@ // | ||
| uint64 memory_usage = 6; | ||
| // kept for breaking change for now, moved to HostConfig | ||
| uint64 memory_limit = 7; | ||
| uint64 pids_current = 8; | ||
@@ -55,7 +53,3 @@ uint64 pids_limit = 9; | ||
| repeated Port ports = 11; | ||
| // kept for breaking change for now, moved to HostConfig | ||
| uint64 cpu_limit = 12; | ||
| string platform = 13; | ||
| // kept for breaking change for now, moved to HostConfig | ||
| string restart_policy_condition = 14; | ||
| HostConfig host_config = 15; | ||
@@ -62,0 +56,0 @@ } |
@@ -16,2 +16,3 @@ // package: com.docker.api.protos.volumes.v1 | ||
| volumesDelete: IVolumesService_IVolumesDelete; | ||
| volumesInspect: IVolumesService_IVolumesInspect; | ||
| } | ||
@@ -46,2 +47,11 @@ | ||
| } | ||
| interface IVolumesService_IVolumesInspect extends grpc.MethodDefinition<volumes_v1_volumes_pb.VolumesInspectRequest, volumes_v1_volumes_pb.VolumesInspectResponse> { | ||
| path: string; // "/com.docker.api.protos.volumes.v1.Volumes/VolumesInspect" | ||
| requestStream: false; | ||
| responseStream: false; | ||
| requestSerialize: grpc.serialize<volumes_v1_volumes_pb.VolumesInspectRequest>; | ||
| requestDeserialize: grpc.deserialize<volumes_v1_volumes_pb.VolumesInspectRequest>; | ||
| responseSerialize: grpc.serialize<volumes_v1_volumes_pb.VolumesInspectResponse>; | ||
| responseDeserialize: grpc.deserialize<volumes_v1_volumes_pb.VolumesInspectResponse>; | ||
| } | ||
@@ -54,2 +64,3 @@ export const VolumesService: IVolumesService; | ||
| volumesDelete: grpc.handleUnaryCall<volumes_v1_volumes_pb.VolumesDeleteRequest, volumes_v1_volumes_pb.VolumesDeleteResponse>; | ||
| volumesInspect: grpc.handleUnaryCall<volumes_v1_volumes_pb.VolumesInspectRequest, volumes_v1_volumes_pb.VolumesInspectResponse>; | ||
| } | ||
@@ -67,2 +78,5 @@ | ||
| volumesDelete(request: volumes_v1_volumes_pb.VolumesDeleteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: volumes_v1_volumes_pb.VolumesDeleteResponse) => void): grpc.ClientUnaryCall; | ||
| volumesInspect(request: volumes_v1_volumes_pb.VolumesInspectRequest, callback: (error: grpc.ServiceError | null, response: volumes_v1_volumes_pb.VolumesInspectResponse) => void): grpc.ClientUnaryCall; | ||
| volumesInspect(request: volumes_v1_volumes_pb.VolumesInspectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: volumes_v1_volumes_pb.VolumesInspectResponse) => void): grpc.ClientUnaryCall; | ||
| volumesInspect(request: volumes_v1_volumes_pb.VolumesInspectRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: volumes_v1_volumes_pb.VolumesInspectResponse) => void): grpc.ClientUnaryCall; | ||
| } | ||
@@ -81,2 +95,5 @@ | ||
| public volumesDelete(request: volumes_v1_volumes_pb.VolumesDeleteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: volumes_v1_volumes_pb.VolumesDeleteResponse) => void): grpc.ClientUnaryCall; | ||
| public volumesInspect(request: volumes_v1_volumes_pb.VolumesInspectRequest, callback: (error: grpc.ServiceError | null, response: volumes_v1_volumes_pb.VolumesInspectResponse) => void): grpc.ClientUnaryCall; | ||
| public volumesInspect(request: volumes_v1_volumes_pb.VolumesInspectRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: volumes_v1_volumes_pb.VolumesInspectResponse) => void): grpc.ClientUnaryCall; | ||
| public volumesInspect(request: volumes_v1_volumes_pb.VolumesInspectRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: volumes_v1_volumes_pb.VolumesInspectResponse) => void): grpc.ClientUnaryCall; | ||
| } |
@@ -68,2 +68,24 @@ // GENERATED CODE -- DO NOT EDIT! | ||
| function serialize_com_docker_api_protos_volumes_v1_VolumesInspectRequest(arg) { | ||
| if (!(arg instanceof volumes_v1_volumes_pb.VolumesInspectRequest)) { | ||
| throw new Error('Expected argument of type com.docker.api.protos.volumes.v1.VolumesInspectRequest'); | ||
| } | ||
| return Buffer.from(arg.serializeBinary()); | ||
| } | ||
| function deserialize_com_docker_api_protos_volumes_v1_VolumesInspectRequest(buffer_arg) { | ||
| return volumes_v1_volumes_pb.VolumesInspectRequest.deserializeBinary(new Uint8Array(buffer_arg)); | ||
| } | ||
| function serialize_com_docker_api_protos_volumes_v1_VolumesInspectResponse(arg) { | ||
| if (!(arg instanceof volumes_v1_volumes_pb.VolumesInspectResponse)) { | ||
| throw new Error('Expected argument of type com.docker.api.protos.volumes.v1.VolumesInspectResponse'); | ||
| } | ||
| return Buffer.from(arg.serializeBinary()); | ||
| } | ||
| function deserialize_com_docker_api_protos_volumes_v1_VolumesInspectResponse(buffer_arg) { | ||
| return volumes_v1_volumes_pb.VolumesInspectResponse.deserializeBinary(new Uint8Array(buffer_arg)); | ||
| } | ||
| function serialize_com_docker_api_protos_volumes_v1_VolumesListRequest(arg) { | ||
@@ -126,4 +148,15 @@ if (!(arg instanceof volumes_v1_volumes_pb.VolumesListRequest)) { | ||
| }, | ||
| volumesInspect: { | ||
| path: '/com.docker.api.protos.volumes.v1.Volumes/VolumesInspect', | ||
| requestStream: false, | ||
| responseStream: false, | ||
| requestType: volumes_v1_volumes_pb.VolumesInspectRequest, | ||
| responseType: volumes_v1_volumes_pb.VolumesInspectResponse, | ||
| requestSerialize: serialize_com_docker_api_protos_volumes_v1_VolumesInspectRequest, | ||
| requestDeserialize: deserialize_com_docker_api_protos_volumes_v1_VolumesInspectRequest, | ||
| responseSerialize: serialize_com_docker_api_protos_volumes_v1_VolumesInspectResponse, | ||
| responseDeserialize: deserialize_com_docker_api_protos_volumes_v1_VolumesInspectResponse, | ||
| }, | ||
| }; | ||
| exports.VolumesClient = grpc.makeGenericClientConstructor(VolumesService); |
@@ -195,1 +195,46 @@ // package: com.docker.api.protos.volumes.v1 | ||
| } | ||
| export class VolumesInspectRequest extends jspb.Message { | ||
| getId(): string; | ||
| setId(value: string): VolumesInspectRequest; | ||
| serializeBinary(): Uint8Array; | ||
| toObject(includeInstance?: boolean): VolumesInspectRequest.AsObject; | ||
| static toObject(includeInstance: boolean, msg: VolumesInspectRequest): VolumesInspectRequest.AsObject; | ||
| static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
| static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
| static serializeBinaryToWriter(message: VolumesInspectRequest, writer: jspb.BinaryWriter): void; | ||
| static deserializeBinary(bytes: Uint8Array): VolumesInspectRequest; | ||
| static deserializeBinaryFromReader(message: VolumesInspectRequest, reader: jspb.BinaryReader): VolumesInspectRequest; | ||
| } | ||
| export namespace VolumesInspectRequest { | ||
| export type AsObject = { | ||
| id: string, | ||
| } | ||
| } | ||
| export class VolumesInspectResponse extends jspb.Message { | ||
| hasVolume(): boolean; | ||
| clearVolume(): void; | ||
| getVolume(): Volume | undefined; | ||
| setVolume(value?: Volume): VolumesInspectResponse; | ||
| serializeBinary(): Uint8Array; | ||
| toObject(includeInstance?: boolean): VolumesInspectResponse.AsObject; | ||
| static toObject(includeInstance: boolean, msg: VolumesInspectResponse): VolumesInspectResponse.AsObject; | ||
| static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
| static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
| static serializeBinaryToWriter(message: VolumesInspectResponse, writer: jspb.BinaryWriter): void; | ||
| static deserializeBinary(bytes: Uint8Array): VolumesInspectResponse; | ||
| static deserializeBinaryFromReader(message: VolumesInspectResponse, reader: jspb.BinaryReader): VolumesInspectResponse; | ||
| } | ||
| export namespace VolumesInspectResponse { | ||
| export type AsObject = { | ||
| volume?: Volume.AsObject, | ||
| } | ||
| } |
@@ -24,2 +24,4 @@ // source: volumes/v1/volumes.proto | ||
| goog.exportSymbol('proto.com.docker.api.protos.volumes.v1.VolumesDeleteResponse', null, global); | ||
| goog.exportSymbol('proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest', null, global); | ||
| goog.exportSymbol('proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse', null, global); | ||
| goog.exportSymbol('proto.com.docker.api.protos.volumes.v1.VolumesListRequest', null, global); | ||
@@ -195,2 +197,44 @@ goog.exportSymbol('proto.com.docker.api.protos.volumes.v1.VolumesListResponse', null, global); | ||
| } | ||
| /** | ||
| * Generated by JsPbCodeGenerator. | ||
| * @param {Array=} opt_data Optional initial data array, typically from a | ||
| * server response, or constructed directly in Javascript. The array is used | ||
| * in place and becomes part of the constructed object. It is not cloned. | ||
| * If no data is provided, the constructed object will be empty, but still | ||
| * valid. | ||
| * @extends {jspb.Message} | ||
| * @constructor | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest = function(opt_data) { | ||
| jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
| }; | ||
| goog.inherits(proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest, jspb.Message); | ||
| if (goog.DEBUG && !COMPILED) { | ||
| /** | ||
| * @public | ||
| * @override | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.displayName = 'proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest'; | ||
| } | ||
| /** | ||
| * Generated by JsPbCodeGenerator. | ||
| * @param {Array=} opt_data Optional initial data array, typically from a | ||
| * server response, or constructed directly in Javascript. The array is used | ||
| * in place and becomes part of the constructed object. It is not cloned. | ||
| * If no data is provided, the constructed object will be empty, but still | ||
| * valid. | ||
| * @extends {jspb.Message} | ||
| * @constructor | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse = function(opt_data) { | ||
| jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
| }; | ||
| goog.inherits(proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse, jspb.Message); | ||
| if (goog.DEBUG && !COMPILED) { | ||
| /** | ||
| * @public | ||
| * @override | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.displayName = 'proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse'; | ||
| } | ||
@@ -1335,2 +1379,283 @@ | ||
| if (jspb.Message.GENERATE_TO_OBJECT) { | ||
| /** | ||
| * Creates an object representation of this proto. | ||
| * Field names that are reserved in JavaScript and will be renamed to pb_name. | ||
| * Optional fields that are not set will be set to undefined. | ||
| * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. | ||
| * For the list of reserved names please see: | ||
| * net/proto2/compiler/js/internal/generator.cc#kKeyword. | ||
| * @param {boolean=} opt_includeInstance Deprecated. whether to include the | ||
| * JSPB instance for transitional soy proto support: | ||
| * http://goto/soy-param-migration | ||
| * @return {!Object} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.prototype.toObject = function(opt_includeInstance) { | ||
| return proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.toObject(opt_includeInstance, this); | ||
| }; | ||
| /** | ||
| * Static version of the {@see toObject} method. | ||
| * @param {boolean|undefined} includeInstance Deprecated. Whether to include | ||
| * the JSPB instance for transitional soy proto support: | ||
| * http://goto/soy-param-migration | ||
| * @param {!proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest} msg The msg instance to transform. | ||
| * @return {!Object} | ||
| * @suppress {unusedLocalVariables} f is only used for nested messages | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.toObject = function(includeInstance, msg) { | ||
| var f, obj = { | ||
| id: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
| }; | ||
| if (includeInstance) { | ||
| obj.$jspbMessageInstance = msg; | ||
| } | ||
| return obj; | ||
| }; | ||
| } | ||
| /** | ||
| * Deserializes binary data (in protobuf wire format). | ||
| * @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
| * @return {!proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.deserializeBinary = function(bytes) { | ||
| var reader = new jspb.BinaryReader(bytes); | ||
| var msg = new proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest; | ||
| return proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.deserializeBinaryFromReader(msg, reader); | ||
| }; | ||
| /** | ||
| * Deserializes binary data (in protobuf wire format) from the | ||
| * given reader into the given message object. | ||
| * @param {!proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest} msg The message object to deserialize into. | ||
| * @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
| * @return {!proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.deserializeBinaryFromReader = function(msg, reader) { | ||
| while (reader.nextField()) { | ||
| if (reader.isEndGroup()) { | ||
| break; | ||
| } | ||
| var field = reader.getFieldNumber(); | ||
| switch (field) { | ||
| case 1: | ||
| var value = /** @type {string} */ (reader.readString()); | ||
| msg.setId(value); | ||
| break; | ||
| default: | ||
| reader.skipField(); | ||
| break; | ||
| } | ||
| } | ||
| return msg; | ||
| }; | ||
| /** | ||
| * Serializes the message to binary data (in protobuf wire format). | ||
| * @return {!Uint8Array} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.prototype.serializeBinary = function() { | ||
| var writer = new jspb.BinaryWriter(); | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.serializeBinaryToWriter(this, writer); | ||
| return writer.getResultBuffer(); | ||
| }; | ||
| /** | ||
| * Serializes the given message to binary data (in protobuf wire | ||
| * format), writing to the given BinaryWriter. | ||
| * @param {!proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest} message | ||
| * @param {!jspb.BinaryWriter} writer | ||
| * @suppress {unusedLocalVariables} f is only used for nested messages | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.serializeBinaryToWriter = function(message, writer) { | ||
| var f = undefined; | ||
| f = message.getId(); | ||
| if (f.length > 0) { | ||
| writer.writeString( | ||
| 1, | ||
| f | ||
| ); | ||
| } | ||
| }; | ||
| /** | ||
| * optional string id = 1; | ||
| * @return {string} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.prototype.getId = function() { | ||
| return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); | ||
| }; | ||
| /** | ||
| * @param {string} value | ||
| * @return {!proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest} returns this | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectRequest.prototype.setId = function(value) { | ||
| return jspb.Message.setProto3StringField(this, 1, value); | ||
| }; | ||
| if (jspb.Message.GENERATE_TO_OBJECT) { | ||
| /** | ||
| * Creates an object representation of this proto. | ||
| * Field names that are reserved in JavaScript and will be renamed to pb_name. | ||
| * Optional fields that are not set will be set to undefined. | ||
| * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. | ||
| * For the list of reserved names please see: | ||
| * net/proto2/compiler/js/internal/generator.cc#kKeyword. | ||
| * @param {boolean=} opt_includeInstance Deprecated. whether to include the | ||
| * JSPB instance for transitional soy proto support: | ||
| * http://goto/soy-param-migration | ||
| * @return {!Object} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.prototype.toObject = function(opt_includeInstance) { | ||
| return proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.toObject(opt_includeInstance, this); | ||
| }; | ||
| /** | ||
| * Static version of the {@see toObject} method. | ||
| * @param {boolean|undefined} includeInstance Deprecated. Whether to include | ||
| * the JSPB instance for transitional soy proto support: | ||
| * http://goto/soy-param-migration | ||
| * @param {!proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse} msg The msg instance to transform. | ||
| * @return {!Object} | ||
| * @suppress {unusedLocalVariables} f is only used for nested messages | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.toObject = function(includeInstance, msg) { | ||
| var f, obj = { | ||
| volume: (f = msg.getVolume()) && proto.com.docker.api.protos.volumes.v1.Volume.toObject(includeInstance, f) | ||
| }; | ||
| if (includeInstance) { | ||
| obj.$jspbMessageInstance = msg; | ||
| } | ||
| return obj; | ||
| }; | ||
| } | ||
| /** | ||
| * Deserializes binary data (in protobuf wire format). | ||
| * @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
| * @return {!proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.deserializeBinary = function(bytes) { | ||
| var reader = new jspb.BinaryReader(bytes); | ||
| var msg = new proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse; | ||
| return proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.deserializeBinaryFromReader(msg, reader); | ||
| }; | ||
| /** | ||
| * Deserializes binary data (in protobuf wire format) from the | ||
| * given reader into the given message object. | ||
| * @param {!proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse} msg The message object to deserialize into. | ||
| * @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
| * @return {!proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.deserializeBinaryFromReader = function(msg, reader) { | ||
| while (reader.nextField()) { | ||
| if (reader.isEndGroup()) { | ||
| break; | ||
| } | ||
| var field = reader.getFieldNumber(); | ||
| switch (field) { | ||
| case 1: | ||
| var value = new proto.com.docker.api.protos.volumes.v1.Volume; | ||
| reader.readMessage(value,proto.com.docker.api.protos.volumes.v1.Volume.deserializeBinaryFromReader); | ||
| msg.setVolume(value); | ||
| break; | ||
| default: | ||
| reader.skipField(); | ||
| break; | ||
| } | ||
| } | ||
| return msg; | ||
| }; | ||
| /** | ||
| * Serializes the message to binary data (in protobuf wire format). | ||
| * @return {!Uint8Array} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.prototype.serializeBinary = function() { | ||
| var writer = new jspb.BinaryWriter(); | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.serializeBinaryToWriter(this, writer); | ||
| return writer.getResultBuffer(); | ||
| }; | ||
| /** | ||
| * Serializes the given message to binary data (in protobuf wire | ||
| * format), writing to the given BinaryWriter. | ||
| * @param {!proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse} message | ||
| * @param {!jspb.BinaryWriter} writer | ||
| * @suppress {unusedLocalVariables} f is only used for nested messages | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.serializeBinaryToWriter = function(message, writer) { | ||
| var f = undefined; | ||
| f = message.getVolume(); | ||
| if (f != null) { | ||
| writer.writeMessage( | ||
| 1, | ||
| f, | ||
| proto.com.docker.api.protos.volumes.v1.Volume.serializeBinaryToWriter | ||
| ); | ||
| } | ||
| }; | ||
| /** | ||
| * optional Volume volume = 1; | ||
| * @return {?proto.com.docker.api.protos.volumes.v1.Volume} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.prototype.getVolume = function() { | ||
| return /** @type{?proto.com.docker.api.protos.volumes.v1.Volume} */ ( | ||
| jspb.Message.getWrapperField(this, proto.com.docker.api.protos.volumes.v1.Volume, 1)); | ||
| }; | ||
| /** | ||
| * @param {?proto.com.docker.api.protos.volumes.v1.Volume|undefined} value | ||
| * @return {!proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse} returns this | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.prototype.setVolume = function(value) { | ||
| return jspb.Message.setWrapperField(this, 1, value); | ||
| }; | ||
| /** | ||
| * Clears the message field making it undefined. | ||
| * @return {!proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse} returns this | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.prototype.clearVolume = function() { | ||
| return this.setVolume(undefined); | ||
| }; | ||
| /** | ||
| * Returns whether this field is set. | ||
| * @return {boolean} | ||
| */ | ||
| proto.com.docker.api.protos.volumes.v1.VolumesInspectResponse.prototype.hasVolume = function() { | ||
| return jspb.Message.getField(this, 1) != null; | ||
| }; | ||
| goog.object.extend(exports, proto.com.docker.api.protos.volumes.v1); |
@@ -28,2 +28,3 @@ // | ||
| rpc VolumesDelete(VolumesDeleteRequest) returns (VolumesDeleteResponse); | ||
| rpc VolumesInspect(VolumesInspectRequest) returns (VolumesInspectResponse); | ||
| } | ||
@@ -64,1 +65,9 @@ | ||
| } | ||
| message VolumesInspectRequest { | ||
| string id = 1; | ||
| } | ||
| message VolumesInspectResponse { | ||
| Volume volume = 1; | ||
| } |
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
414097
3.63%9210
3.09%