Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSLDeployerProvider ¶
type SSLDeployerProvider struct {
// contains filtered or unexported fields
}
func NewSSLDeployerProvider ¶
func NewSSLDeployerProvider(config *SSLDeployerProviderConfig) (*SSLDeployerProvider, error)
func (*SSLDeployerProvider) Deploy ¶
func (d *SSLDeployerProvider) Deploy(ctx context.Context, certPEM string, privkeyPEM string) (*core.SSLDeployResult, error)
func (*SSLDeployerProvider) SetLogger ¶
func (d *SSLDeployerProvider) SetLogger(logger *slog.Logger)
type SSLDeployerProviderConfig ¶
type SSLDeployerProviderConfig struct {
// Proxmox VE 服务地址。
ServerUrl string `json:"serverUrl"`
// Proxmox VE API Token。
ApiToken string `json:"apiToken"`
// Proxmox VE API Token Secret。
ApiTokenSecret string `json:"apiTokenSecret,omitempty"`
// 是否允许不安全的连接。
AllowInsecureConnections bool `json:"allowInsecureConnections,omitempty"`
// 集群节点名称。
NodeName string `json:"nodeName"`
// 是否自动重启。
AutoRestart bool `json:"autoRestart"`
}
Click to show internal directories.
Click to hide internal directories.