Versions in this module Expand all Collapse all v1 v1.1.5 Oct 20, 2022retracted Changes in this version + const TailDiagsLogRelative + const TailReloadTimeOutMS + const TailRestartTimeOutMS + type ConfigFile struct + AuditComplete bool + AuditFailed bool + Body []byte + CfgBackup string + ChangeApplied bool + ChangeNeeded bool + Dir string + Gid int + Name string + Path string + Perm os.FileMode + PreReqFailed bool + RemapPluginConfig bool + Service string + TropsBackup string + Uid int + Warnings []string + type FileRestartData struct + Name string + type Package struct + Name string + Version string + type RestartData struct + NtpdRestart bool + RemapConfigReload bool + SysCtlReload bool + TeakdRestart bool + TrafficCtlReload bool + TrafficServerRestart bool + type ServerAndConfigs struct + ConfigData json.RawMessage + ConfigFiles json.RawMessage + type ShouldReloadRestart struct + ReloadRestart []FileRestartData + type TrafficOpsReq struct + Cfg config.Cfg + func NewTrafficOpsReq(cfg config.Cfg) *TrafficOpsReq + func (r *TrafficOpsReq) CheckReloadRestart(data []FileRestartData) RestartData + func (r *TrafficOpsReq) CheckRevalidateState(sleepOverride bool) (UpdateStatus, error) + func (r *TrafficOpsReq) CheckSyncDSState(metaData *t3cutil.ApplyMetaData) (UpdateStatus, error) + func (r *TrafficOpsReq) CheckSystemServices() error + func (r *TrafficOpsReq) DumpConfigFiles() + func (r *TrafficOpsReq) GetConfigFile(name string) (*ConfigFile, bool) + func (r *TrafficOpsReq) GetConfigFileList() error + func (r *TrafficOpsReq) IsPackageInstalled(name string) bool + func (r *TrafficOpsReq) PrintWarnings() + func (r *TrafficOpsReq) ProcessConfigFiles(metaData *t3cutil.ApplyMetaData) (UpdateStatus, error) + func (r *TrafficOpsReq) ProcessPackages() error + func (r *TrafficOpsReq) RevalidateWhileSleeping(metaData *t3cutil.ApplyMetaData) (UpdateStatus, error) + func (r *TrafficOpsReq) ShowUpdateStatus(flagType []string, start time.Time, curSetting, newSetting bool) + func (r *TrafficOpsReq) StartServices(syncdsUpdate *UpdateStatus, metaData *t3cutil.ApplyMetaData) error + func (r *TrafficOpsReq) UpdateTrafficOps(syncdsUpdate *UpdateStatus) error + type UpdateStatus int + const UpdateTropsFailed + const UpdateTropsNeeded + const UpdateTropsNotNeeded + const UpdateTropsSuccessful + func (u UpdateStatus) String() string Incompatible versions in this module v7.0.1+incompatible Aug 25, 2022 v7.0.1-rc0+incompatible Aug 17, 2022 v7.0.0+incompatible Aug 9, 2022 v7.0.0-rc2+incompatible Jul 21, 2022 v7.0.0-rc1+incompatible Jul 20, 2022 v7.0.0-rc0+incompatible Jul 19, 2022 v6.1.0+incompatible Feb 4, 2022 v6.0.2+incompatible Dec 22, 2021 v6.0.1+incompatible Nov 9, 2021 v6.0.0+incompatible Oct 21, 2021