зеркало из https://github.com/docker/node-sdk.git
Sync healthcheck info (compose-cli v1.0.2)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
Родитель
ba47b3f097
Коммит
402e7f8c79
|
@ -51,6 +51,7 @@ message Container {
|
|||
repeated Port ports = 11;
|
||||
string platform = 13;
|
||||
HostConfig host_config = 15;
|
||||
Healthcheck healthcheck = 16;
|
||||
}
|
||||
|
||||
message HostConfig {
|
||||
|
@ -62,6 +63,12 @@ message HostConfig {
|
|||
bool auto_remove = 6;
|
||||
}
|
||||
|
||||
message Healthcheck {
|
||||
bool disable = 1;
|
||||
repeated string test = 2;
|
||||
int64 interval = 3;
|
||||
}
|
||||
|
||||
message InspectRequest {
|
||||
string id = 1;
|
||||
}
|
||||
|
@ -113,6 +120,7 @@ message RunRequest {
|
|||
repeated string command = 9;
|
||||
repeated string environment = 10;
|
||||
bool auto_remove = 11;
|
||||
Healthcheck healthcheck = 12;
|
||||
}
|
||||
|
||||
message RunResponse {
|
||||
|
|
|
@ -84,6 +84,12 @@ export class Container extends jspb.Message {
|
|||
setHostConfig(value?: HostConfig): Container;
|
||||
|
||||
|
||||
hasHealthcheck(): boolean;
|
||||
clearHealthcheck(): void;
|
||||
getHealthcheck(): Healthcheck | undefined;
|
||||
setHealthcheck(value?: Healthcheck): Container;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Container.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Container): Container.AsObject;
|
||||
|
@ -108,6 +114,7 @@ export namespace Container {
|
|||
portsList: Array<Port.AsObject>,
|
||||
platform: string,
|
||||
hostConfig?: HostConfig.AsObject,
|
||||
healthcheck?: Healthcheck.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -152,6 +159,37 @@ export namespace HostConfig {
|
|||
}
|
||||
}
|
||||
|
||||
export class Healthcheck extends jspb.Message {
|
||||
getDisable(): boolean;
|
||||
setDisable(value: boolean): Healthcheck;
|
||||
|
||||
clearTestList(): void;
|
||||
getTestList(): Array<string>;
|
||||
setTestList(value: Array<string>): Healthcheck;
|
||||
addTest(value: string, index?: number): string;
|
||||
|
||||
getInterval(): number;
|
||||
setInterval(value: number): Healthcheck;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Healthcheck.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Healthcheck): Healthcheck.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Healthcheck, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Healthcheck;
|
||||
static deserializeBinaryFromReader(message: Healthcheck, reader: jspb.BinaryReader): Healthcheck;
|
||||
}
|
||||
|
||||
export namespace Healthcheck {
|
||||
export type AsObject = {
|
||||
disable: boolean,
|
||||
testList: Array<string>,
|
||||
interval: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class InspectRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): InspectRequest;
|
||||
|
@ -405,6 +443,12 @@ export class RunRequest extends jspb.Message {
|
|||
setAutoRemove(value: boolean): RunRequest;
|
||||
|
||||
|
||||
hasHealthcheck(): boolean;
|
||||
clearHealthcheck(): void;
|
||||
getHealthcheck(): Healthcheck | undefined;
|
||||
setHealthcheck(value?: Healthcheck): RunRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RunRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RunRequest): RunRequest.AsObject;
|
||||
|
@ -429,6 +473,7 @@ export namespace RunRequest {
|
|||
commandList: Array<string>,
|
||||
environmentList: Array<string>,
|
||||
autoRemove: boolean,
|
||||
healthcheck?: Healthcheck.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ goog.exportSymbol('proto.com.docker.api.protos.containers.v1.DeleteRequest', nul
|
|||
goog.exportSymbol('proto.com.docker.api.protos.containers.v1.DeleteResponse', null, global);
|
||||
goog.exportSymbol('proto.com.docker.api.protos.containers.v1.ExecRequest', null, global);
|
||||
goog.exportSymbol('proto.com.docker.api.protos.containers.v1.ExecResponse', null, global);
|
||||
goog.exportSymbol('proto.com.docker.api.protos.containers.v1.Healthcheck', null, global);
|
||||
goog.exportSymbol('proto.com.docker.api.protos.containers.v1.HostConfig', null, global);
|
||||
goog.exportSymbol('proto.com.docker.api.protos.containers.v1.InspectRequest', null, global);
|
||||
goog.exportSymbol('proto.com.docker.api.protos.containers.v1.InspectResponse', null, global);
|
||||
|
@ -96,6 +97,27 @@ if (goog.DEBUG && !COMPILED) {
|
|||
*/
|
||||
proto.com.docker.api.protos.containers.v1.HostConfig.displayName = 'proto.com.docker.api.protos.containers.v1.HostConfig';
|
||||
}
|
||||
/**
|
||||
* 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.containers.v1.Healthcheck = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.docker.api.protos.containers.v1.Healthcheck.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.com.docker.api.protos.containers.v1.Healthcheck, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.displayName = 'proto.com.docker.api.protos.containers.v1.Healthcheck';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
|
@ -745,7 +767,8 @@ proto.com.docker.api.protos.containers.v1.Container.toObject = function(includeI
|
|||
portsList: jspb.Message.toObjectList(msg.getPortsList(),
|
||||
proto.com.docker.api.protos.containers.v1.Port.toObject, includeInstance),
|
||||
platform: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
||||
hostConfig: (f = msg.getHostConfig()) && proto.com.docker.api.protos.containers.v1.HostConfig.toObject(includeInstance, f)
|
||||
hostConfig: (f = msg.getHostConfig()) && proto.com.docker.api.protos.containers.v1.HostConfig.toObject(includeInstance, f),
|
||||
healthcheck: (f = msg.getHealthcheck()) && proto.com.docker.api.protos.containers.v1.Healthcheck.toObject(includeInstance, f)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -832,6 +855,11 @@ proto.com.docker.api.protos.containers.v1.Container.deserializeBinaryFromReader
|
|||
reader.readMessage(value,proto.com.docker.api.protos.containers.v1.HostConfig.deserializeBinaryFromReader);
|
||||
msg.setHostConfig(value);
|
||||
break;
|
||||
case 16:
|
||||
var value = new proto.com.docker.api.protos.containers.v1.Healthcheck;
|
||||
reader.readMessage(value,proto.com.docker.api.protos.containers.v1.Healthcheck.deserializeBinaryFromReader);
|
||||
msg.setHealthcheck(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
@ -947,6 +975,14 @@ proto.com.docker.api.protos.containers.v1.Container.serializeBinaryToWriter = fu
|
|||
proto.com.docker.api.protos.containers.v1.HostConfig.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getHealthcheck();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
16,
|
||||
f,
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
@ -1224,6 +1260,43 @@ proto.com.docker.api.protos.containers.v1.Container.prototype.hasHostConfig = fu
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional Healthcheck healthcheck = 16;
|
||||
* @return {?proto.com.docker.api.protos.containers.v1.Healthcheck}
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Container.prototype.getHealthcheck = function() {
|
||||
return /** @type{?proto.com.docker.api.protos.containers.v1.Healthcheck} */ (
|
||||
jspb.Message.getWrapperField(this, proto.com.docker.api.protos.containers.v1.Healthcheck, 16));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.com.docker.api.protos.containers.v1.Healthcheck|undefined} value
|
||||
* @return {!proto.com.docker.api.protos.containers.v1.Container} returns this
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Container.prototype.setHealthcheck = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 16, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.com.docker.api.protos.containers.v1.Container} returns this
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Container.prototype.clearHealthcheck = function() {
|
||||
return this.setHealthcheck(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Container.prototype.hasHealthcheck = function() {
|
||||
return jspb.Message.getField(this, 16) != null;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1505,6 +1578,222 @@ proto.com.docker.api.protos.containers.v1.HostConfig.prototype.setAutoRemove = f
|
|||
|
||||
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.repeatedFields_ = [2];
|
||||
|
||||
|
||||
|
||||
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.containers.v1.Healthcheck.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.com.docker.api.protos.containers.v1.Healthcheck.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.containers.v1.Healthcheck} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
disable: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
||||
testList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
||||
interval: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
||||
};
|
||||
|
||||
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.containers.v1.Healthcheck}
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.com.docker.api.protos.containers.v1.Healthcheck;
|
||||
return proto.com.docker.api.protos.containers.v1.Healthcheck.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.containers.v1.Healthcheck} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.com.docker.api.protos.containers.v1.Healthcheck}
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setDisable(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addTest(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {number} */ (reader.readInt64());
|
||||
msg.setInterval(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.containers.v1.Healthcheck.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.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.containers.v1.Healthcheck} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getDisable();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getTestList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getInterval();
|
||||
if (f !== 0) {
|
||||
writer.writeInt64(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool disable = 1;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.prototype.getDisable = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.com.docker.api.protos.containers.v1.Healthcheck} returns this
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.prototype.setDisable = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string test = 2;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.prototype.getTestList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.com.docker.api.protos.containers.v1.Healthcheck} returns this
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.prototype.setTestList = function(value) {
|
||||
return jspb.Message.setField(this, 2, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.com.docker.api.protos.containers.v1.Healthcheck} returns this
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.prototype.addTest = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.com.docker.api.protos.containers.v1.Healthcheck} returns this
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.prototype.clearTestList = function() {
|
||||
return this.setTestList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional int64 interval = 3;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.prototype.getInterval = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.com.docker.api.protos.containers.v1.Healthcheck} returns this
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.prototype.setInterval = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
|
@ -2849,7 +3138,8 @@ proto.com.docker.api.protos.containers.v1.RunRequest.toObject = function(include
|
|||
restartPolicyCondition: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
||||
commandList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
||||
environmentList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
|
||||
autoRemove: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
||||
autoRemove: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
||||
healthcheck: (f = msg.getHealthcheck()) && proto.com.docker.api.protos.containers.v1.Healthcheck.toObject(includeInstance, f)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -2933,6 +3223,11 @@ proto.com.docker.api.protos.containers.v1.RunRequest.deserializeBinaryFromReader
|
|||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setAutoRemove(value);
|
||||
break;
|
||||
case 12:
|
||||
var value = new proto.com.docker.api.protos.containers.v1.Healthcheck;
|
||||
reader.readMessage(value,proto.com.docker.api.protos.containers.v1.Healthcheck.deserializeBinaryFromReader);
|
||||
msg.setHealthcheck(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
@ -3037,6 +3332,14 @@ proto.com.docker.api.protos.containers.v1.RunRequest.serializeBinaryToWriter = f
|
|||
f
|
||||
);
|
||||
}
|
||||
f = message.getHealthcheck();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
12,
|
||||
f,
|
||||
proto.com.docker.api.protos.containers.v1.Healthcheck.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
@ -3319,6 +3622,43 @@ proto.com.docker.api.protos.containers.v1.RunRequest.prototype.setAutoRemove = f
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional Healthcheck healthcheck = 12;
|
||||
* @return {?proto.com.docker.api.protos.containers.v1.Healthcheck}
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.RunRequest.prototype.getHealthcheck = function() {
|
||||
return /** @type{?proto.com.docker.api.protos.containers.v1.Healthcheck} */ (
|
||||
jspb.Message.getWrapperField(this, proto.com.docker.api.protos.containers.v1.Healthcheck, 12));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.com.docker.api.protos.containers.v1.Healthcheck|undefined} value
|
||||
* @return {!proto.com.docker.api.protos.containers.v1.RunRequest} returns this
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.RunRequest.prototype.setHealthcheck = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 12, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.com.docker.api.protos.containers.v1.RunRequest} returns this
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.RunRequest.prototype.clearHealthcheck = function() {
|
||||
return this.setHealthcheck(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.com.docker.api.protos.containers.v1.RunRequest.prototype.hasHealthcheck = function() {
|
||||
return jspb.Message.getField(this, 12) != null;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче