// 数据集列表
export const datasetListData = {
  msg: '操作成功',
  code: 200,
  data: {
    content: [
      {
        name: '手写体识别训练测试数据集',
        identifier: 'admin_dataset_20241213140429',
        description: '手写体识别数据集',
        is_public: false,
        time_ago: '2个月前',
        id: 1454047,
        visits: 0,
        create_by: '陈志航',
        owner: 'chenzhihang',
      },
      {
        name: '手写体识别',
        identifier: 'admin_dataset_20241213140020',
        description: '手写体识别数据集',
        is_public: false,
        time_ago: '2个月前',
        id: 1454046,
        visits: 0,
        create_by: '陈志航',
        owner: 'chenzhihang',
      },
      {
        name: '生物活性分子数据集',
        identifier: 'admin_dataset_20241211151411',
        description: '生物活性分子数据集',
        is_public: false,
        time_ago: '2个月前',
        id: 1454004,
        visits: 0,
        create_by: '陈志航',
        owner: 'chenzhihang',
      },
      {
        name: '介电材料数据集',
        identifier: 'admin_dataset_20241211151330',
        description: '介电材料数据集',
        is_public: false,
        time_ago: '2个月前',
        id: 1454003,
        visits: 0,
        create_by: '陈志航',
        owner: 'chenzhihang',
      },
    ],
    pageable: {
      sort: {
        unsorted: true,
        sorted: false,
        empty: true,
      },
      pageSize: 2000,
      pageNumber: 0,
      offset: 0,
      unpaged: false,
      paged: true,
    },
    last: true,
    totalElements: 4,
    totalPages: 1,
    sort: {
      unsorted: true,
      sorted: false,
      empty: true,
    },
    first: true,
    number: 0,
    numberOfElements: 4,
    size: 2000,
    empty: false,
  },
};

// 数据集版本列表
export const datasetVersionData = {
  msg: '操作成功',
  code: 200,
  data: [
    {
      name: 'v2',
      http_url: 'https://cdn09022024.gitlink.org.cn/chenzhihang/admin_dataset_20241213140429.git',
      zip_url:
        'https://www.gitlink.org.cn/api/chenzhihang/admin_dataset_20241213140429/archive/v2.zip',
      tar_url:
        'https://www.gitlink.org.cn/api/chenzhihang/admin_dataset_20241213140429/archive/v2.tar.gz',
    },
    {
      name: 'v3',
      http_url: 'https://cdn09022024.gitlink.org.cn/chenzhihang/admin_dataset_20241213140429.git',
      zip_url:
        'https://www.gitlink.org.cn/api/chenzhihang/admin_dataset_20241213140429/archive/v3.zip',
      tar_url:
        'https://www.gitlink.org.cn/api/chenzhihang/admin_dataset_20241213140429/archive/v3.tar.gz',
    },
    {
      name: 'v1',
      http_url: 'https://cdn09022024.gitlink.org.cn/chenzhihang/admin_dataset_20241213140429.git',
      zip_url:
        'https://www.gitlink.org.cn/api/chenzhihang/admin_dataset_20241213140429/archive/v1.zip',
      tar_url:
        'https://www.gitlink.org.cn/api/chenzhihang/admin_dataset_20241213140429/archive/v1.tar.gz',
    },
  ],
};

// 数据集详情
export const datasetDetailData = {
  msg: '操作成功',
  code: 200,
  data: {
    name: '生物活性分子材料数据集',
    identifier: 'admin_dataset_20250217105241',
    description: '生物活性分子材料数据集',
    is_public: false,
    data_type: '自然语言处理',
    data_tag: '机器翻译',
    version: 'v1',
    dataset_version_vos: [
      {
        url: '/home/resource/admin/datasets/1454953/admin_dataset_20250217105241/v1/dataset/BBBP.zip',
        file_name: 'BBBP.zip',
        file_size: '42.14 KB',
      },
    ],
    id: 1454953,
    create_by: '樊帅',
    version_desc: '生物活性分子材料数据集',
    usage:
      '<pre><code># 克隆数据集配置文件与存储参数到本地\ngit clone -b v1 https://gitlink.org.cn/fanshuai/admin_dataset_20250217105241.git\n# 远程拉取配置文件\ndvc pull\n</code></pre>',
    update_time: '2025-02-17 10:52:43',
    owner: 'fanshuai',
    dataset_source: 'add',
    relative_paths: 'admin/datasets/1454953/admin_dataset_20250217105241/v1/dataset',
  },
};

// 模型列表
export const modelListData = {
  msg: '操作成功',
  code: 200,
  data: {
    content: [
      {
        id: 1454208,
        name: '介电材料模型1',
        create_by: '陈志航',
        description: '介电材料模型1',
        time_ago: '2个月前',
        owner: 'chenzhihang',
        identifier: 'admin_model_20241224095928',
        is_public: false,
      },
      {
        id: 1454007,
        name: '手写体识别部署模型',
        create_by: '陈志航',
        description: '手写体识别部署模型',
        time_ago: '2个月前',
        owner: 'chenzhihang',
        identifier: 'admin_model_20241211151713',
        is_public: false,
      },
      {
        id: 1454006,
        name: '生物活性分子材料',
        create_by: '陈志航',
        description: '生物活性分子材料',
        time_ago: '2个月前',
        owner: 'chenzhihang',
        identifier: 'admin_model_20241211151645',
        is_public: false,
      },
      {
        id: 1454005,
        name: '介电材料模型',
        create_by: '陈志航',
        description: '介电材料模型',
        time_ago: '2个月前',
        owner: 'chenzhihang',
        identifier: 'admin_model_20241211151601',
        is_public: false,
      },
    ],
    pageable: {
      sort: {
        unsorted: true,
        sorted: false,
        empty: true,
      },
      pageSize: 2000,
      pageNumber: 0,
      offset: 0,
      unpaged: false,
      paged: true,
    },
    last: true,
    totalElements: 4,
    totalPages: 1,
    sort: {
      unsorted: true,
      sorted: false,
      empty: true,
    },
    first: true,
    number: 0,
    numberOfElements: 4,
    size: 2000,
    empty: false,
  },
};

// 模型版本列表
export const modelVersionData = {
  msg: '操作成功',
  code: 200,
  data: [
    {
      name: 'v1',
      http_url: 'https://cdn09022024.gitlink.org.cn/chenzhihang/admin_model_20241224095928.git',
      zip_url:
        'https://www.gitlink.org.cn/api/chenzhihang/admin_model_20241224095928/archive/v1.zip',
      tar_url:
        'https://www.gitlink.org.cn/api/chenzhihang/admin_model_20241224095928/archive/v1.tar.gz',
    },
    {
      name: 'v2',
      http_url: 'https://cdn09022024.gitlink.org.cn/chenzhihang/admin_model_20241224095928.git',
      zip_url:
        'https://www.gitlink.org.cn/api/chenzhihang/admin_model_20241224095928/archive/v1.zip',
      tar_url:
        'https://www.gitlink.org.cn/api/chenzhihang/admin_model_20241224095928/archive/v1.tar.gz',
    },
  ],
};

// 模型详情
export const modelDetailData = {
  msg: '操作成功',
  code: 200,
  data: {
    id: 1454208,
    name: '介电材料模型1',
    version: 'v1',
    version_desc: '介电材料模型1',
    create_by: '陈志航',
    create_time: '2024-12-24 09:59:31',
    update_time: '2024-12-24 09:59:31',
    model_size: '101.90 KB',
    model_source: 'add',
    model_tag: '图像分类',
    model_type: 'PyTorch',
    description: '介电材料模型1',
    usage:
      '<pre><code># 克隆模型配置文件与存储参数到本地\ngit clone -b v1 https://gitlink.org.cn/chenzhihang/admin_model_20241224095928.git\n# 远程拉取配置文件\ndvc pull\n</code></pre>',
    owner: 'chenzhihang',
    identifier: 'admin_model_20241224095928',
    is_public: false,
    relative_paths: 'admin/model/1454208/admin_model_20241224095928/v1/model',
    model_version_vos: [
      {
        url: '/home/resource/admin/model/1454208/admin_model_20241224095928/v1/model/sklearn_svr_good.pkl',
        file_name: 'sklearn_svr_good.pkl',
        file_size: '101.90 KB',
      },
    ],
  },
};

// 镜像列表
export const mirrorListData = {
  code: 200,
  msg: '操作成功',
  data: {
    content: [
      {
        id: 42,
        name: 'ccr.ccs.tencentyun.com/somunslotus/httpserver',
        description: 'htttp服务器镜像',
        image_type: 0,
        create_by: 'admin',
        create_time: '2024-04-30T14:44:37.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-30T14:44:37.000+08:00',
        state: 1,
        version_count: 1,
      },
      {
        id: 44,
        name: 'minio-test',
        description: 'minio镜像',
        image_type: 0,
        create_by: 'admin',
        create_time: '2024-05-08T15:19:00.000+08:00',
        update_by: 'admin',
        update_time: '2024-05-08T15:19:00.000+08:00',
        state: 1,
        version_count: 1,
      },
      {
        id: 46,
        name: 'machine-learning/mnist-model-deploy',
        description: 'mnist手写体识别部署镜像',
        image_type: 0,
        create_by: 'admin',
        create_time: '2024-05-28T10:18:30.000+08:00',
        update_by: 'admin',
        update_time: '2024-05-28T10:18:30.000+08:00',
        state: 1,
        version_count: 2,
      },
      {
        id: 49,
        name: 'go_httpsever',
        description: 'golang httpserver镜像',
        image_type: 0,
        create_by: 'admin',
        create_time: '2024-06-25T11:11:41.000+08:00',
        update_by: 'admin',
        update_time: '2024-06-25T11:11:41.000+08:00',
        state: 1,
        version_count: 1,
      },
      {
        id: 51,
        name: 'pytorch2_python3_cuda_12',
        description: 'pytorch2.1.2_python3.11_cuda_12',
        image_type: 0,
        create_by: 'admin',
        create_time: '2024-10-14T16:16:35.000+08:00',
        update_by: 'admin',
        update_time: '2024-10-14T16:16:35.000+08:00',
        state: 1,
        version_count: 2,
      },
      {
        id: 53,
        name: 'jupyterlab',
        description: 'v1',
        image_type: 0,
        create_by: 'admin',
        create_time: '2024-10-15T16:19:29.000+08:00',
        update_by: 'admin',
        update_time: '2024-10-15T16:19:29.000+08:00',
        state: 1,
        version_count: 1,
      },
      {
        id: 55,
        name: 'machine-learning/ax-pytorch',
        description: '自动机器学习Ax镜像，带pytorch',
        image_type: 0,
        create_by: 'admin',
        create_time: '2024-12-13T11:25:37.000+08:00',
        update_by: 'admin',
        update_time: '2024-12-13T11:25:37.000+08:00',
        state: 1,
        version_count: 1,
      },
    ],
    pageable: {
      sort: {
        unsorted: true,
        sorted: false,
        empty: true,
      },
      pageSize: 2000,
      pageNumber: 0,
      offset: 0,
      unpaged: false,
      paged: true,
    },
    last: true,
    totalElements: 7,
    totalPages: 1,
    sort: {
      unsorted: true,
      sorted: false,
      empty: true,
    },
    first: true,
    number: 0,
    numberOfElements: 7,
    size: 2000,
    empty: false,
  },
};

// 镜像版本列表
export const mirrorVerionData = {
  code: 200,
  msg: '操作成功',
  data: {
    content: [
      {
        id: 54,
        image_id: 42,
        version: null,
        url: '172.20.32.187/testlib/admin/ccr.ccs.tencentyun.com/somunslotus/httpserver:v1',
        tag_name: 'v1',
        file_size: '6.98 MB',
        status: 'available',
        create_by: 'admin',
        create_time: '2024-04-30T14:44:37.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-30T14:44:51.000+08:00',
        state: 1,
        host_ip: null,
      },
    ],
    pageable: {
      sort: {
        unsorted: true,
        sorted: false,
        empty: true,
      },
      pageSize: 2000,
      pageNumber: 0,
      offset: 0,
      unpaged: false,
      paged: true,
    },
    last: true,
    totalElements: 1,
    totalPages: 1,
    sort: {
      unsorted: true,
      sorted: false,
      empty: true,
    },
    first: true,
    number: 0,
    numberOfElements: 1,
    size: 2000,
    empty: false,
  },
};

// 代码配置列表
export const codeListData = {
  code: 200,
  msg: '操作成功',
  data: {
    content: [
      {
        id: 2,
        code_repo_name: '介电材料代码',
        is_public: true,
        git_url: 'https://gitlink.org.cn/fuli/ML_for_Materials.git',
        git_branch: 'master',
        verify_mode: null,
        git_user_name: null,
        git_password: null,
        ssh_key: null,
        create_by: 'admin',
        create_time: '2024-10-14T16:10:45.000+08:00',
        update_by: 'admin',
        update_time: '2024-10-14T16:10:45.000+08:00',
        state: 1,
      },
      {
        id: 3,
        code_repo_name: '生物活性材料代码',
        is_public: true,
        git_url: 'https://gitlink.org.cn/zhaoyihan/test_mole_pre.git',
        git_branch: 'parse_dataset',
        verify_mode: null,
        git_user_name: null,
        git_password: null,
        ssh_key: null,
        create_by: 'admin',
        create_time: '2024-10-16T08:41:39.000+08:00',
        update_by: 'admin',
        update_time: '2024-10-16T08:41:39.000+08:00',
        state: 1,
      },
      {
        id: 4,
        code_repo_name: '数据处理',
        is_public: true,
        git_url: 'https://openi.pcl.ac.cn/somunslotus/somun202304241505581.git',
        git_branch: 'train_ci_test',
        verify_mode: null,
        git_user_name: null,
        git_password: null,
        ssh_key: null,
        create_by: 'admin',
        create_time: '2024-10-16T14:51:18.000+08:00',
        update_by: 'admin',
        update_time: '2024-10-16T14:51:18.000+08:00',
        state: 1,
      },
      {
        id: 5,
        code_repo_name: '手写体识别部署',
        is_public: true,
        git_url: 'https://gitlink.org.cn/somunslotus/mnist-inference.git',
        git_branch: 'master',
        verify_mode: null,
        git_user_name: null,
        git_password: null,
        ssh_key: null,
        create_by: 'admin',
        create_time: '2024-10-16T16:36:43.000+08:00',
        update_by: 'admin',
        update_time: '2024-10-16T16:36:43.000+08:00',
        state: 1,
      },
      {
        id: 7,
        code_repo_name: '手写体识别训练',
        is_public: true,
        git_url: 'https://openi.pcl.ac.cn/somunslotus/somun202304241505581.git',
        git_branch: 'train_ci_test',
        verify_mode: null,
        git_user_name: null,
        git_password: null,
        ssh_key: null,
        create_by: 'admin',
        create_time: '2024-12-13T13:58:50.000+08:00',
        update_by: 'admin',
        update_time: '2024-12-13T13:58:50.000+08:00',
        state: 1,
      },
    ],
    pageable: {
      sort: {
        unsorted: true,
        sorted: false,
        empty: true,
      },
      pageSize: 20,
      pageNumber: 0,
      offset: 0,
      unpaged: false,
      paged: true,
    },
    last: true,
    totalElements: 5,
    totalPages: 1,
    sort: {
      unsorted: true,
      sorted: false,
      empty: true,
    },
    first: true,
    number: 0,
    numberOfElements: 5,
    size: 20,
    empty: false,
  },
};

// 服务列表
export const serviceListData = {
  code: 200,
  msg: '操作成功',
  data: {
    content: [
      {
        id: 25,
        service_name: '测试1224',
        service_type: 'video',
        service_type_name: '视频',
        description: '测试',
        create_by: 'admin',
        update_by: 'admin',
        create_time: '2024-12-24T16:01:02.000+08:00',
        update_time: '2024-12-24T16:01:02.000+08:00',
        state: 1,
        version_count: 2,
      },
      {
        id: 12,
        service_name: '介电材料',
        service_type: 'text',
        service_type_name: '文本',
        description: 'test',
        create_by: 'admin',
        update_by: 'admin',
        create_time: '2024-11-27T09:30:23.000+08:00',
        update_time: '2024-11-27T09:30:23.000+08:00',
        state: 1,
        version_count: 0,
      },
      {
        id: 7,
        service_name: '手写体识别',
        service_type: 'image',
        service_type_name: '图片',
        description: '手写体识别服务',
        create_by: 'admin',
        update_by: 'admin',
        create_time: '2024-10-10T10:14:00.000+08:00',
        update_time: '2024-10-10T10:14:00.000+08:00',
        state: 1,
        version_count: 5,
      },
    ],
    pageable: {
      sort: {
        unsorted: true,
        sorted: false,
        empty: true,
      },
      pageNumber: 0,
      pageSize: 10,
      offset: 0,
      paged: true,
      unpaged: false,
    },
    last: true,
    totalPages: 1,
    totalElements: 3,
    sort: {
      unsorted: true,
      sorted: false,
      empty: true,
    },
    first: true,
    number: 0,
    numberOfElements: 3,
    size: 10,
    empty: false,
  },
};

// 计算资源列表
export const computeResourceData = {
  code: 200,
  msg: '操作成功',
  data: {
    content: [
      {
        id: 15,
        computing_resource: 'GPU',
        standard:
          '{"name":"CPU-GPU","value":{"detail_type":"3060","gpu":0,"cpu":1,"memory":"2GB"}}',
        description: 'GPU: 0, CPU:1, 内存: 2GB',
        create_by: 'admin',
        create_time: '2024-04-19T00:00:00.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-19T00:00:00.000+08:00',
        state: 1,
        used_state: null,
        node: null,
      },
      {
        id: 16,
        computing_resource: 'GPU',
        standard:
          '{"name":"CPU-GPU","value":{"detail_type":"3060","gpu":0,"cpu":2,"memory":"4GB"}}',
        description: 'GPU: 0, CPU:2, 内存: 4GB',
        create_by: 'admin',
        create_time: '2024-04-19T00:00:00.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-19T00:00:00.000+08:00',
        state: 1,
        used_state: null,
        node: null,
      },
      {
        id: 17,
        computing_resource: 'GPU',
        standard:
          '{"name":"CPU-GPU","value":{"detail_type":"3060","gpu":0,"cpu":4,"memory":"8GB"}}',
        description: 'GPU: 0, CPU:4, 内存: 8GB',
        create_by: 'admin',
        create_time: '2024-04-19T00:00:00.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-19T00:00:00.000+08:00',
        state: 1,
        used_state: null,
        node: null,
      },
      {
        id: 18,
        computing_resource: 'GPU',
        standard:
          '{"name":"CPU-GPU","value":{"detail_type":"3060","gpu":1,"cpu":1,"memory":"2GB"}}',
        description: 'GPU: 1, CPU:1, 内存: 2GB',
        create_by: 'admin',
        create_time: '2024-04-19T00:00:00.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-19T00:00:00.000+08:00',
        state: 1,
        used_state: null,
        node: null,
      },
      {
        id: 19,
        computing_resource: 'GPU',
        standard:
          '{"name":"CPU-GPU","value":{"detail_type":"3060","gpu":1,"cpu":2,"memory":"4GB"}}',
        description: 'GPU: 1, CPU:2, 内存: 4GB',
        create_by: 'admin',
        create_time: '2024-04-19T00:00:00.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-19T00:00:00.000+08:00',
        state: 1,
        used_state: null,
        node: null,
      },
      {
        id: 20,
        computing_resource: 'GPU',
        standard:
          '{"name":"CPU-GPU","value":{"detail_type":"3060","gpu":1,"cpu":4,"memory":"8GB"}}',
        description: 'GPU: 1, CPU:4, 内存: 8GB',
        create_by: 'admin',
        create_time: '2024-04-19T00:00:00.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-19T00:00:00.000+08:00',
        state: 1,
        used_state: null,
        node: null,
      },
      {
        id: 21,
        computing_resource: 'GPU',
        standard:
          '{"name":"CPU-GPU","value":{"detail_type":"3060","gpu":2,"cpu":2,"memory":"4GB"}}',
        description: 'GPU: 2, CPU:2, 内存: 4GB',
        create_by: 'admin',
        create_time: '2024-04-19T00:00:00.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-19T00:00:00.000+08:00',
        state: 1,
        used_state: null,
        node: null,
      },
      {
        id: 22,
        computing_resource: 'GPU',
        standard:
          '{"name":"CPU-GPU","value":{"detail_type":"3060","gpu":2,"cpu":4,"memory":"8GB"}}',
        description: 'GPU: 2, CPU:4, 内存: 8GB',
        create_by: 'admin',
        create_time: '2024-04-19T00:00:00.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-19T00:00:00.000+08:00',
        state: 1,
        used_state: null,
        node: null,
      },
      {
        id: 23,
        computing_resource: 'GPU',
        standard:
          '{"name":"CPU-GPU","value":{"detail_type":"RTX 3080 Ti","gpu":1,"cpu":1,"memory":"2GB"}}',
        description: 'GPU: 1, CPU:1, 内存: 2GB, 显存: 12GB',
        create_by: 'admin',
        create_time: '2024-04-19T11:38:07.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-19T11:38:07.000+08:00',
        state: 1,
        used_state: null,
        node: null,
      },
      {
        id: 24,
        computing_resource: 'GPU',
        standard:
          '{"name":"CPU-GPU","value":{"detail_type":"RTX 3080","gpu":1,"cpu":2,"memory":"4GB"}}',
        description: 'GPU: 1, CPU:2, 内存: 4GB, 显存: 10GB',
        create_by: 'admin',
        create_time: '2024-04-19T11:39:40.000+08:00',
        update_by: 'admin',
        update_time: '2024-04-19T11:39:40.000+08:00',
        state: 1,
        used_state: null,
        node: null,
      },
    ],
    pageable: {
      sort: {
        unsorted: true,
        sorted: false,
        empty: true,
      },
      pageNumber: 0,
      pageSize: 1000,
      offset: 0,
      paged: true,
      unpaged: false,
    },
    last: true,
    totalPages: 1,
    totalElements: 10,
    sort: {
      unsorted: true,
      sorted: false,
      empty: true,
    },
    first: true,
    number: 0,
    numberOfElements: 10,
    size: 1000,
    empty: false,
  },
};

// 日志组
export const logGroupData = {
  code: 200,
  msg: '操作成功',
  data: {
    log_type: 'normal',
    log_detail: {
      pod_name: 'workflow-txpb5-git-clone-05955a53-2484323670',
      log_content:
        '[2025-03-06 14:02:23] time="2025-03-06T14:02:23.068Z" level=info msg="capturing logs" argo=true\n[2025-03-06 14:02:23] Cloning into \'/tmp/traincode\'...\n[2025-03-06 14:02:23] Cloning public repository without authentication.\n[2025-03-06 14:02:23] Repository cloned successfully.\n[2025-03-06 14:02:24] time="2025-03-06T14:02:24.069Z" level=info msg="sub-process exited" argo=true error="<nil>"\n',
      start_time: '1741240944069759628',
    },
    pods: ['workflow-txpb5-git-clone-05955a53-2484323670'],
  },
};

// 日志
export const logData = {
  code: 200,
  msg: '操作成功',
  data: {
    log_detail: {
      pod_name: 'workflow-txpb5-git-clone-05955a53-2484323670',
      log_content:
        '[2025-03-06 14:02:24] time="2025-03-06T06:02:24.315Z" level=info msg="Main container completed" error="<nil>"\n[2025-03-06 14:02:24] time="2025-03-06T06:02:24.315Z" level=info msg="No Script output reference in workflow. Capturing script output ignored"\n[2025-03-06 14:02:24] time="2025-03-06T06:02:24.315Z" level=info msg="No output parameters"\n[2025-03-06 14:02:24] time="2025-03-06T06:02:24.315Z" level=info msg="No output artifacts"\n[2025-03-06 14:02:24] time="2025-03-06T06:02:24.315Z" level=info msg="S3 Save path: /tmp/argo/outputs/logs/main.log, key: workflow-txpb5/workflow-txpb5-git-clone-05955a53-2484323670/main.log"\n[2025-03-06 14:02:24] time="2025-03-06T06:02:24.315Z" level=info msg="Creating minio client using static credentials" endpoint="minio.argo.svc.cluster.local:9000"\n[2025-03-06 14:02:24] time="2025-03-06T06:02:24.315Z" level=info msg="Saving file to s3" bucket=my-bucket endpoint="minio.argo.svc.cluster.local:9000" key=workflow-txpb5/workflow-txpb5-git-clone-05955a53-2484323670/main.log path=/tmp/argo/outputs/logs/main.log\n[2025-03-06 14:02:25] time="2025-03-06T06:02:25.407Z" level=info msg="Save artifact" artifactName=main-logs duration=1.092064185s error="<nil>" key=workflow-txpb5/workflow-txpb5-git-clone-05955a53-2484323670/main.log\n[2025-03-06 14:02:25] time="2025-03-06T06:02:25.407Z" level=info msg="not deleting local artifact" localArtPath=/tmp/argo/outputs/logs/main.log\n[2025-03-06 14:02:25] time="2025-03-06T06:02:25.407Z" level=info msg="Successfully saved file: /tmp/argo/outputs/logs/main.log"\n[2025-03-06 14:02:25] time="2025-03-06T06:02:25.408Z" level=warning msg="failed to patch task result, falling back to legacy/insecure pod patch, see https://argo-workflows.readthedocs.io/en/release-3.5/workflow-rbac/" error="workflowtaskresults.argoproj.io is forbidden: User \\"system:serviceaccount:argo:argo\\" cannot create resource \\"workflowtaskresults\\" in API group \\"argoproj.io\\" in the namespace \\"argo\\""\n[2025-03-06 14:02:25] time="2025-03-06T06:02:25.418Z" level=info msg="Alloc=8553 TotalAlloc=14914 Sys=24421 NumGC=4 Goroutines=10"\n[2025-03-06 14:02:25] time="2025-03-06T06:02:25.419Z" level=warning msg="failed to patch task result, falling back to legacy/insecure pod patch, see https://argo-workflows.readthedocs.io/en/release-3.5/workflow-rbac/" error="workflowtaskresults.argoproj.io \\"workflow-txpb5-2484323670\\" is forbidden: User \\"system:serviceaccount:argo:argo\\" cannot patch resource \\"workflowtaskresults\\" in API group \\"argoproj.io\\" in the namespace \\"argo\\""\n[2025-03-06 14:02:25] time="2025-03-06T06:02:25.427Z" level=info msg="Deadline monitor stopped"\n',
      start_time: '1741240945427542429',
    },
  },
};

export const logEmptyData = {
  code: 200,
  msg: '操作成功',
  data: {
    log_detail: {
      pod_name: 'workflow-txpb5-git-clone-05955a53-2484323670',
      log_content: '',
      start_time: '1741240945427542429',
    },
  },
};
