 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
A library to check for available updates of Lacework projects.
Index ¶
Constants ¶
      View Source
      
  
const ( // GithubOrganization is the default Github organization where // Lacework stores their open source projects GithubOrganization = "lacework" // DisableEnv controls the overall check for updates behavior, when // this environment variable is set, we do not check for updates DisableEnv = "LW_UPDATES_DISABLE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct {
	Project             string               `json:"project"`
	CurrentVersion      string               `json:"current_version"`
	LatestVersion       string               `json:"latest_version"`
	LastCheckTime       time.Time            `json:"last_check_time"`
	Outdated            bool                 `json:"outdated"`
	ComponentsLastCheck map[string]time.Time `json:"components_last_check,omitempty"`
}
    Version is used to check project versions and store it into a cache file normally at the directory `~/.config/lacework`, to execute regular version checks
func (*Version) CheckComponentBefore ¶
StoreCache stores version information into the provided path
func (*Version) StoreCache ¶
StoreCache stores version information into the provided path
 Click to show internal directories. 
   Click to hide internal directories.