 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentVersionWarningType ¶
type AgentVersionWarningType string
const ( AgentVersionNoWarning AgentVersionWarningType = "NO_WARNING" AgentVersionWarningUnknown AgentVersionWarningType = "UNKNOWN" AgentVersionOutdated AgentVersionWarningType = "OUTDATED" AgentVersionTooNew AgentVersionWarningType = "TOO_NEW" )
func WarningIfOutdatedAgent ¶
func WarningIfOutdatedAgent(serverVersion, agentVersion Version, gitlabReleasesList []string) (AgentVersionWarningType, string)
type Version ¶
type Version struct {
	Raw   string
	Major uint64
	Minor uint64
	Patch uint64
	IsPre bool
	// Helpers
	MajorMinor string
}
    Version represents a semantic version It's implemented according to https://semver.org Limitations: it currently does not expose the pre-release and build metadata extension data.
func NewVersion ¶
 Click to show internal directories. 
   Click to hide internal directories.