agent/api/container/container.go
func (c *Container) SetRegistryAuthCredentials(credential credentials.IAMRoleCredentials) {
	c.lock.Lock()
	defer c.lock.Unlock()

	c.RegistryAuthentication.ECRAuthData.SetPullCredentials(credential)
}
func (c *Container) SetRegistryAuthCredentials(credential credentials.IAMRoleCredentials) {
	c.lock.Lock()
	defer c.lock.Unlock()

	c.RegistryAuthentication.ECRAuthData.SetPullCredentials(credential)
}
func ( c * Container ) SetRegistryAuthCredentials ( credential credentials . IAMRoleCredentials ) { c . lock . Lock ( ) defer c . lock . Unlock ( ) c . RegistryAuthentication . ECRAuthData . SetPullCredentials ( credential ) }
// SetRegistryAuthCredentials sets the credentials for pulling image from ECR
SetRegistryAuthCredentials sets the credentials for pulling image from ECR