Documentation ¶
Index ¶
- Constants
- func CheckKeyPair(keyPem []byte, certPem []byte, ds string) error
- func GetAllConfigs(toData *t3cutil.ConfigData, cfg config.Cfg) ([]t3cutil.ATSConfigFile, error)
- func GetConfigFile(toData *t3cutil.ConfigData, fileInfo atscfg.CfgMeta, hdrCommentTxt string, ...) (string, string, bool, string, []string, error)
- func GetSSLCertsAndKeyFiles(toData *t3cutil.ConfigData) ([]t3cutil.ATSConfigFile, error)
- func Make12MFacts(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeATSDotRules(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeAstatsDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeBGFetchDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeCacheDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeChkconfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeConfigFilesList(toData *t3cutil.ConfigData, dir string) ([]atscfg.CfgMeta, []string, error)
- func MakeDropQStringDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeHeaderRewrite(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeHostingDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeIPAllowDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeIPAllowDotYAML(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeLoggingDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeLoggingDotYAML(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeLogsXMLDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakePackages(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeParentDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakePluginDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeRecordsDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeRegexRemap(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeRegexRevalidateDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeRemapDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeSNIDotYAML(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeSSLMultiCertDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeSSLServerNameYAML(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeSetDSCP(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeStorageDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeStrategiesDotYAML(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeSysCtlDotConf(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeURISigningConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeURLSigConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeUnknownConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func MakeVolumeDotConfig(toData *t3cutil.ConfigData, fileName string, hdrCommentTxt string, ...) (atscfg.Cfg, error)
- func WriteConfigs(configs []t3cutil.ATSConfigFile, output io.Writer) error
- type ConfigFileFunc
- type ConfigFileLiteralFunc
- type ConfigFilePrefixSuffixFunc
Constants ¶
View Source
const HdrConfigFilePath = "Path"
View Source
const HdrLineComment = "Line-Comment"
Variables ¶
This section is empty.
Functions ¶
func GetAllConfigs ¶
func GetAllConfigs( toData *t3cutil.ConfigData, cfg config.Cfg, ) ([]t3cutil.ATSConfigFile, error)
GetAllConfigs gets all config files for cfg.CacheHostName.
func GetConfigFile ¶
func GetConfigFile(toData *t3cutil.ConfigData, fileInfo atscfg.CfgMeta, hdrCommentTxt string, thiscfg config.Cfg) (string, string, bool, string, []string, error)
GetConfigFile returns the text of the generated config file, the MIME Content Type of the config file, and any error.
func GetSSLCertsAndKeyFiles ¶
func GetSSLCertsAndKeyFiles(toData *t3cutil.ConfigData) ([]t3cutil.ATSConfigFile, error)
func Make12MFacts ¶
func MakeATSDotRules ¶
func MakeAstatsDotConfig ¶
func MakeBGFetchDotConfig ¶
func MakeCacheDotConfig ¶
func MakeChkconfig ¶
func MakeConfigFilesList ¶
func MakeConfigFilesList(toData *t3cutil.ConfigData, dir string) ([]atscfg.CfgMeta, []string, error)
MakeConfigFilesList returns the list of config files, any warnings, and any error.
func MakeHeaderRewrite ¶
func MakeHostingDotConfig ¶
func MakeIPAllowDotConfig ¶
func MakeIPAllowDotYAML ¶
func MakeLoggingDotConfig ¶
func MakeLoggingDotYAML ¶
func MakeLogsXMLDotConfig ¶
func MakePackages ¶
func MakeParentDotConfig ¶
func MakePluginDotConfig ¶
func MakeRecordsDotConfig ¶
func MakeRegexRemap ¶
func MakeRemapDotConfig ¶
func MakeSNIDotYAML ¶
func MakeSSLServerNameYAML ¶
func MakeSetDSCP ¶
func MakeStorageDotConfig ¶
func MakeStrategiesDotYAML ¶
func MakeSysCtlDotConf ¶
func MakeURISigningConfig ¶
func MakeURLSigConfig ¶
func MakeUnknownConfig ¶
func MakeVolumeDotConfig ¶
func WriteConfigs ¶
func WriteConfigs(configs []t3cutil.ATSConfigFile, output io.Writer) error
WriteConfigs writes the given configs as a RFC2046§5.1 MIME multipart/mixed message.
Types ¶
type ConfigFileFunc ¶
type ConfigFileLiteralFunc ¶
type ConfigFileLiteralFunc struct { Name string Func ConfigFileFunc }
type ConfigFilePrefixSuffixFunc ¶
type ConfigFilePrefixSuffixFunc struct { Prefix string Suffix string Func ConfigFileFunc }
Click to show internal directories.
Click to hide internal directories.