Documentation
¶
Index ¶
- func DeployLocal(sourceDir, rustFSBasePath, safeDomain string) error
- func DeployLocalWithContext(ctx context.Context, sourceDir, rustFSBasePath, safeDomain string) error
- func DeployRemote(ctx context.Context, sourceDir, safeDomain string, rustFS *config.RustFSConfig, ...) error
- func TestRustFSConnection() error
- func TestRustFSConnectionWithContext(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployLocal ¶
DeployLocal 部署证书到本机 RustFS 目录。
func DeployLocalWithContext ¶
func DeployLocalWithContext(ctx context.Context, sourceDir, rustFSBasePath, safeDomain string) error
DeployLocalWithContext 部署证书到本机 RustFS 目录,并响应取消。
func DeployRemote ¶
func DeployRemote(ctx context.Context, sourceDir, safeDomain string, rustFS *config.RustFSConfig, knownHostsFile string) error
DeployRemote 通过 SSH 将 RustFS 证书原子发布到远程目录。
func TestRustFSConnection ¶
func TestRustFSConnection() error
TestRustFSConnection 根据配置验证 RustFS 本机目录或 SSH 远程写入能力。
func TestRustFSConnectionWithContext ¶
TestRustFSConnectionWithContext 使用调用方 context 验证 RustFS 目录或 SSH 连接。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.