apache

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(sourceDir, apachePath, folderName, safeDomain string) error

Deploy 部署证书到 Apache 目录。

func DeployAndReloadWithContext

func DeployAndReloadWithContext(ctx context.Context, sourceDir, apachePath, folderName, safeDomain string) error

DeployAndReloadWithContext 将配置生成、校验和 reload 纳入同一发布事务。

func DeployWithContext

func DeployWithContext(ctx context.Context, sourceDir, apachePath, folderName, safeDomain string) error

DeployWithContext 部署证书并将调用方 context 传递给原子发布事务。

func GenerateApacheSSLConfig

func GenerateApacheSSLConfig(apachePath, folderName, safeDomain string) error

GenerateApacheSSLConfig 生成 Apache SSL 配置文件

func GetApacheCommand

func GetApacheCommand() string

GetApacheCommand 获取可用的 Apache 控制命令

func IsApacheAvailable

func IsApacheAvailable() bool

IsApacheAvailable 检查apache是否可用

func ReloadApache

func ReloadApache() error

ReloadApache 重新加载apache

func ReloadApacheWithContext

func ReloadApacheWithContext(parent context.Context) error

ReloadApacheWithContext 使用调用方上下文重新加载 Apache。

func TestApacheConfig

func TestApacheConfig() error

TestApacheConfig 测试apache配置

func TestApacheConfigWithContext

func TestApacheConfigWithContext(parent context.Context) error

TestApacheConfigWithContext 使用调用方上下文测试 Apache 配置。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL