全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

登錄


全部 新建 登錄

All gists matching topic tencent

倒序排序 創建
順序排序 創建
倒序排序 更新
順序排序 更新
LiuShen's Avatar

LiuShen / Action实现刷新EO缓存

0 喜歡
0 分支
2 檔案
最後活躍 1752049019
通过Python,在Github Action中实现EO站点缓存刷新
action auto cache edgeone eo github python tencent
1 import os
2 import json
3 from tencentcloud.common import credential
4 from tencentcloud.teo.v20220901 import teo_client, models
5 from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
6
7 try:
8 cred = credential.Credential(
9 os.getenv("TENCENTCLOUD_SECRET_ID"),
10 os.getenv("TENCENTCLOUD_SECRET_KEY")
上一頁 下一頁

由 Opengist 提供支持 ⋅ Load: 20ms⋅

繁體中文
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ 个人主页 ⋅ 站长博客