Documentation
¶
Overview ¶
Package dehydrated provides functionality for working with the dehydrated ACME client. It includes configuration management, path resolution, and integration with the dehydrated script.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
pb.DehydratedConfig
}
Config represents the dehydrated configuration
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns a new Config with default values for production use. It sets up the configuration for Let's Encrypt v2 API with standard settings.
func NewConfig ¶
func NewConfig() *Config
NewConfig creates a new Config with default values. It initializes all fields with sensible defaults for the dehydrated ACME client.
func (*Config) DomainSpecificConfig ¶
func (*Config) Load ¶
Load loads the configuration from files. It reads the config file if specified, resolves all paths to absolute paths, and returns the config for method chaining.
func (*Config) ToProto ¶ added in v0.0.14
func (c *Config) ToProto() *pb.DehydratedConfig
func (*Config) WithBaseDir ¶
WithBaseDir sets the base directory for the config. This is the root directory where all other paths will be resolved relative to.
func (*Config) WithConfigFile ¶
WithConfigFile sets the path to the config file. This file will be used to load configuration settings for dehydrated.