package io.wdd.func.auto.beans;

public enum HarborFunctionEnum {


    CREATE_PROJECT(
            "CREATE_PROJECT",
            "在目标Harbor创建一个Project, args 为目标Harbor的HostName，不带端口"
    ),

    LIST_PROJECT(
            "LIST_PROJECT",
            "在目标Harbor列出所有Project， args 为目标Harbor的HostName，不带端口"
    ),


    SYNC_PROJECT_BETWEEN_HARBOR(
            "SYNC_PROJECT_BETWEEN_HARBOR",
            "在源Harbor和目标Harbor之间同步Project， args 为目标Harbor的HostName，不带端口; 源Harbor的HostName，不带端口; 需要同步的仓库project(rancher cmii)名称"
    ),

    SYNC_STATUS_HARBOR(
            "SYNC_STATUS_HARBOR",
            "查询目标Harbor的同步状态进度, args 为目标Harbor的HostName，不带端口;"
    );


    String opName;

    String desc;


    HarborFunctionEnum(String opName, String desc) {
        this.opName = opName;
        this.desc = desc;
    }

    public String getOpName() {
        return opName;
    }

    public String getDesc() {
        return desc;
    }

}
