2 * Copyright 2020 Huawei Technologies Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package com.eliot.eliotbe.eliotk8sclient.common;
19 public class AppConstants {
21 public static final String EMPTY_STRING = "";
23 public static final String POD_NAME = "name";
25 public static final String POD_NAME_SPACE = "namespace";
27 public static final String POD_STATUS = "status";
29 public static final String SERVICE_NAME = "name";
31 public static final String SERVICE_NAME_SPACE = "namespace";
33 public static final String CONTAINERS = "containers";
35 public static final String PODS = "pods";
37 public static final String NAMEANDNAMESPACE = "|!";
39 public static final String K8SPOD = "|~";
41 public static final String POD_TYPE = "|`";
43 public static final String KIND = "kind";
44 //public static final String APP_PACKAGE_EXTENSION = ".csar";
46 public static final long MAX_PACKAGE_SIZE = 10485760;
48 public static final long MAX_CONFIG_SIZE = 5242880;
50 public static final int MAX_PACKAGE_DIR_SIZE = 16;
52 public static final int MAX_FILE_PATH_LENGTH = 2048;
54 public static final String HTTPS = "https://";
56 public static final String COLON = ":";