func (c *Config) AgentVersion() (version.Number, bool) {
	if v, ok := c.defined[AgentVersionKey].(string); ok {
		n, err := version.Parse(v)
		if err != nil {
			panic(err) // We should have checked it earlier.
		}
		return n, true
	}
	return version.Zero, false
}
// AgentVersion returns the proposed version number for the agent tools,
// and whether it has been set. Once an environment is bootstrapped, this
// must always be valid.
AgentVersion returns the proposed version number for the agent tools,
and whether it has been set. Once an environment is bootstrapped, this
must always be valid.
// AgentVersion returns the proposed version number for the agent tools // and whether it has been set . Once an environment is bootstrapped this // must always be valid .
func (c *Config) AgentVersion() (version.Number, bool) {
	if v, ok := c.defined[AgentVersionKey].(string); ok {
		n, err := version.Parse(v)
		if err != nil {
			panic(err) 
		}
		return n, true
	}
	return version.Zero, false
}
func ( c * Config ) AgentVersion ( ) ( version . Number , bool ) { if v , ok := c . defined [ AgentVersionKey ] . ( string ) ; ok { n , err := version . Parse ( v ) if err != nil { panic ( err ) } return n , true } return version . Zero , false }
AgentVersion returns the proposed version number for the agent tools,
and whether it has been set.
AgentVersion returns the proposed version number for the agent tools and whether it has been set .
// We should have checked it earlier.