iSulad: sync from upstrem at 4.27
Signed-off-by: lifeng <lifeng68@huawei.com>
This commit is contained in:
parent
5bf7c66ad4
commit
d71ef75fa5
@ -9,13 +9,7 @@ include(cmake/set_build_flags.cmake)
|
|||||||
|
|
||||||
#set(CMAKE_C_COMPILER "gcc" CACHE PATH "c compiler")
|
#set(CMAKE_C_COMPILER "gcc" CACHE PATH "c compiler")
|
||||||
|
|
||||||
# Get the latest abbreviated commit hash of the working branch
|
set(GIT_COMMIT_HASH "d03048c03e5f83d8de4e6f164f354a9cb8316362")
|
||||||
execute_process(
|
|
||||||
COMMAND git rev-parse HEAD
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
||||||
OUTPUT_VARIABLE GIT_COMMIT_HASH
|
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
||||||
)
|
|
||||||
message("-- commit id: " ${GIT_COMMIT_HASH})
|
message("-- commit id: " ${GIT_COMMIT_HASH})
|
||||||
add_definitions(-DISULAD_GIT_COMMIT="${GIT_COMMIT_HASH}")
|
add_definitions(-DISULAD_GIT_COMMIT="${GIT_COMMIT_HASH}")
|
||||||
|
|
||||||
|
|||||||
10
Dockerfile
10
Dockerfile
@ -1,13 +1,13 @@
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
##- @Copyright (C) Huawei Technologies., Ltd. 2019. All rights reserved.
|
##- @Copyright (C) Huawei Technologies., Ltd. 2019. All rights reserved.
|
||||||
# - lcr licensed under the Mulan PSL v1.
|
# - lcr licensed under the Mulan PSL v2.
|
||||||
# - You can use this software according to the terms and conditions of the Mulan PSL v1.
|
# - You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
# - You may obtain a copy of Mulan PSL v1 at:
|
# - You may obtain a copy of Mulan PSL v2 at:
|
||||||
# - http://license.coscl.org.cn/MulanPSL
|
# - http://license.coscl.org.cn/MulanPSL2
|
||||||
# - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
# - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
# - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
# - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
# - PURPOSE.
|
# - PURPOSE.
|
||||||
# - See the Mulan PSL v1 for more details.
|
# - See the Mulan PSL v2 for more details.
|
||||||
##- @Description: prepare compile container envrionment
|
##- @Description: prepare compile container envrionment
|
||||||
##- @Author: lifeng
|
##- @Author: lifeng
|
||||||
##- @Create: 2020-01-10
|
##- @Create: 2020-01-10
|
||||||
|
|||||||
@ -71,4 +71,4 @@ iSulad follows the kernel coding conventions. You can find a detailed introducti
|
|||||||
|
|
||||||
## Licensing
|
## Licensing
|
||||||
|
|
||||||
iSulad is licensed under the Mulan PSL v1.
|
iSulad is licensed under the Mulan PSL v2.
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
%global _version 2.0.0
|
%global _version 2.0.0
|
||||||
%global _release 20200321.032232.gitaec8336d
|
%global _release 20200406.224614.gitd03048c0
|
||||||
%global is_systemd 1
|
%global is_systemd 1
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
@ -7,7 +7,7 @@ Name: iSulad
|
|||||||
Version: %{_version}
|
Version: %{_version}
|
||||||
Release: %{_release}
|
Release: %{_release}
|
||||||
Summary: Lightweight Container Runtime Daemon
|
Summary: Lightweight Container Runtime Daemon
|
||||||
License: Mulan PSL v1
|
License: Mulan PSL v2
|
||||||
URL: isulad
|
URL: isulad
|
||||||
Source: iSulad-2.0.tar.gz
|
Source: iSulad-2.0.tar.gz
|
||||||
BuildRoot: {_tmppath}/iSulad-%{version}
|
BuildRoot: {_tmppath}/iSulad-%{version}
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
// #######################################################################
|
// #######################################################################
|
||||||
// ##- @Copyright (C) Huawei Technologies., Ltd. 2019-2020. All rights reserved.
|
// ##- @Copyright (C) Huawei Technologies., Ltd. 2019-2020. All rights reserved.
|
||||||
// # - iSulad licensed under the Mulan PSL v1.
|
// # - iSulad licensed under the Mulan PSL v2.
|
||||||
// # - You can use this software according to the terms and conditions of the Mulan PSL v1.
|
// # - You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
// # - You may obtain a copy of Mulan PSL v1 at:
|
// # - You may obtain a copy of Mulan PSL v2 at:
|
||||||
// # - http://license.coscl.org.cn/MulanPSL
|
// # - http://license.coscl.org.cn/MulanPSL2
|
||||||
// # - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
// # - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
// # - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
// # - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
// # - PURPOSE.
|
// # - PURPOSE.
|
||||||
// # - See the Mulan PSL v1 for more details.
|
// # - See the Mulan PSL v2 for more details.
|
||||||
// ##- @Description: generate grpc
|
// ##- @Description: generate grpc
|
||||||
// ##- @Author: wujing
|
// ##- @Author: wujing
|
||||||
// ##- @Create: 2020-01-26
|
// ##- @Create: 2020-01-26
|
||||||
@ -78,6 +78,9 @@ service ImageService {
|
|||||||
// get status of graphdriver
|
// get status of graphdriver
|
||||||
rpc GraphdriverStatus(GraphdriverStatusRequest) returns (GraphdriverStatusResponse) {}
|
rpc GraphdriverStatus(GraphdriverStatusRequest) returns (GraphdriverStatusResponse) {}
|
||||||
|
|
||||||
|
// get metadata of graphdriver
|
||||||
|
rpc GraphdriverMetadata(GraphdriverMetadataRequest) returns (GraphdriverMetadataResponse) {}
|
||||||
|
|
||||||
// login registry
|
// login registry
|
||||||
rpc Login(LoginRequest) returns (LoginResponse) {}
|
rpc Login(LoginRequest) returns (LoginResponse) {}
|
||||||
// logout registry
|
// logout registry
|
||||||
@ -85,6 +88,9 @@ service ImageService {
|
|||||||
|
|
||||||
// health check service
|
// health check service
|
||||||
rpc HealthCheck(HealthCheckRequest) returns (HealthCheckResponse) {}
|
rpc HealthCheck(HealthCheckRequest) returns (HealthCheckResponse) {}
|
||||||
|
|
||||||
|
// Add a tag to the image
|
||||||
|
rpc TagImage(TagImageRequest) returns (TagImageResponse) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
message HealthCheckRequest {}
|
message HealthCheckRequest {}
|
||||||
@ -146,6 +152,17 @@ message GraphdriverStatusResponse {
|
|||||||
uint32 cc = 3;
|
uint32 cc = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message GraphdriverMetadataRequest {
|
||||||
|
string name_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GraphdriverMetadataResponse {
|
||||||
|
map<string,string> metadata = 1;
|
||||||
|
string name = 2;
|
||||||
|
string errmsg = 3;
|
||||||
|
uint32 cc = 4;
|
||||||
|
}
|
||||||
|
|
||||||
message ContainerFsUsageRequest {
|
message ContainerFsUsageRequest {
|
||||||
string name_id = 1;
|
string name_id = 1;
|
||||||
}
|
}
|
||||||
@ -412,6 +429,15 @@ message ListImagesRequest {
|
|||||||
bool check = 2;
|
bool check = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message HealthCheck {
|
||||||
|
repeated string test = 1;
|
||||||
|
int64 interval = 2;
|
||||||
|
int64 timeout = 3;
|
||||||
|
int64 start_period = 4;
|
||||||
|
int32 retries = 5;
|
||||||
|
bool exit_on_unhealthy = 6;
|
||||||
|
}
|
||||||
|
|
||||||
// Basic information about a container image.
|
// Basic information about a container image.
|
||||||
message Image {
|
message Image {
|
||||||
// ID of the image.
|
// ID of the image.
|
||||||
@ -438,6 +464,9 @@ message Image {
|
|||||||
|
|
||||||
// oci image spec
|
// oci image spec
|
||||||
ImageSpec spec = 9;
|
ImageSpec spec = 9;
|
||||||
|
|
||||||
|
// Health check
|
||||||
|
HealthCheck healthcheck = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListImagesResponse {
|
message ListImagesResponse {
|
||||||
@ -557,3 +586,13 @@ message ImageFsInfoResponse {
|
|||||||
string errmsg = 2;
|
string errmsg = 2;
|
||||||
uint32 cc = 3;
|
uint32 cc = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message TagImageRequest {
|
||||||
|
ImageSpec srcName = 1;
|
||||||
|
ImageSpec destName = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TagImageResponse {
|
||||||
|
string errmsg = 1;
|
||||||
|
uint32 cc = 2;
|
||||||
|
}
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
// #######################################################################
|
// #######################################################################
|
||||||
// ##- @Copyright (C) Huawei Technologies., Ltd. 2019. All rights reserved.
|
// ##- @Copyright (C) Huawei Technologies., Ltd. 2019. All rights reserved.
|
||||||
// # - iSulad licensed under the Mulan PSL v1.
|
// # - iSulad licensed under the Mulan PSL v2.
|
||||||
// # - You can use this software according to the terms and conditions of the Mulan PSL v1.
|
// # - You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
// # - You may obtain a copy of Mulan PSL v1 at:
|
// # - You may obtain a copy of Mulan PSL v2 at:
|
||||||
// # - http://license.coscl.org.cn/MulanPSL
|
// # - http://license.coscl.org.cn/MulanPSL2
|
||||||
// # - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
// # - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
// # - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
// # - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
// # - PURPOSE.
|
// # - PURPOSE.
|
||||||
// # - See the Mulan PSL v1 for more details.
|
// # - See the Mulan PSL v2 for more details.
|
||||||
// ##- @Description: generate grpc
|
// ##- @Description: generate grpc
|
||||||
// ##- @Author: wujing
|
// ##- @Author: wujing
|
||||||
// ##- @Create: 2019-04-25
|
// ##- @Create: 2019-04-25
|
||||||
@ -324,7 +324,8 @@ message RemoteExecRequest {
|
|||||||
}
|
}
|
||||||
message RemoteExecResponse {
|
message RemoteExecResponse {
|
||||||
bytes stdout = 1;
|
bytes stdout = 1;
|
||||||
bool finish = 2;
|
bytes stderr = 2;
|
||||||
|
bool finish = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message AttachRequest {
|
message AttachRequest {
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: tanyifeng
|
* Author: tanyifeng
|
||||||
* Create: 2018-11-22
|
* Create: 2018-11-22
|
||||||
* Description: provide container rest definition
|
* Description: provide container rest definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
// #######################################################################
|
// #######################################################################
|
||||||
// ##- @Copyright (C) Huawei Technologies., Ltd. 2019-2020. All rights reserved.
|
// ##- @Copyright (C) Huawei Technologies., Ltd. 2019-2020. All rights reserved.
|
||||||
// # - iSulad licensed under the Mulan PSL v1.
|
// # - iSulad licensed under the Mulan PSL v2.
|
||||||
// # - You can use this software according to the terms and conditions of the Mulan PSL v1.
|
// # - You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
// # - You may obtain a copy of Mulan PSL v1 at:
|
// # - You may obtain a copy of Mulan PSL v2 at:
|
||||||
// # - http://license.coscl.org.cn/MulanPSL
|
// # - http://license.coscl.org.cn/MulanPSL2
|
||||||
// # - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
// # - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
// # - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
// # - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
// # - PURPOSE.
|
// # - PURPOSE.
|
||||||
// # - See the Mulan PSL v1 for more details.
|
// # - See the Mulan PSL v2 for more details.
|
||||||
// ##- @Description: generate grpc
|
// ##- @Description: generate grpc
|
||||||
// ##- @Author: tanyifeng
|
// ##- @Author: tanyifeng
|
||||||
// ##- @Create: 2020-01-16
|
// ##- @Create: 2020-01-16
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
// #######################################################################
|
// #######################################################################
|
||||||
// ##- @Copyright (C) Huawei Technologies., Ltd. 2019-2020. All rights reserved.
|
// ##- @Copyright (C) Huawei Technologies., Ltd. 2019-2020. All rights reserved.
|
||||||
// # - iSulad licensed under the Mulan PSL v1.
|
// # - iSulad licensed under the Mulan PSL v2.
|
||||||
// # - You can use this software according to the terms and conditions of the Mulan PSL v1.
|
// # - You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
// # - You may obtain a copy of Mulan PSL v1 at:
|
// # - You may obtain a copy of Mulan PSL v2 at:
|
||||||
// # - http://license.coscl.org.cn/MulanPSL
|
// # - http://license.coscl.org.cn/MulanPSL2
|
||||||
// # - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
// # - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
// # - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
// # - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
// # - PURPOSE.
|
// # - PURPOSE.
|
||||||
// # - See the Mulan PSL v1 for more details.
|
// # - See the Mulan PSL v2 for more details.
|
||||||
// ##- @Description: generate grpc
|
// ##- @Description: generate grpc
|
||||||
// ##- @Author: wujing
|
// ##- @Author: wujing
|
||||||
// ##- @Create: 2020-01-16
|
// ##- @Create: 2020-01-16
|
||||||
@ -70,6 +70,9 @@ service ImagesService {
|
|||||||
|
|
||||||
// Logout from a Docker registry
|
// Logout from a Docker registry
|
||||||
rpc Logout(LogoutRequest) returns (LogoutResponse);
|
rpc Logout(LogoutRequest) returns (LogoutResponse);
|
||||||
|
|
||||||
|
// Add a tag to the image
|
||||||
|
rpc Tag(TagImageRequest) returns (TagImageResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
message Image {
|
message Image {
|
||||||
@ -126,6 +129,16 @@ message DeleteImageResponse {
|
|||||||
string errmsg = 3;
|
string errmsg = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message TagImageRequest {
|
||||||
|
string src_name = 1;
|
||||||
|
string dest_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TagImageResponse {
|
||||||
|
uint32 cc = 1;
|
||||||
|
string errmsg = 2;
|
||||||
|
}
|
||||||
|
|
||||||
message LoadImageRequest {
|
message LoadImageRequest {
|
||||||
string file = 1;
|
string file = 1;
|
||||||
string type = 2;
|
string type = 2;
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: maoweiyong
|
* Author: maoweiyong
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container image rest definition
|
* Description: provide container image rest definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
// #######################################################################
|
// #######################################################################
|
||||||
// ##- @Copyright (C) Huawei Technologies., Ltd. 2019-2020. All rights reserved.
|
// ##- @Copyright (C) Huawei Technologies., Ltd. 2019-2020. All rights reserved.
|
||||||
// # - iSulad licensed under the Mulan PSL v1.
|
// # - iSulad licensed under the Mulan PSL v2.
|
||||||
// # - You can use this software according to the terms and conditions of the Mulan PSL v1.
|
// # - You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
// # - You may obtain a copy of Mulan PSL v1 at:
|
// # - You may obtain a copy of Mulan PSL v2 at:
|
||||||
// # - http://license.coscl.org.cn/MulanPSL
|
// # - http://license.coscl.org.cn/MulanPSL2
|
||||||
// # - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
// # - THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
// # - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
// # - IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
// # - PURPOSE.
|
// # - PURPOSE.
|
||||||
// # - See the Mulan PSL v1 for more details.
|
// # - See the Mulan PSL v2 for more details.
|
||||||
// ##- @Description: generate grpc
|
// ##- @Description: generate grpc
|
||||||
// ##- @Author: wujing
|
// ##- @Author: wujing
|
||||||
// ##- @Create: 2019-01-16
|
// ##- @Create: 2019-01-16
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: tanyifeng
|
* Author: tanyifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide command functions
|
* Description: provide command functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: tanyifeng
|
* Author: tanyifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide command definition
|
* Description: provide command definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: maoweiyong
|
* Author: maoweiyong
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container client arguments functions
|
* Description: provide container client arguments functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container client arguments definition
|
* Description: provide container client arguments definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container create functions
|
* Description: provide container create functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container create definition
|
* Description: provide container create definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container kill functions
|
* Description: provide container kill functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container kill definition
|
* Description: provide container kill definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container stop functions
|
* Description: provide container stop functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container rename definition
|
* Description: provide container rename definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container restart functions
|
* Description: provide container restart functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container restart definition
|
* Description: provide container restart definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container remove functions
|
* Description: provide container remove functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container remove definition
|
* Description: provide container remove definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container run functions
|
* Description: provide container run functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container run definition
|
* Description: provide container run definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: maoweiyong
|
* Author: maoweiyong
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container start functions
|
* Description: provide container start functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: maoweiyong
|
* Author: maoweiyong
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container start definition
|
* Description: provide container start definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container stop functions
|
* Description: provide container stop functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container stop definition
|
* Description: provide container stop definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container command functions
|
* Description: provide container command functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container commands definition
|
* Description: provide container commands definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container events functions
|
* Description: provide container events functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container events definition
|
* Description: provide container events definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: wangfengtu
|
* Author: wangfengtu
|
||||||
* Create: 2019-04-04
|
* Create: 2019-04-04
|
||||||
* Description: provide container export functions
|
* Description: provide container export functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: wangfengtu
|
* Author: wangfengtu
|
||||||
* Create: 2019-04-04
|
* Create: 2019-04-04
|
||||||
* Description: provide container resume definition
|
* Description: provide container resume definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container pause functions
|
* Description: provide container pause functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container pause definition
|
* Description: provide container pause definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container resume functions
|
* Description: provide container resume functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container resume definition
|
* Description: provide container resume definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container stats functions
|
* Description: provide container stats functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container stats definition
|
* Description: provide container stats definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container update functions
|
* Description: provide container update functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container update definition
|
* Description: provide container update definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container image functions
|
* Description: provide container image functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container images definition
|
* Description: provide container images definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container load functions
|
* Description: provide container load functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container load definition
|
* Description: provide container load definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: wangfengtu
|
* Author: wangfengtu
|
||||||
* Create: 2019-6-18
|
* Create: 2019-6-18
|
||||||
* Description: provide login
|
* Description: provide login
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: wangfengtu
|
* Author: wangfengtu
|
||||||
* Description: provide login definition
|
* Description: provide login definition
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: wangfengtu
|
* Author: wangfengtu
|
||||||
* Create: 2019-6-18
|
* Create: 2019-6-18
|
||||||
* Description: provide logout
|
* Description: provide logout
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: wangfengtu
|
* Author: wangfengtu
|
||||||
* Description: provide logout definition
|
* Description: provide logout definition
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2019-3-29
|
* Create: 2019-3-29
|
||||||
* Description: provide pull image
|
* Description: provide pull image
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2019-3-29
|
* Create: 2019-3-29
|
||||||
* Description: provide pull image
|
* Description: provide pull image
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container remove functions
|
* Description: provide container remove functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container remove definition
|
* Description: provide container remove definition
|
||||||
|
|||||||
123
src/cmd/isula/images/tag.c
Normal file
123
src/cmd/isula/images/tag.c
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
||||||
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
|
* PURPOSE.
|
||||||
|
* See the Mulan PSL v2 for more details.
|
||||||
|
* Author: wangfengtu
|
||||||
|
* Create: 2020-04-15
|
||||||
|
* Description: provide image tag functions
|
||||||
|
******************************************************************************/
|
||||||
|
#include "tag.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <limits.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "utils.h"
|
||||||
|
#include "arguments.h"
|
||||||
|
#include "isula_connect.h"
|
||||||
|
#include "log.h"
|
||||||
|
|
||||||
|
const char g_cmd_tag_desc[] = "Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE";
|
||||||
|
const char g_cmd_tag_usage[] = "tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]";
|
||||||
|
|
||||||
|
struct client_arguments g_cmd_tag_args = {};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Add a tag to the image
|
||||||
|
*/
|
||||||
|
static int client_tag(const struct client_arguments *args)
|
||||||
|
{
|
||||||
|
isula_connect_ops *ops = NULL;
|
||||||
|
struct isula_tag_request request = { 0 };
|
||||||
|
struct isula_tag_response *response = NULL;
|
||||||
|
client_connect_config_t config = { 0 };
|
||||||
|
int ret = 0;
|
||||||
|
|
||||||
|
response = util_common_calloc_s(sizeof(struct isula_tag_response));
|
||||||
|
if (response == NULL) {
|
||||||
|
ERROR("Out of memory");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
request.src_name = args->image_name;
|
||||||
|
request.dest_name = args->tag;
|
||||||
|
|
||||||
|
ops = get_connect_client_ops();
|
||||||
|
if (ops == NULL || !ops->image.tag) {
|
||||||
|
ERROR("Unimplemented ops");
|
||||||
|
ret = -1;
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
config = get_connect_config(args);
|
||||||
|
ret = ops->image.tag(&request, response, &config);
|
||||||
|
if (ret) {
|
||||||
|
client_print_error(response->cc, response->server_errono, response->errmsg);
|
||||||
|
if (response->server_errono) {
|
||||||
|
ret = ESERVERERROR;
|
||||||
|
}
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
out:
|
||||||
|
isula_tag_response_free(response);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
int cmd_tag_main(int argc, const char **argv)
|
||||||
|
{
|
||||||
|
struct log_config lconf = { 0 };
|
||||||
|
int exit_code = 1;
|
||||||
|
command_t cmd;
|
||||||
|
struct command_option options[] = {
|
||||||
|
LOG_OPTIONS(lconf),
|
||||||
|
COMMON_OPTIONS(g_cmd_tag_args),
|
||||||
|
};
|
||||||
|
|
||||||
|
set_default_command_log_config(argv[0], &lconf);
|
||||||
|
if (client_arguments_init(&g_cmd_tag_args)) {
|
||||||
|
COMMAND_ERROR("client arguments init failed");
|
||||||
|
exit(ECOMMON);
|
||||||
|
}
|
||||||
|
g_cmd_tag_args.progname = argv[0];
|
||||||
|
command_init(&cmd, options, sizeof(options) / sizeof(options[0]), argc, (const char **)argv, g_cmd_tag_desc,
|
||||||
|
g_cmd_tag_usage);
|
||||||
|
if (command_parse_args(&cmd, &g_cmd_tag_args.argc, &g_cmd_tag_args.argv)) {
|
||||||
|
exit(exit_code);
|
||||||
|
}
|
||||||
|
if (log_init(&lconf)) {
|
||||||
|
COMMAND_ERROR("RMI: log init failed");
|
||||||
|
exit(exit_code);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (g_cmd_tag_args.argc != 2) {
|
||||||
|
COMMAND_ERROR("\"tag\" requires exactly 2 arguments.");
|
||||||
|
exit(exit_code);
|
||||||
|
}
|
||||||
|
|
||||||
|
g_cmd_tag_args.image_name = g_cmd_tag_args.argv[0];
|
||||||
|
g_cmd_tag_args.tag = g_cmd_tag_args.argv[1];
|
||||||
|
|
||||||
|
if (!util_valid_image_name(g_cmd_tag_args.image_name)) {
|
||||||
|
COMMAND_ERROR("%s is not a valid image name", g_cmd_tag_args.image_name);
|
||||||
|
exit(exit_code);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!util_valid_tag(g_cmd_tag_args.tag)) {
|
||||||
|
COMMAND_ERROR("%s is not a valid tag", g_cmd_tag_args.tag);
|
||||||
|
exit(exit_code);
|
||||||
|
}
|
||||||
|
|
||||||
|
int ret = client_tag(&g_cmd_tag_args);
|
||||||
|
if (ret != 0) {
|
||||||
|
COMMAND_ERROR("Tag image \"%s\" to \"%s\" failed", g_cmd_tag_args.image_name, g_cmd_tag_args.tag);
|
||||||
|
exit(exit_code);
|
||||||
|
}
|
||||||
|
|
||||||
|
exit(EXIT_SUCCESS);
|
||||||
|
}
|
||||||
|
|
||||||
34
src/cmd/isula/images/tag.h
Normal file
34
src/cmd/isula/images/tag.h
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
/******************************************************************************
|
||||||
|
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
||||||
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
|
* PURPOSE.
|
||||||
|
* See the Mulan PSL v2 for more details.
|
||||||
|
* Author: wangfengtu
|
||||||
|
* Create: 2020-04-15
|
||||||
|
* Description: provide image tag definition
|
||||||
|
******************************************************************************/
|
||||||
|
#ifndef __CMD_TAG_IMAGE_H
|
||||||
|
#define __CMD_TAG_IMAGE_H
|
||||||
|
|
||||||
|
#include "arguments.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
extern const char g_cmd_tag_desc[];
|
||||||
|
extern const char g_cmd_tag_usage[];
|
||||||
|
extern struct client_arguments g_cmd_tag_args;
|
||||||
|
int cmd_tag_main(int argc, const char **argv);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __CMD_TAG_IMAGE_H */
|
||||||
|
|
||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container health functions
|
* Description: provide container health functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container health definition
|
* Description: provide container health definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: maoweiyong
|
* Author: maoweiyong
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container info functions
|
* Description: provide container info functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: maoweiyong
|
* Author: maoweiyong
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container info definition
|
* Description: provide container info definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container inspect functions
|
* Description: provide container inspect functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container inspect definition
|
* Description: provide container inspect definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container logs functions
|
* Description: provide container logs functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container logs definition
|
* Description: provide container logs definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container ps functions
|
* Description: provide container ps functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container ps definition
|
* Description: provide container ps definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container remove functions
|
* Description: provide container remove functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container top definition
|
* Description: provide container top definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: tanyifeng
|
* Author: tanyifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container version functions
|
* Description: provide container version functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: tanyifeng
|
* Author: tanyifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container version definition
|
* Description: provide container version definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: tanyifeng
|
* Author: tanyifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container wait functions
|
* Description: provide container wait functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: tanyifeng
|
* Author: tanyifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container wait definition
|
* Description: provide container wait definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide init process of isula
|
* Description: provide init process of isula
|
||||||
@ -28,6 +28,7 @@
|
|||||||
#include "run.h"
|
#include "run.h"
|
||||||
#include "images.h"
|
#include "images.h"
|
||||||
#include "rmi.h"
|
#include "rmi.h"
|
||||||
|
#include "tag.h"
|
||||||
#include "wait.h"
|
#include "wait.h"
|
||||||
#include "restart.h"
|
#include "restart.h"
|
||||||
#include "pause.h"
|
#include "pause.h"
|
||||||
@ -190,6 +191,10 @@ struct command g_commands[] = {
|
|||||||
// `logout` sub-command
|
// `logout` sub-command
|
||||||
"logout", cmd_logout_main, g_cmd_logout_desc, NULL, &g_cmd_logout_args
|
"logout", cmd_logout_main, g_cmd_logout_desc, NULL, &g_cmd_logout_args
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
// `tag` sub-command
|
||||||
|
"tag", cmd_tag_main, g_cmd_tag_desc, NULL, &g_cmd_tag_args
|
||||||
|
},
|
||||||
#endif
|
#endif
|
||||||
{ NULL, NULL, NULL, NULL, NULL } // End of the list
|
{ NULL, NULL, NULL, NULL, NULL } // End of the list
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container attach functions
|
* Description: provide container attach functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container attach definition
|
* Description: provide container attach definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: tanyifeng
|
* Author: tanyifeng
|
||||||
* Create: 2019-04-17
|
* Create: 2019-04-17
|
||||||
* Description: provide container cp functions
|
* Description: provide container cp functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: tanyifeng
|
* Author: tanyifeng
|
||||||
* Create: 2019-04-17
|
* Create: 2019-04-17
|
||||||
* Description: provide container cp definition
|
* Description: provide container cp definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container exec functions
|
* Description: provide container exec functions
|
||||||
@ -422,10 +422,8 @@ int cmd_exec_main(int argc, const char **argv)
|
|||||||
|
|
||||||
custom_cfg = &g_cmd_exec_args.custom_conf;
|
custom_cfg = &g_cmd_exec_args.custom_conf;
|
||||||
|
|
||||||
custom_cfg->tty = true;
|
|
||||||
custom_cfg->open_stdin = true;
|
|
||||||
custom_cfg->attach_stdout = true;
|
custom_cfg->attach_stdout = true;
|
||||||
custom_cfg->attach_stderr = false;
|
custom_cfg->attach_stderr = true;
|
||||||
custom_cfg->attach_stdin = custom_cfg->open_stdin;
|
custom_cfg->attach_stdin = custom_cfg->open_stdin;
|
||||||
|
|
||||||
if (g_cmd_exec_args.detach) {
|
if (g_cmd_exec_args.detach) {
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container exec definition
|
* Description: provide container exec definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: leizhongkai
|
* Author: leizhongkai
|
||||||
* Create: 2020-1-21
|
* Create: 2020-1-21
|
||||||
* Description: common functions of isulad-shim
|
* Description: common functions of isulad-shim
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: leizhongkai
|
* Author: leizhongkai
|
||||||
* Create: 2020-1-20
|
* Create: 2020-1-20
|
||||||
* Description: common definition of isulad-shim
|
* Description: common definition of isulad-shim
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: leizhongkai
|
* Author: leizhongkai
|
||||||
* Create: 2020-1-20
|
* Create: 2020-1-20
|
||||||
* Description: main process of isulad-shim
|
* Description: main process of isulad-shim
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: leizhongkai
|
* Author: leizhongkai
|
||||||
* Create: 2020-1-20
|
* Create: 2020-1-20
|
||||||
* Description: process operation encapsulation
|
* Description: process operation encapsulation
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: leizhongkai
|
* Author: leizhongkai
|
||||||
* Create: 2020-1-20
|
* Create: 2020-1-20
|
||||||
* Description: process definition
|
* Description: process definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: gaohuatao
|
* Author: gaohuatao
|
||||||
* Create: 2020-3-9
|
* Create: 2020-3-9
|
||||||
* Description: container logs ops
|
* Description: container logs ops
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: gaohuatao
|
* Author: gaohuatao
|
||||||
* Create: 2020-3-9
|
* Create: 2020-3-9
|
||||||
* Description: container logs ops
|
* Description: container logs ops
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container server arguments functions
|
* Description: provide container server arguments functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container server arguments definition
|
* Description: provide container server arguments definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container commands functions
|
* Description: provide container commands functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide container commands definition
|
* Description: provide container commands definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2017-11-22
|
* Create: 2017-11-22
|
||||||
* Description: provide init process of isulad
|
* Description: provide init process of isulad
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container configure definition
|
* Description: provide container configure definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container configure definition
|
* Description: provide container configure definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: liuhao
|
* Author: liuhao
|
||||||
* Create: 2019-07-12
|
* Create: 2019-07-12
|
||||||
* Description: provide isula connect command definition
|
* Description: provide isula connect command definition
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide container client base functions
|
* Description: provide container client base functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: lifeng
|
* Author: lifeng
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide grpc ops functions
|
* Description: provide grpc ops functions
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
* Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved.
|
||||||
* iSulad licensed under the Mulan PSL v1.
|
* iSulad licensed under the Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v1.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v1 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
* http://license.coscl.org.cn/MulanPSL
|
* http://license.coscl.org.cn/MulanPSL2
|
||||||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
* PURPOSE.
|
* PURPOSE.
|
||||||
* See the Mulan PSL v1 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
* Author: maoweiyong
|
* Author: maoweiyong
|
||||||
* Create: 2018-11-08
|
* Create: 2018-11-08
|
||||||
* Description: provide grpc client definition
|
* Description: provide grpc client definition
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user